| Home | Download | Screen shots | Discussion | Documentation |
|---|
For internal use only.
Public Member Functions | |
| script_event_listener (const std::string &id, script_node &node) | |
| Construct. | |
| virtual | ~script_event_listener () throw () |
| Destroy. | |
Private Member Functions | |
| virtual void | do_process_event (const FieldValue &value, double timestamp) throw (std::bad_alloc) |
| Process an event. | |
Private Attributes | |
| const std::string | id |
| eventIn identifier. | |
| openvrml::script_node::script_event_listener< FieldValue >::script_event_listener | ( | const std::string & | id, | |
| script_node & | node | |||
| ) | [inline] |
| openvrml::script_node::script_event_listener< FieldValue >::~script_event_listener | ( | ) | throw () [inline, virtual] |
Destroy.
| void openvrml::script_node::script_event_listener< FieldValue >::do_process_event | ( | const FieldValue & | value, | |
| double | timestamp | |||
| ) | throw (std::bad_alloc) [inline, private, virtual] |
Process an event.
| value | event value. | |
| timestamp | the current time. |
| std::bad_alloc | if memory allocation fails. |
Implements openvrml::field_value_listener< FieldValue >.
const std::string openvrml::script_node::script_event_listener< FieldValue >::id [private] |
eventIn identifier.