Main Page | Modules | Namespace List | Class Hierarchy | Class List | Namespace Members | Class Members | Related Pages

openvrml::node::route Class Reference

A route from one node to another through which events propagate. More...

Collaboration diagram for openvrml::node::route:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 route (const std::string &from_eventout, const node_ptr &to_node, const std::string &to_eventin)
 Constructor.

 route (const route &route)
 Copy constructor.


Public Attributes

const std::string from_eventout
 The name of the eventOut the route is coming from.

const node_ptr to_node
 The node the route is going to.

const std::string to_eventin
 The name of the eventIn on to_node that the route is going to.


Related Functions

(Note that these are not member functions.)

bool operator== (const node::route &lhs, const node::route &rhs)
 Compare two routes for equality.

bool operator!= (const node::route &lhs, const node::route &rhs)
 Compare two routes for inequality.


Detailed Description

A route from one node to another through which events propagate.


Constructor & Destructor Documentation

openvrml::node::route::route const std::string &  from_eventout,
const node_ptr to_node,
const std::string &  to_eventin
 

Constructor.

Parameters:
from_eventout the name of the eventOut the route is coming from.
to_node the node the route is going to.
to_eventin the name of an eventIn on toNode that the route is going to.

openvrml::node::route::route const route route  ) 
 

Copy constructor.

Parameters:
route the route to copy.

Friends And Related Function Documentation

bool operator!= const node::route lhs,
const node::route rhs
[related]
 

Compare two routes for inequality.

Parameters:
lhs a route.
rhs a route.
Returns:
true if the routes are not identical, false otherwise.

bool operator== const node::route lhs,
const node::route rhs
[related]
 

Compare two routes for equality.

Parameters:
lhs a route.
rhs a route.
Returns:
true if the routes are identical, false otherwise.