Home | Download | Screen shots | Discussion | Documentation |
---|
#include <openvrml/script.h>
set_metadata
event listener.
For internal use only.
Public Member Functions | |
set_metadata_listener (script_node &node) | |
Construct. | |
virtual | ~set_metadata_listener () throw () |
Destroy. | |
Private Member Functions | |
virtual const std::string | do_eventin_id () const throw () |
Get the eventIn identifier. | |
virtual void | do_process_event (const sfnode &value, double timestamp) throw ( std::bad_alloc ) |
Process an event. |
openvrml::script_node::set_metadata_listener::set_metadata_listener | ( | script_node & | node | ) | [explicit] |
openvrml::script_node::set_metadata_listener::~set_metadata_listener | ( | ) | throw () [virtual] |
Destroy.
const std::string openvrml::script_node::set_metadata_listener::do_eventin_id | ( | ) | const throw () [private, virtual] |
Get the eventIn
identifier.
eventIn
identifier. Implements openvrml::node_event_listener.
void openvrml::script_node::set_metadata_listener::do_process_event | ( | const sfnode & | value, | |
double | timestamp | |||
) | throw ( std::bad_alloc ) [private, virtual] |
Process an event.
[in] | value | new metadata value. |
[in] | timestamp | the current time. |
std::bad_alloc | if memory allocation fails. |