| Home | Download | Screen shots | Discussion | Documentation |
|---|
Abstract base for openvrml::node_type subclasses.
More...
#include <openvrml/node_impl_util.h>

Public Member Functions | |
| virtual | ~abstract_node_type ()=0 throw () |
| Destroy. More... | |
| virtual const openvrml::field_value & | field_value (const openvrml::node &node, const std::string &id) const =0 throw ( openvrml::unsupported_interface ) |
node's field_value corresponding to id. More... | |
| virtual openvrml::event_listener & | event_listener (openvrml::node &node, const std::string &id) const =0 throw ( openvrml::unsupported_interface ) |
node's openvrml::event_listener corresponding to the eventIn identifier id. More... | |
| virtual openvrml::event_emitter & | event_emitter (openvrml::node &node, const std::string &id) const =0 throw ( openvrml::unsupported_interface ) |
node's openvrml::event_emitter corresponding to the eventOut identifier id. More... | |
Public Member Functions inherited from openvrml::node_type | |
| virtual | ~node_type ()=0 throw () |
| Destructor. More... | |
| const node_metatype & | metatype () const throw () |
The class object associated with the node_type. More... | |
| const std::string & | id () const throw () |
The name of the node_type. More... | |
| const node_interface_set & | interfaces () const throw () |
Get the set of interfaces for the node_type. More... | |
| const boost::intrusive_ptr< node > | create_node (const boost::shared_ptr< scope > &scope, const initial_value_map &initial_values=initial_value_map()) const throw ( unsupported_interface , std::bad_cast , std::bad_alloc ) |
Create a new node with this node_type. More... | |
Protected Member Functions | |
| abstract_node_type (const openvrml::node_metatype &metatype, const std::string &id) | |
| Construct. More... | |
Protected Member Functions inherited from openvrml::node_type | |
| node_type (const node_metatype &c, const std::string &id) throw ( std::bad_alloc ) | |
| Constructor. More... | |
Additional Inherited Members | |
Related Functions inherited from openvrml::node_type | |
| bool | operator== (const node_type &lhs, const node_type &rhs) throw() |
| Compare for equality. More... | |
| bool | operator!= (const node_type &lhs, const node_type &rhs) throw() |
| Compare for inequality. More... | |
Abstract base for openvrml::node_type subclasses.
This class is realized by instances of the node_type_impl class template.
|
pure virtual | |||||||||||||
Destroy.
|
protected |
Construct.
| [in] | metatype | the node_metatype. |
| [in] | id | the node_type identifier. |
|
pure virtual | ||||||||||||||||||||
node's field_value corresponding to id.
| [in] | node | the openvrml::node for which to return the openvrml::field_value. |
| [in] | id | field identifier. |
node's openvrml::field_value corresponding to the field identifier id.| openvrml::unsupported_interface | if node has no field id. |
Implemented in openvrml::node_impl_util::node_type_impl< Node >.
|
pure virtual | ||||||||||||||||||||
node's openvrml::event_listener corresponding to the eventIn identifier id.
| [in] | node | the openvrml::node for which to return the openvrml::event_listener. |
| [in] | id | eventIn identifier. |
node's openvrml::event_listener corresponding to the eventIn identifier id.| openvrml::unsupported_interface | if node has no eventIn id. |
Implemented in openvrml::node_impl_util::node_type_impl< Node >.
|
pure virtual | ||||||||||||||||||||
node's openvrml::event_emitter corresponding to the eventOut identifier id.
| [in] | node | the openvrml::node for which to return the openvrml::event_emitter. |
| [in] | id | eventOut identifier. |
node's openvrml::event_emitter corresponding to the eventOut identifier id.| openvrml::unsupported_interface | if node has no eventOut id. |
Implemented in openvrml::node_impl_util::node_type_impl< Node >.