Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 31, 2010, 11:31:37 PM (14 years ago)
Author:
dafrick
Message:

Improving documentation for MultiTriggers, also some small bugfixes, simplifications and added features.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/libraries/core/EventIncludes.h

    r7284 r7301  
    5353    XMLPortEventStateIntern(xmlportevent##function, classname, statename, xmlelement, mode)
    5454
     55/**
     56    @brief Like XMLPortEventState but creates an event sink instead of an event state.
     57           The most important destinction between an EventState and an EventSink is, that an EventState only processes events which change the state of the EventState, where as an EventSink is an EventState that processes any Event that reaches it.
     58*/
     59
    5560#define XMLPortEventSink(classname, subclassname, statename, function, xmlelement, mode) \
    5661    orxonox::EventState* containername##function = this->getEventState(statename); \
     
    6267    XMLPortEventStateIntern(xmlportevent##function, classname, statename, xmlelement, mode)
    6368
    64 /**
    65     @brief Like XMLPortEventState but creates an event sink instead of an event state.
    66            The most important destinction between an EventState and an EventSink is, that an EventState only processes event which change the state of the EventState, where as an EventSink is an EventState that processes any Event that reaches it.
    67 */
     69
    6870#define XMLPortEventStateTemplate(classname, subclassname, statename, function, xmlelement, mode, ...) \
    6971    orxonox::EventState* containername##function = this->getEventState(statename); \
Note: See TracChangeset for help on using the changeset viewer.