Difference between revisions of "Architecture:Data Types"

From The BABEL Development Site
Line 6: Line 6:
  
 
= Data types =
 
= Data types =
 +
 +
<cpp>
 +
struct TLogicalDevice
 +
{
 +
unsigned long id; // The numerical ID of each device
 +
string type; // The logical device type
 +
boolean isChainingPoint; // Whether the device can be the base
 +
//  for other devices.
 +
unsigned long idOfBase; // The id of the base device
 +
COMMMON::THomogeneousMatrix pose3D; // The 3D pose of this device relative
 +
//  to the base one.
 +
 +
string implementation; // The name of the HAD layer module.
 +
 +
COMMMON::SeqOfParamValuePairs params; // The params for the HAD module.
 +
};
 +
 +
typedef sequence<TLogicalDevice> SeqOfLogicalDevices;
 +
 +
</cpp>

Revision as of 15:09, 17 May 2009

Previous: RPDs Next: Event Codes


Data types

<cpp> struct TLogicalDevice { unsigned long id; // The numerical ID of each device string type; // The logical device type boolean isChainingPoint; // Whether the device can be the base // for other devices. unsigned long idOfBase; // The id of the base device COMMMON::THomogeneousMatrix pose3D; // The 3D pose of this device relative // to the base one.

string implementation; // The name of the HAD layer module.

COMMMON::SeqOfParamValuePairs params; // The params for the HAD module. };

typedef sequence<TLogicalDevice> SeqOfLogicalDevices;

</cpp>