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

TouchSensorClass Class Reference

Class object for TouchSensor nodes. More...

Inheritance diagram for TouchSensorClass:

NodeClass List of all members.

Public Methods

 TouchSensorClass (Browser &browser)
 Constructor.

virtual ~TouchSensorClass () throw ()
 Destructor.

virtual const NodeTypePtr createType (const std::string &id, const NodeInterfaceSet &) throw (UnsupportedInterface, std::bad_alloc)
 Create a NodeType.


Detailed Description

Class object for TouchSensor nodes.


Constructor & Destructor Documentation

TouchSensorClass Browser   browser [explicit]
 

Constructor.

Parameters:
browser the Browser associated with this NodeClass.

~TouchSensorClass   throw () [virtual]
 

Destructor.


Member Function Documentation

const NodeTypePtr createType const std::string &    id,
const NodeInterfaceSet   interfaces
throw (UnsupportedInterface, std::bad_alloc) [virtual]
 

Create a NodeType.

Parameters:
id the name for the new NodeType.
interfaces the interfaces for the new NodeType.
Returns:
a NodeTypePtr to a NodeType capable of creating TouchSensor nodes.
Exceptions:
UnsupportedInterface if interfaces includes an interface not supported by TouchSensorClass.
std::bad_alloc if memory allocation fails.

Implements NodeClass.