| Home | Download | Screen shots | Discussion | Documentation |
|---|
Public Member Functions | |
| eventout (field_value::type_id type, script_node &node) throw (std::bad_alloc) | |
| Construct. | |
| const field_value & | value () const throw () |
| The value that will be sent from the eventOut. | |
| void | value (const field_value &val) throw (std::bad_alloc, std::bad_cast) |
| Set the value that will be sent from the eventOut. | |
| bool | modified () const throw () |
| Whether the value has been modified. | |
| openvrml::event_emitter & | emitter () throw () |
| The event_emitter associated with the eventout. | |
| void | emit_event (double timestamp) throw (std::bad_alloc) |
| Cause the contained event_emitter to emit an event. | |
Private Attributes | |
| script_node & | node_ |
| The containing script_node. | |
| boost::scoped_ptr< field_value > | value_ |
| The value. | |
| bool | modified_ |
| Flag to indicate whether value_ has been modified. | |
| boost::scoped_ptr< openvrml::event_emitter > | emitter_ |
| Event emitter. | |
|
||||||||||||
|
Construct.
|
|
|
The value that will be sent from the eventOut.
|
|
|
Set the value that will be sent from the eventOut.
After calling this function, modified will return
|
|
|
Whether the value has been modified.
|
|
|
The event_emitter associated with the eventout.
|
|
|
Cause the contained event_emitter to emit an event. Events should be emitted from Script nodes by calling this function instead of passing the event_emitter directly to node::emit_event.
|
|
|
The containing script_node.
|
|
|
The value.
|
|
|
Flag to indicate whether value_ has been modified.
|
|
|
Event emitter.
|