| 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. | |
| 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. | |
| 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. | |
| 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. | |
Protected Member Functions | |
| abstract_node_type (const openvrml::node_metatype &metatype, const std::string &id) | |
| Construct. | |
Abstract base for openvrml::node_type subclasses.
This class is realized by instances of the node_type_impl class template.
| openvrml::node_impl_util::abstract_node_type::~abstract_node_type | ( | ) | throw () [pure virtual] |
Destroy.
| openvrml::node_impl_util::abstract_node_type::abstract_node_type | ( | const openvrml::node_metatype & | metatype, |
| const std::string & | id | ||
| ) | [protected] |
Construct.
| [in] | metatype | the node_metatype. |
| [in] | id | the node_type identifier. |
| const openvrml::field_value & openvrml::node_impl_util::abstract_node_type::field_value | ( | const openvrml::node & | node, |
| const std::string & | id | ||
| ) | const throw ( openvrml::unsupported_interface ) [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 >.
| const openvrml::event_listener & openvrml::node_impl_util::abstract_node_type::event_listener | ( | openvrml::node & | node, |
| const std::string & | id | ||
| ) | const throw ( openvrml::unsupported_interface ) [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 >.
| const openvrml::event_emitter & openvrml::node_impl_util::abstract_node_type::event_emitter | ( | openvrml::node & | node, |
| const std::string & | id | ||
| ) | const throw ( openvrml::unsupported_interface ) [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 >.