| Home | Download | Screen shots | Discussion | Documentation |
|---|
Class object for script_nodes.
More...
#include <openvrml/script.h>

Public Member Functions | |
| script_node_metatype (openvrml::browser &browser) | |
| Construct. More... | |
| virtual | ~script_node_metatype () throw () |
| Destroy. More... | |
Public Member Functions inherited from openvrml::node_metatype | |
| virtual | ~node_metatype ()=0 throw () |
| Destructor. More... | |
| const node_metatype_id & | id () const throw () |
| Identifier. More... | |
| openvrml::browser & | browser () const throw () |
The browser associated with this node_metatype. More... | |
| void | initialize (viewpoint_node *initial_viewpoint, double time) throw () |
node_metatype-specific initialization. More... | |
| void | render (viewer &v) const throw () |
node_metatype-specific rendering. More... | |
| const boost::shared_ptr < node_type > | create_type (const std::string &id, const node_interface_set &interfaces) throw ( unsupported_interface , std::bad_alloc ) |
Create a new node_type. More... | |
| void | shutdown (double time) throw () |
| Shut down. More... | |
Private Member Functions | |
| virtual const boost::shared_ptr< node_type > | do_create_type (const std::string &id, const node_interface_set &interfaces) const throw () |
| Not implemented. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from openvrml::node_metatype | |
| node_metatype (const node_metatype_id &id, openvrml::browser &b) throw () | |
| Constructor. More... | |
Class object for script_nodes.
There is one script_node_metatype per browser instance.
| openvrml::script_node_metatype::script_node_metatype | ( | openvrml::browser & | browser | ) |
Construct.
| [in] | browser | the browser to be associated with the script_node_metatype. |
|
virtual | |||||||||||||
Destroy.
|
privatevirtual | ||||||||||||||||||||
Not implemented.
This method is not implemented because the Script node implementation, unlike other node implementations, cannot provide the implementation of an EXTERNPROTO. It is an error to call this method.
Implements openvrml::node_metatype.