ot::RDSSink Class Reference
[Common Classes]

#include <RDSSink.h>

Inheritance diagram for ot::RDSSink:

Inheritance graph
[legend]
Collaboration diagram for ot::RDSSink:

Collaboration graph
[legend]
List of all members.

Detailed Description

This class implements a simple EventGenerator that writes any incoming events to the associated file.
Author:
Gerhard Reitmayr


Public Member Functions

virtual int isEventGenerator ()
virtual void onEventGenerated (Event &event, Node &generator)

Public Attributes

int number
bool center

Protected Member Functions

 RDSSink ()

Friends

class RDSModule


Constructor & Destructor Documentation

ot::RDSSink::RDSSink  )  [inline, protected]
 

constructor method,sets commend member

Parameters:
file_ the File object to write to
station_ the station number to use


Member Function Documentation

virtual int ot::RDSSink::isEventGenerator  )  [inline, virtual]
 

tests for EventGenerator interface being present. Is overriden to return 1 always.

Returns:
always 1

Reimplemented from ot::Node.

void ot::RDSSink::onEventGenerated Event event,
Node generator
[virtual]
 

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.


Friends And Related Function Documentation

friend class RDSModule [friend]
 


Member Data Documentation

bool ot::RDSSink::center
 

int ot::RDSSink::number
 

Output File object associated with this node. station number


The documentation for this class was generated from the following files:
Generated on Wed Feb 28 15:32:53 2007 for NaviTrack by  doxygen 1.4.6