Changeset 7401 for code/trunk/src/libraries/core/Event.h
- Timestamp:
- Sep 11, 2010, 12:34:00 AM (14 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
/code/branches/doc (added) merged: 7290-7292,7296-7300,7302-7304,7306-7312,7315-7318,7323,7325,7327,7331-7332,7334-7335,7345-7347,7352-7353,7356-7357,7361,7363-7367,7371-7375,7388
- Property svn:mergeinfo changed
-
code/trunk/src/libraries/core/Event.h
r7284 r7401 27 27 */ 28 28 29 /** 30 @defgroup Event Events 31 @ingroup Core 32 */ 33 34 /** 35 @file 36 @ingroup Event 37 @brief Declaration of the classes Event and EventState. 38 */ 39 29 40 #ifndef _Event_H__ 30 41 #define _Event_H__ … … 54 65 An event state is a state of an object, which can be changed by events. 55 66 Event states are changed through functions. Possible functions headers for set event states are: 56 - memoryless state: function()57 - boolean state: function(bool state)58 - individual state: function(bool state, SomeClass originator)67 - memoryless state: <tt>function()</tt> 68 - boolean state: <tt>function(bool state)</tt> 69 - individual state: <tt>function(bool state, SomeClass originator)</tt> 59 70 60 71 Note that SomeClass may be any class deriving from BaseObject. You will not receive events from originators of other classes. 61 The actual class for SomeClass must be specified as the second argument of the XMLPortEventState macro.72 The actual class for SomeClass must be specified as the second argument of the XMLPortEventState() macro. 62 73 63 74 The this pointer of the affected object is hidden in the functors, because the events are processed in the BaseObject, but some
Note: See TracChangeset
for help on using the changeset viewer.