BasicDataType.idl
Simple Wiki Based Contents Management System
関心分野 >> RTミドルウェア >> BasicDataType.idl

BasicDataType.idl

このファイルには、OpenRTM-aistのデータポートで使用する基本的なデータ型が定義されている。ここでのデータは、すべて
struct Time
 {
       unsigned long sec;    // sec
       unsigned long nsec;   // nano sec
 };
で定義されたTimeと基本型を要素として持つstructである。

定義済みの型

下記の方は、 RTCのモジュール内での定義である。
  • struct Time (ulong x 2)
  • struct TimedStat (struct TimedShortと同じ。Alias定義でも良いのではないか?) (Time, short)
    • (ulong x 2, short)
  • struct TimedShort (Time, short)
    • (ulong x 2, short)
  • struct TimedLong (Time, long)
    • (ulong x 2, long)
  • struct TimedUShort (Time, ushort)
    • (ulong x 2, ushort)
  • struct TimedULong (Time, ulong)
    • (ulong x 2, ulong)
  • struct TimedFloat (Time, float)
    • (ulong x 2, float)
  • struct TimedDouble (Time, double)
    • (ulong x 2, double)
  • struct TimedChar (Time. char)
    • (ulong x 2, char)
  • struct TimedWChar (Time, wchar)
    • (ulong x 2, wchar) -> (ulong x 2, short)
  • struct TimedBoolean (Time, boolean)
    • (ulong x 2, boolean) -> (ulong x 2, char)
  • struct TimedOctet (Time, octet)
    • (ulong x 2, octet) -> (ulong x 2, char)
  • struct TimedString (Time, string)
    • (ulong x 2, string) -> (ulong x 2, ulong, char x length) -> (ulong x 3, char x length)
  • struct TimedWString (Time, wstring)
    • (ulong x 2, wstring)
  • struct TimedShortSeq (Time, sequence<short>)
    • (ulong x 2, sequence<short>) -> (ulong x 2, ulong, short x length) -> (ulong x 3, short x length)
  • struct TimedLongSeq (Time, sequence<long>)
    • (ulong x 2, sequence<long>) -> (ulong x 2, ulong, long x length) -> (ulong x 3, long x length)
  • struct TimedUShortSeq (Time, sequence<ushort>)
    • (ulong x 2, sequence<ushort>) -> (ulong x 2, ulong, ushort x length) -> (ulong x 3, ushort x length)
  • struct TimedULongSeq (Time, sequence<ulong>)
    • (ulong x 2, sequence<ulong>) -> (ulong x 2, ulong, ulong x length) -> (ulong x 3, ulong x length)
  • struct TimedFloatSeq (Time, sequence<float>)
    • (ulong x 2, sequence<float>) -> (ulong x 2, ulong, float x length) -> (ulong x 3, float x length)
  • struct TimedDoubleSeq (Time, sequence<double>)
    • (ulong x 2, sequence<double>) -> (ulong x 2, ulong, double x length) -> (ulong x 3, double x length)
  • struct TimedCharSeq (Time, sequence<char>)
    • (ulong x 2, sequence<char>) -> (ulong x 2, ulong, char x length) -> (ulong x 3, char x length)
  • struct TimedWCharSeq (Time, sequence<wchar>)
    • (ulong x 2, sequence<wchar>) -> (ulong x 2, ulong, short x length) -> (ulong x 3, short x length)
  • struct TimedBooleanSeq (Time, sequence<boolean>)
    • (ulong x 2, sequence<boolean>) -> (ulong x 2, ulong, char x length) -> (ulong x 3, char x length)
  • struct TimedOctetSeq (Time, sequence<octet>)
    • (ulong x 2, sequence<octet>) -> (ulong x 2, ulong, char x length) -> (ulong x 3, char x length)
  • struct TimedStringSeq (Time, sequence<string>)
    • (ulong x 2, sequence<string>) -> (ulong x 2, ulong, string x length) -> (ulong x 3, (ulong, char x strlen) x length)
  • struct TimedWStringSeq(Time, sequence<wstring>)
    • (ulong x 2, sequence<wstring>) -> (ulong x 2, ulong, wstring x length)