Difference between revisions of "Architecture:Data Types"

From The BABEL Development Site
m (Protected "Architecture:Data Types" [edit=autoconfirmed:move=autoconfirmed])
(Data types defined in BABEL::COMMON)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<table width="95%"><tr>
 
<table width="95%"><tr>
<td align="left"> <small>Previous: [[Architecture:Robotic Platform Descriptors]]</small> </td>
+
<td align="left"> <small>Previous: [[Architecture:Robotic Platform Descriptors|RPDs]]</small> </td>
 
<td align="right"> <small>Next: [[Architecture:Unique Event Codes | Event Codes]]</small></td></tr>
 
<td align="right"> <small>Next: [[Architecture:Unique Event Codes | Event Codes]]</small></td></tr>
 
</table>
 
</table>
  
  
= Data types =
+
= Data types defined in BABEL::COMMON =
 +
 
 +
 
 +
<cpp>
 +
/*
 +
 
 +
BABEL IDL file automatically generated by BABEL v03.700
 +
accompanying the ICE module server_traker
 +
(C) Juan Antonio Fernández Madrigal, 2000-2004
 +
www.isa.uma.es/personal/jafma
 +
 
 +
*/
 +
 
 +
module BABEL
 +
{
 +
interface COMMON
 +
{
 +
/* --------------------- Pre-definitions ------------------------ */
 +
struct ParamValue
 +
{
 +
  string param;
 +
  string value;
 +
};
 +
typedef sequence<ParamValue> SeqOfParamValuePairs;
 +
 +
typedef sequence<string> SeqOfStrings;
 +
 +
typedef sequence<octet> SeqOfBytes;
 +
typedef sequence<boolean> SeqOfBools;
 +
 +
typedef sequence<float> SeqOfFloats;
 +
typedef sequence<double> SeqOfDoubles;
 +
 +
typedef sequence<short> SeqOfShorts;
 +
typedef sequence<unsigned short> SeqOfUShorts;
 +
typedef sequence<long> SeqOfLongs;
 +
typedef sequence<unsigned long> SeqOfULongs;
 +
 +
typedef sequence<unsigned long long> SeqOfULongLongs;
 +
 +
// Points, poses and matrices
 +
typedef double TMatrix33[3][3];
 +
typedef double TMatrix44[4][4];
 +
typedef double TPose2D[3];
 +
typedef double TPose3D[6];
 +
typedef double TPoint2D[2];
 +
typedef double TPoint3D[3];
 +
typedef sequence<TPoint2D> SeqOfPoints2D;
 +
typedef sequence<TPoint3D> SeqOfPoints3D;
 +
 
 +
 +
// Number of 100-nanosecond intervals since January 1, 1601 (UTC).
 +
typedef unsigned long long TTimeStamp;
 +
 
 +
}; // End of interface
 +
 
 +
}; // End of module
 +
 
 +
</cpp>

Latest revision as of 14:22, 20 May 2009

Previous: RPDs Next: Event Codes


Data types defined in BABEL::COMMON

<cpp> /*

BABEL IDL file automatically generated by BABEL v03.700 accompanying the ICE module server_traker (C) Juan Antonio Fernández Madrigal, 2000-2004 www.isa.uma.es/personal/jafma

  • /

module BABEL { interface COMMON { /* --------------------- Pre-definitions ------------------------ */ struct ParamValue { string param; string value; }; typedef sequence<ParamValue> SeqOfParamValuePairs;

typedef sequence<string> SeqOfStrings;

typedef sequence<octet> SeqOfBytes; typedef sequence<boolean> SeqOfBools;

typedef sequence<float> SeqOfFloats; typedef sequence<double> SeqOfDoubles;

typedef sequence<short> SeqOfShorts; typedef sequence<unsigned short> SeqOfUShorts; typedef sequence<long> SeqOfLongs; typedef sequence<unsigned long> SeqOfULongs;

typedef sequence<unsigned long long> SeqOfULongLongs;

// Points, poses and matrices typedef double TMatrix33[3][3]; typedef double TMatrix44[4][4]; typedef double TPose2D[3]; typedef double TPose3D[6]; typedef double TPoint2D[2]; typedef double TPoint3D[3]; typedef sequence<TPoint2D> SeqOfPoints2D; typedef sequence<TPoint3D> SeqOfPoints3D;


// Number of 100-nanosecond intervals since January 1, 1601 (UTC). typedef unsigned long long TTimeStamp;

}; // End of interface

}; // End of module

</cpp>