Archon::X3D::EventSource Struct Reference

Collaboration diagram for Archon::X3D::EventSource:

Collaboration graph
[legend]
List of all members.

Public Member Functions

bool addRoute (const RouteTail *)
 Add a route unless it is redundant.
void delRoute (const RouteTail *)
 Remove the specified route if it is found.
bool delRouteMatch (const RouteTail *)
 Remove the route that matches the specified route if such a route is found.
void cascadeEvent (const Event *) const
 Must be called with a write lock on the scenegraph.
void clear ()

Detailed Description

Definition at line 35 of file event_source.H.


Member Function Documentation

bool Archon::X3D::EventSource::addRoute const RouteTail  ) 
 

Add a route unless it is redundant.

Returns:
true if and only if the route was inserted.
Note:
self reference is not checked for

Definition at line 29 of file event_source.C.

Referenced by Archon::X3D::CustomFieldBase::addRoute().

bool Archon::X3D::EventSource::delRouteMatch const RouteTail  ) 
 

Remove the route that matches the specified route if such a route is found.

Returns:
true if and only if a matching route was found.
Note:
The argument will normally be a proforma route created with the sole intent of being compared against the real routes. This is a trick to allow polymorphism among the specified argument routes.

Definition at line 48 of file event_source.C.

Referenced by Archon::X3D::CustomFieldBase::delRouteMatch().


The documentation for this struct was generated from the following files:
Generated on Sun Jul 30 22:59:03 2006 for Archon by  doxygen 1.4.4