Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GeneralEvent.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/GeneralEvent.hh
17 /// @brief signal for a general change in a Conformation
18 /// @author Yih-En Andrew Ban (yab@u.washington.edu)
19 
20 #ifndef INCLUDED_core_conformation_signals_GeneralEvent_hh
21 #define INCLUDED_core_conformation_signals_GeneralEvent_hh
22 
23 
24 // unit headers
26 
27 // package headers
29 
30 
31 namespace core {
32 namespace conformation {
33 namespace signals {
34 
35 
36 /// @brief signals a general change in a Conformation
37 struct GeneralEvent {
38 
39 
40  // Try to keep this class tag-less. For specific types of events
41  // derive from this class.
42 
43 
44  // typedefs
46 
47 
48  /// @brief default constructor
49  inline
51  conformation( NULL )
52  {}
53 
54 
55  /// @brief constructor
56  inline
57  GeneralEvent( Conformation const * conf ) :
58  conformation( conf )
59  {}
60 
61 
62  /// @brief copy constructor
63  inline
64  GeneralEvent( GeneralEvent const & rval ) :
66  {}
67 
68 
69  /// @brief default destructor
70  inline
71  virtual
73 
74 
75  /// @brief copy assignment
76  inline
77  GeneralEvent &
78  operator =( GeneralEvent const & rval ) {
79  if ( this != &rval ) {
81  }
82  return *this;
83  }
84 
85 
86  /// @brief the Conformation firing the signal
88 
89 
90 };
91 
92 
93 } // namespace signals
94 } // namespace conformation
95 } // namespace core
96 
97 
98 #endif /* INCLUDED_core_conformation_signals_GeneralEvent_HH */