ot::GroupGateNode Class Reference
[Common Classes]

#include <GroupGateNode.h>

Inheritance diagram for ot::GroupGateNode:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

A GroupGateNode is an EventGenerator node that ... TO DO
Author:
Michael Knapp


Public Member Functions

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

Protected Member Functions

 GroupGateNode (const char *name, GroupGateGroup *owner)
 ~GroupGateNode ()
void setNumber (int num)
int getNumber ()
void addNeighbor (const char *neighbor)
bool isActive ()
void activate ()
void deactivate ()
const char * getGroupGateName ()

Friends

class GroupGateModule
class GroupGateGroup


Constructor & Destructor Documentation

ot::GroupGateNode::GroupGateNode const char *  name,
GroupGateGroup owner
[protected]
 

constructor method. It sets initial values for the timeout.

ot::GroupGateNode::~GroupGateNode  )  [protected]
 


Member Function Documentation

void ot::GroupGateNode::activate  )  [protected]
 

void ot::GroupGateNode::addNeighbor const char *  neighbor  )  [protected]
 

void ot::GroupGateNode::deactivate  )  [protected]
 

const char * ot::GroupGateNode::getGroupGateName  )  [protected]
 

int ot::GroupGateNode::getNumber  )  [protected]
 

bool ot::GroupGateNode::isActive  )  [protected]
 

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

tests for EventGenerator interface being implemented. This has to be overriden in classes that subclass EventGenerator. Due to inheritance raints it cannot be done automatically.

Returns:
a pointer to the EventGenerator interface, or NULL if it is not implemented

Reimplemented from ot::Node.

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

this method notifies the object that a new event was generated. It is called by an EventGenerator.

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.

void ot::GroupGateNode::setNumber int  num  )  [protected]
 


Friends And Related Function Documentation

friend class GroupGateGroup [friend]
 

friend class GroupGateModule [friend]
 


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