Rosetta 3.5
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
src
core
pose
signals
EnergyEvent.hh
Go to the documentation of this file.
1
// -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
2
// vi: set ts=2 noet:
3
//
4
// (c) Copyright Rosetta Commons Member Institutions.
5
// (c) This file is part of the Rosetta software suite and is made available under license.
6
// (c) The Rosetta software is developed by the contributing members of the Rosetta Commons.
7
// (c) For more information, see http://www.rosettacommons.org. Questions about this can be
8
// (c) addressed to University of Washington UW TechTransfer, email: license@u.washington.edu.
9
// (C) 199x-2009 University of Washington
10
// (C) 199x-2009 University of California Santa Cruz
11
// (C) 199x-2009 University of California San Francisco
12
// (C) 199x-2009 Johns Hopkins University
13
// (C) 199x-2009 University of North Carolina, Chapel Hill
14
// (C) 199x-2009 Vanderbilt University
15
16
/// @file core/pose/signals/EnergyEvent.hh
17
/// @brief signal for an energy change in a Pose
18
/// @author Yih-En Andrew Ban (yab@u.washington.edu)
19
20
#ifndef INCLUDED_core_pose_signals_EnergyEvent_hh
21
#define INCLUDED_core_pose_signals_EnergyEvent_hh
22
23
24
// unit headers
25
#include <
core/pose/signals/EnergyEvent.fwd.hh
>
26
27
// package headers
28
#include <
core/pose/signals/GeneralEvent.hh
>
29
#include <
core/pose/Pose.fwd.hh
>
30
31
#include <utility/vector1.hh>
32
33
34
35
namespace
core {
36
namespace
pose {
37
namespace
signals {
38
39
40
/// @brief signals an energy change in a Pose
41
struct
EnergyEvent
:
public
GeneralEvent
{
42
43
44
// typedefs
45
typedef
GeneralEvent
Super
;
46
47
48
/// @brief default constructor
49
inline
50
EnergyEvent
() :
51
Super
()
52
{}
53
54
55
/// @brief constructor
56
inline
57
EnergyEvent
(
Pose
const
*
pose
) :
58
Super
( pose )
59
{}
60
61
62
/// @brief copy constructor
63
inline
64
EnergyEvent
(
EnergyEvent
const
& rval ) :
65
Super
( rval )
66
{}
67
68
69
/// @brief default destructor
70
inline
71
virtual
72
~EnergyEvent
() {}
73
74
75
/// @brief copy assignment
76
inline
77
EnergyEvent
&
78
operator =
(
EnergyEvent
const
& rval ) {
79
if
(
this
!= &rval ) {
80
Super::operator =
( rval );
81
}
82
return
*
this
;
83
}
84
85
86
};
87
88
89
}
// namespace signals
90
}
// namespace pose
91
}
// namespace core
92
93
94
#endif
/* INCLUDED_core_pose_signals_GeneralEvent_HH */
Generated on Sat Jun 1 2013 11:34:50 for Rosetta 3.5 by
1.8.4