| Home | Download | Screen shots | Discussion | Documentation |
|---|
Concrete event listener template. More...
#include <openvrml/event.h>

Public Member Functions | |
| virtual | ~field_value_listener ()=0 throw () |
| Destroy. More... | |
| void | process_event (const FieldValue &value, double timestamp) throw ( std::bad_alloc ) |
| Process an event. More... | |
| virtual field_value::type_id | type () const throw () |
FieldValue::field_value_type_id. More... | |
Public Member Functions inherited from openvrml::event_listener | |
| virtual | ~event_listener ()=0 throw () |
| Destroy. More... | |
Protected Member Functions | |
| field_value_listener () throw () | |
| Construct. More... | |
Protected Member Functions inherited from openvrml::event_listener | |
| event_listener () throw () | |
| Construct. More... | |
Private Member Functions | |
| virtual void | do_process_event (const FieldValue &value, double timestamp)=0 throw ( std::bad_alloc ) |
Called by field_value_listener<FieldValue>::do_process_event. More... | |
Concrete event listener template.
| FieldValue | a Field Value. |
|
pure virtual | |||||||||||||
Destroy.
| FieldValue | a Field Value. |
|
explicitprotected | |||||||||||||
Construct.
| FieldValue | a Field Value. |
| void openvrml::field_value_listener< FieldValue >::process_event | ( | const FieldValue & | value, |
| double | timestamp | ||
| ) | |||
| throw | ( | std::bad_alloc | |
| ) | |||
Process an event.
| FieldValue | a Field Value. |
| [in] | value | the event value. |
| [in] | timestamp | the current time. |
| std::bad_alloc | if memory allocation fails. |
|
virtual | |||||||||||||
FieldValue::field_value_type_id.
| FieldValue | a Field Value. |
FieldValue::field_value_type_id. Implements openvrml::event_listener.
|
privatepure virtual | ||||||||||||||||||||
Called by field_value_listener<FieldValue>::do_process_event.
Subclasses must implement this function.
| FieldValue | a Field Value. |
| [in] | value | the event value. |
| [in] | timestamp | the current time. |
| std::bad_alloc | if memory allocation fails. |
Implemented in openvrml::exposedfield< FieldValue >.