Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 7, 2010, 12:58:52 AM (14 years ago)
Author:
landauf
Message:

enhanced documentation of some core classes and added examples

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/doc/src/libraries/core/Event.h

    r7363 r7372  
    3535    @file
    3636    @ingroup Event
     37    @brief Declaration of the classes Event and EventState.
    3738*/
    3839
     
    6465        An event state is a state of an object, which can be changed by events.
    6566        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>
    6970
    7071        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.
    7273
    7374        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.