Main Page   Modules   Namespace List   Class Hierarchy   Compound List   Namespace Members   Compound Members   Related Pages  

openvrml::vrml97_node::proximity_sensor_class Class Reference

Class object for ProximitySensor nodes. More...

Inheritance diagram for openvrml::vrml97_node::proximity_sensor_class:

Inheritance graph
[legend]
Collaboration diagram for openvrml::vrml97_node::proximity_sensor_class:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 proximity_sensor_class (openvrml::browser &browser)
 Construct.

virtual ~proximity_sensor_class () throw ()
 Destroy.

virtual const node_type_ptr create_type (const std::string &id, const node_interface_set &) throw (unsupported_interface, std::bad_alloc)
 Create a node_type.


Detailed Description

Class object for ProximitySensor nodes.


Constructor & Destructor Documentation

openvrml::vrml97_node::proximity_sensor_class::proximity_sensor_class openvrml::browser browser  )  [explicit]
 

Construct.

Parameters:
browser the browser associated with this node_class.

openvrml::vrml97_node::proximity_sensor_class::~proximity_sensor_class  )  throw () [virtual]
 

Destroy.


Member Function Documentation

const node_type_ptr openvrml::vrml97_node::proximity_sensor_class::create_type const std::string &  id,
const node_interface_set interfaces
throw (unsupported_interface, std::bad_alloc) [virtual]
 

Create a node_type.

Parameters:
id the name for the new node_type.
interfaces the interfaces for the new node_type.
Returns:
a node_type_ptr to a node_type capable of creating ProximitySensor nodes.
Exceptions:
unsupported_interface if interfaces includes an interface not supported by proximity_sensor_class.
std::bad_alloc if memory allocation fails.

Implements openvrml::node_class.