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. | |
openvrml::node & | node () const throw () |
The node to which the node_event_listener belongs. | |
const std::string | eventin_id () const throw () |
The associated eventIn identifier. | |
![]() | |
virtual | ~event_listener ()=0 throw () |
Destroy. | |
virtual field_value::type_id | type () const =0 throw () |
The field_value::type_id for the type accepted by the event listener. |
Protected Member Functions | |
node_event_listener (openvrml::node &n) throw () | |
Construct. | |
![]() | |
event_listener () throw () | |
Construct. |
Private Member Functions | |
virtual const std::string | do_eventin_id () const =0 throw () |
The associated eventIn identifier. |
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.