29 #ifndef __DEVICEINFO_H__
30 #define __DEVICEINFO_H__
52 Inst< SFNode > _metadata = 0,
53 Inst< SFTime > _bindTime = 0,
54 Inst< SFBool > _isBound = 0,
55 Inst< MFDevice > _device = 0 );
59 deviceinfos.remove(
this );
68 virtual void initialize();
71 virtual void toStackTop();
74 virtual void removeFromStack();
77 virtual void renderStyli();
84 typedef list< DeviceInfo * > DeviceInfoList;
94 static DeviceInfoList deviceinfos;
Header file for H3DHapticsDevice.
Contains the MFNode class.
Header file for X3DBindableNode, X3D scene-graph node.
DeviceInfo is a X3DBindableNode that contains the devices that are used with the API.
Definition: DeviceInfo.h:46
static const DeviceInfoList & getAllDeviceInfos()
Returns a list of all current DeviceInfo instances.
Definition: DeviceInfo.h:87
static DeviceInfo * getActive()
Convenience function to get the top of the DeviceInfo stack.
Definition: DeviceInfo.h:63
H3DUniquePtr< MFDevice > device
Contains the devices in this DeviceInfo instance.
Definition: DeviceInfo.h:82
Template to make sure that the Nodes that are added to a MFNode are of a specified Node type.
Definition: MFNode.h:221
X3DBindableNode is the abstract base type for all bindable children nodes, including Background,...
Definition: X3DBindableNode.h:108
static X3DBindableNode * getActive(const string &bindable_stack_name)
Returns the active bindable instance, i.e.
Definition: X3DBindableNode.h:149
H3D API namespace.
Definition: Anchor.h:38
The H3DNodeDatabase contains a mapping between a name of a Node and the constructor for the Node with...
Definition: H3DNodeDatabase.h:194