Home | Download | Screen shots | Discussion | Documentation | Links |
---|
Public Methods | |
virtual | ~Script ()=0 |
Destructor. | |
virtual void | initialize (double timestamp)=0 |
Initialize the Script node. | |
virtual void | processEvent (const std::string &id, const FieldValue &value, double timestamp)=0 |
Process an event. | |
virtual void | eventsProcessed (double timestamp)=0 |
Execute script code after processing events. | |
virtual void | shutdown (double timestamp)=0 |
Shut down the Script node. | |
Protected Methods | |
Script (ScriptNode &scriptNode) | |
Constructor. | |
Protected Attributes | |
ScriptNode & | scriptNode |
a reference to the ScriptNode that uses this Script object. | |
Private Methods | |
Script (const Script &) | |
Non-copyable. Copy constructor declared but not defined. | |
Script & | operator= (const Script &) |
Non-copyable. Assignment operator declared but not defined. |
The runtime instantiates subclasses of Script for each VRML97 Script node; and calls its methods appropriately to execute script code.
|
Destructor.
|
|
Constructor.
|
|
Non-copyable. Copy constructor declared but not defined.
|
|
Execute script code after processing events.
|
|
Initialize the Script node.
|
|
Non-copyable. Assignment operator declared but not defined.
|
|
Process an event.
|
|
Shut down the Script node.
|
|
a reference to the ScriptNode that uses this Script object.
|