An Open Architecture for Reconfigurable Tracking based on XML | Contact

ot::CORBASource Class Reference

#include <CORBASource.h>

Inheritance diagram for ot::CORBASource:

Inheritance graph
Collaboration diagram for ot::CORBASource:

Collaboration graph
List of all members.

Public Member Functions

virtual ~CORBASource ()
int isEventGenerator ()
void push ()
void setEvent (const OT_CORBA::Event &new_event)
void lock ()
void unlock ()
bool isModified ()

Public Attributes

Event event

Protected Member Functions

 CORBASource ()

Private Attributes

ACE_Thread_Mutex * mu
bool modified


class CORBAModule

Detailed Description

Definition at line 80 of file CORBASource.h.

Constructor & Destructor Documentation

ot::CORBASource::CORBASource (  )  [inline, protected]

simple constructor, sets members to initial values

Definition at line 91 of file CORBASource.h.

virtual ot::CORBASource::~CORBASource (  )  [inline, virtual]

Definition at line 97 of file CORBASource.h.

Member Function Documentation

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

tests for EventGenerator interface being present.

Is overriden to return 1 always.

always 1

Reimplemented from ot::Node.

Definition at line 104 of file CORBASource.h.

bool ot::CORBASource::isModified (  )  [inline]

Definition at line 126 of file CORBASource.h.

void ot::CORBASource::lock (  )  [inline]

Definition at line 124 of file CORBASource.h.

Referenced by push(), and setEvent().

void ot::CORBASource::push (  ) 

pushes event down the line.

Needed to access protected updateObservers method in EventGenerator. Note that the implementation of this method is in the file CORBAModule.cxx !

Definition at line 246 of file CORBAModule.cxx.

References event, lock(), modified, unlock(), and ot::Node::updateObservers().

void ot::CORBASource::setEvent ( const OT_CORBA::Event &  new_event  ) 

Definition at line 256 of file CORBAModule.cxx.

References ot::CORBAUtils::convertFromCORBAEvent(), event, lock(), modified, and unlock().

void ot::CORBASource::unlock (  )  [inline]

Definition at line 125 of file CORBASource.h.

Referenced by push(), and setEvent().

Friends And Related Function Documentation

friend class CORBAModule [friend]

Definition at line 117 of file CORBASource.h.

Member Data Documentation

the original event

Definition at line 85 of file CORBASource.h.

Referenced by push(), and setEvent().

bool ot::CORBASource::modified [private]

Definition at line 121 of file CORBASource.h.

Referenced by push(), and setEvent().

ACE_Thread_Mutex* ot::CORBASource::mu [private]

Definition at line 120 of file CORBASource.h.

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

copyright (c) 2006 Graz University of Technology