Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
XYZEvent.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/conformation/signals/XYZEvent.hh
17 /// @brief signal for a change in XYZ coordinates in a Conformation
18 /// @author Yih-En Andrew Ban (yab@u.washington.edu)
19 
20 #ifndef INCLUDED_core_conformation_signals_XYZEvent_hh
21 #define INCLUDED_core_conformation_signals_XYZEvent_hh
22 
23 
24 // unit headers
26 
27 // package headers
30 
31 
32 namespace core {
33 namespace conformation {
34 namespace signals {
35 
36 
37 /// @brief signals a change in XYZ coordinates in a Conformation
38 /// @remarks This signal should be sent when XYZs and DOFs change in
39 /// the atom tree inside the Conformation. Treat the atom tree as
40 /// the primary subject, as the residues container is designed to
41 /// be update as necessary and will lag behind.
42 struct XYZEvent : public GeneralEvent {
43 
44 
45  // typedefs
47 
48 
49  /// @brief default constructor
50  inline
52  Super()
53  {}
54 
55 
56  /// @brief constructor
57  inline
58  XYZEvent( Conformation const * conf ) :
59  Super( conf )
60  {}
61 
62 
63  /// @brief copy constructor
64  inline
65  XYZEvent( XYZEvent const & rval ) :
66  Super( rval )
67  {}
68 
69 
70  /// @brief copy assignment
71  inline
72  XYZEvent &
73  operator =( XYZEvent const & rval ) {
74  if ( this != &rval ) {
75  Super::operator =( rval );
76  }
77  return *this;
78  }
79 
80 
81  /// @brief default destructor
82  inline
83  virtual
84  ~XYZEvent() {}
85 
86 
87 };
88 
89 
90 } // namespace signals
91 } // namespace conformation
92 } // namespace core
93 
94 
95 #endif /* INCLUDED_core_conformation_signals_XYZEvent_HH */