| Home | Download | Screen shots | Discussion | Documentation |
|---|
Base class for event listeners of nodes. More...
#include <openvrml/event.h>

Public Member Functions | |
| virtual | ~node_event_listener () throw () |
| Destroy. More... | |
| openvrml::node & | node () const throw () |
The node to which the node_event_listener belongs. More... | |
| const std::string | eventin_id () const throw () |
The associated eventIn identifier. More... | |
Public Member Functions inherited from openvrml::event_listener | |
| virtual | ~event_listener ()=0 throw () |
| Destroy. More... | |
| virtual field_value::type_id | type () const =0 throw () |
The field_value::type_id for the type accepted by the event listener. More... | |
Protected Member Functions | |
| node_event_listener (openvrml::node &n) throw () | |
| Construct. More... | |
Protected Member Functions inherited from openvrml::event_listener | |
| event_listener () throw () | |
| Construct. More... | |
Private Member Functions | |
| virtual const std::string | do_eventin_id () const =0 throw () |
The associated eventIn identifier. More... | |
Base class for event listeners of nodes.
|
virtual | |||||||||||||
Destroy.
|
explicitprotected | ||||||||||||||
Construct.
| [in] | n | the node to which the node_event_listener belongs. |
| openvrml::node & openvrml::node_event_listener::node | ( | ) | const | |
| throw | ( | |||
| ) | ||||
The node to which the node_event_listener belongs.
node to which the node_event_listener belongs. | const std::string openvrml::node_event_listener::eventin_id | ( | ) | const | |
| throw | ( | |||
| ) | ||||
The associated eventIn identifier.
This function delegates to node_event_listener::do_eventin_id.
eventIn identifier.
|
privatepure virtual | |||||||||||||
The associated eventIn identifier.
Concrete subclasses must implement this function.
eventIn identifier. Implemented in openvrml::node_impl_util::event_listener_base< Node >, and openvrml::node_impl_util::event_listener_base< Derived >.