ot::PhantomMiddlewareSource Class Reference

#include <PhantomMiddlewareSource.h>

Inheritance diagram for ot::PhantomMiddlewareSource:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

void lock ()
void unlock ()
bool isModified ()
void setEvent (float x, float y, float z, float theta, int t1, int t2, short event_id, char *event_source)
void setEvent (float x, float y, float z, float alpha, int t1, int t2, short event_id)
int getEventId ()
void push ()
virtual int isEventGenerator ()

Public Attributes

Event event
int pid
short eid
std::string source

Protected Member Functions

 PhantomMiddlewareSource (const char *multicast_group, int pid_, short eid_, const std::string &source_)
 PhantomMiddlewareSource (const char *multicast_group, int pid_, short eid_)
virtual ~PhantomMiddlewareSource ()

Friends

class PhantomMiddlewareModule
class PhantomListener

Constructor & Destructor Documentation

ot::PhantomMiddlewareSource::PhantomMiddlewareSource const char *  multicast_group,
int  pid_,
short  eid_,
const std::string &  source_
[inline, protected]
 

constructor method,sets commend member

Parameters:
multicast_group_ the multicast group on which the node should broadcast events

ot::PhantomMiddlewareSource::PhantomMiddlewareSource const char *  multicast_group,
int  pid_,
short  eid_
[inline, protected]
 

virtual ot::PhantomMiddlewareSource::~PhantomMiddlewareSource  )  [inline, protected, virtual]
 


Member Function Documentation

int ot::PhantomMiddlewareSource::getEventId  )  [inline]
 

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

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

Returns:
always 1

Reimplemented from ot::Node.

bool ot::PhantomMiddlewareSource::isModified  )  [inline]
 

void ot::PhantomMiddlewareSource::lock  )  [inline]
 

void ot::PhantomMiddlewareSource::push void   )  [inline]
 

void ot::PhantomMiddlewareSource::setEvent float  x,
float  y,
float  z,
float  alpha,
int  t1,
int  t2,
short  event_id
[inline]
 

void ot::PhantomMiddlewareSource::setEvent float  x,
float  y,
float  z,
float  theta,
int  t1,
int  t2,
short  event_id,
char *  event_source
[inline]
 

void ot::PhantomMiddlewareSource::unlock  )  [inline]
 


Friends And Related Function Documentation

friend class PhantomListener [friend]
 

friend class PhantomMiddlewareModule [friend]
 


Member Data Documentation

short ot::PhantomMiddlewareSource::eid
 

Event ot::PhantomMiddlewareSource::event
 

Phantom Node (sink) object associated with this node. the original event

int ot::PhantomMiddlewareSource::pid
 

std::string ot::PhantomMiddlewareSource::source
 


The documentation for this class was generated from the following file:
Generated on Wed Feb 28 15:33:41 2007 for NaviTrack by  doxygen 1.4.6