Changeset 7372 for code/branches/doc/src/libraries/core/Event.h
- Timestamp:
- Sep 7, 2010, 12:58:52 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/doc/src/libraries/core/Event.h
r7363 r7372 35 35 @file 36 36 @ingroup Event 37 @brief Declaration of the classes Event and EventState. 37 38 */ 38 39 … … 64 65 An event state is a state of an object, which can be changed by events. 65 66 Event states are changed through functions. Possible functions headers for set event states are: 66 - memoryless state: function()67 - boolean state: function(bool state)68 - 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> 69 70 70 71 Note that SomeClass may be any class deriving from BaseObject. You will not receive events from originators of other classes. 71 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. 72 73 73 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.