An Open Architecture for Reconfigurable Tracking based on XML | Contact

ot::ConsoleSink Class Reference

#include <ConsoleSink.h>

Inheritance diagram for ot::ConsoleSink:

Inheritance graph
Collaboration diagram for ot::ConsoleSink:

Collaboration graph
List of all members.

Public Member Functions

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

Public Attributes

std::string comment
Event event
int changed
int active

Protected Member Functions

 ConsoleSink (const std::string &comment_, int active_=0)


class ConsoleModule

Detailed Description

Definition at line 78 of file ConsoleSink.h.

Constructor & Destructor Documentation

ot::ConsoleSink::ConsoleSink ( const std::string &  comment_,
int  active_ = 0 
) [inline, protected]

constructor method,sets commend member

comment_ the comment line to use

Definition at line 95 of file ConsoleSink.h.

Member Function Documentation

virtual int ot::ConsoleSink::isEventGenerator (  )  [inline, virtual]

tests for EventGenerator interface being present.

Is overriden to return 1 always.

always 1

Reimplemented from ot::Node.

Definition at line 108 of file ConsoleSink.h.

virtual void ot::ConsoleSink::onEventGenerated ( Event e,
Node generator 
) [inline, virtual]

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.

Definition at line 122 of file ConsoleSink.h.

Friends And Related Function Documentation

friend class ConsoleModule [friend]

Definition at line 132 of file ConsoleSink.h.

Member Data Documentation

flag whether it is displayed or not

Definition at line 89 of file ConsoleSink.h.

flag whether event was changed since last display

Definition at line 87 of file ConsoleSink.h.

comment line

Definition at line 83 of file ConsoleSink.h.

the event that is stored

Definition at line 85 of file ConsoleSink.h.

The documentation for this class was generated from the following file:

copyright (c) 2006 Graz University of Technology