ot::NetworkSink Class ReferenceThis class implements a simple node that stores a copy of the last event it received and passed on for output to the console.
Inheritance diagram for ot::NetworkSink:
Public Member Functions
|virtual int||isEventGenerator ()|
|virtual void||onEventGenerated (Event &e, Node &generator)|
Protected Member Functions
|NetworkSink (std::string &name_, short int number_, NetworkSender *networkSender_)|
Detailed DescriptionThis class implements a simple node that stores a copy of the last event it received and passed on for output to the console.
The associated NetworkSinkModule checks for changes and generates a new network package if necessary.
- Gerhard Reitmayr
Constructor & Destructor Documentation
Member Function Documentation
|virtual int ot::NetworkSink::isEventGenerator||(||)||
this method notifies the object that a new event was generated.
It stores a copy of the received event and passes the event on to its observers.
event reference to the new event. Do not change the event values, make a copy and change that ! generator reference to the EventGenerator object that notified the EventObserver.
Reimplemented from ot::Node.
Friends And Related Function Documentation
Member Data Documentation
|short int ot::NetworkSink::stationNumber|
The documentation for this class was generated from the following file: