H3D::DeviceLog Class Reference

DeviceLog records haptic device position and orientation to a binary data file. More...

#include <DeviceLog.h>

Inheritance diagram for H3D::DeviceLog:

Inheritance graph
List of all members.

Public Member Functions

 DeviceLog (Inst< SFNode > _metadata=0, Inst< SFString > _filename=0)
 Constructor.
virtual ~DeviceLog ()
 Destructor.
virtual void openLog ()
virtual void writeLog (Vec3f pos, Rotation rot)
virtual void writeMessage (char *msg)
virtual void closeLog ()
virtual string defaultXMLContainerField ()
 Returns the default xml containerField attribute value.

Public Attributes

auto_ptr< SFStringfilename

Static Public Attributes

static H3DNodeDatabase database
 The H3DNodeDatabase for this node.

Protected Attributes

FILE * log_file
double start_time

Detailed Description

DeviceLog records haptic device position and orientation to a binary data file.


Member Function Documentation

virtual string H3D::DeviceLog::defaultXMLContainerField  )  [inline, virtual]
 

Returns the default xml containerField attribute value.

For this node it is "children".

Reimplemented from H3D::Node.


Generated on Thu Aug 24 12:38:59 2006 for H3D API by  doxygen 1.4.5