All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

Visualization Class CATVRDeviceEvent

CATVRDeviceEvent
 

Usage: you must use this class as is. You should never derive it.


public class CATVRDeviceEvent

Class that contains all the data about one event of any device.

Role: this class represents one event that is emitted by the drivers of peripherals.


Constructor and Destructor Index


o ~CATVRDeviceEvent()
Destructor non iteratif.

Method Index


o GetBooleanSize()
Returns the number of booleans contained in this event.
o GetBooleanValue()
Returns an array containing all booleans contained in this event.
o GetDeviceDriverID()
Returns the ID of the device driver that had emitted this DeviceEvent.
o GetDoubleSize()
Returns the number of doubles contained in this event.
o GetDoubleValue()
Returns an array containing all doubles contained in this event.
o GetEventName()
Returns the name of the device event.
o GetIntegerSize()
Returns the number of integers contained in this event.
o GetIntegerValue()
Returns an array containing all integers contained in this event.
o GetTimestamp()
Returns the time when the event was generated.

Constructor and Destructor


o ~CATVRDeviceEvent
public virtual ~CATVRDeviceEvent()
Destructor non iteratif.

Methods


o GetBooleanSize
public int GetBooleanSize()
Returns the number of booleans contained in this event.
o GetBooleanValue
public int* GetBooleanValue()
Returns an array containing all booleans contained in this event. The length of this array can be retrieved through GetBooleanSize()
o GetDeviceDriverID
public int GetDeviceDriverID()
Returns the ID of the device driver that had emitted this DeviceEvent.
o GetDoubleSize
public int GetDoubleSize()
Returns the number of doubles contained in this event.
o GetDoubleValue
public double* GetDoubleValue()
Returns an array containing all doubles contained in this event. The length of thi sarray can be retrieved through GetDoubleSize()
o GetEventName
public CATString GetEventName()
Returns the name of the device event.
o GetIntegerSize
public int GetIntegerSize()
Returns the number of integers contained in this event.
o GetIntegerValue
public int* GetIntegerValue()
Returns an array containing all integers contained in this event. The length of this array can be retrieved through GetIntegerSize
o GetTimestamp
public CATTimeValue GetTimestamp()
Returns the time when the event was generated.

This object is included in the file: CATVRDeviceEvent.h
If needed, your Imakefile.mk should include the module: CATVisVR

Copyright © 2003, Dassault Systèmes. All rights reserved.