ot::CORBASink Class Reference
#include <CORBASink.h>
Inheritance diagram for ot::CORBASink:


Public Member Functions | |
| virtual int | isEventGenerator () |
| virtual void | onEventGenerated (Event &event, Node &generator) |
Public Attributes | |
| OT_CORBA::Node_var | corba_sink |
| int | frequency |
| int | cycle |
Protected Member Functions | |
| CORBASink (OT_CORBA::Node_var corba_sink_, int frequency_) | |
Friends | |
| class | CORBAModule |
Detailed Description
Definition at line 67 of file CORBASink.h.
Constructor & Destructor Documentation
| ot::CORBASink::CORBASink | ( | OT_CORBA::Node_var | corba_sink_, | |
| int | frequency_ | |||
| ) | [inline, protected] |
constructor method,sets commend member
- Parameters:
-
file_ the File object to write to station_ the station number to use
Definition at line 85 of file CORBASink.h.
Member Function Documentation
| virtual int ot::CORBASink::isEventGenerator | ( | ) | [inline, virtual] |
tests for EventGenerator interface being present.
Is overriden to return 1 always.
- Returns:
- always 1
Reimplemented from ot::Node.
Definition at line 96 of file CORBASink.h.
this method notifies the object that a new event was generated.
It writes the event value out to the file and passes it on to its parent.
- Parameters:
-
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.
Definition at line 111 of file CORBASink.h.
References ot::CORBAUtils::convertToCORBAEvent().
Friends And Related Function Documentation
friend class CORBAModule [friend] |
Definition at line 130 of file CORBASink.h.
Member Data Documentation
| OT_CORBA::Node_var ot::CORBASink::corba_sink |
Definition at line 77 of file CORBASink.h.
The documentation for this class was generated from the following file: