aboutsummaryrefslogtreecommitdiffstats
path: root/lib/cosTime/src/TimeBase.idl
blob: 92a0c652d821bb8287084c7945d48dbd6b11f1de (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef _TIMEBASE_IDL_
#define _TIMEBASE_IDL_

#pragma prefix "omg.org"

module TimeBase { 
  typedef unsigned long long TimeT; 
  typedef TimeT InaccuracyT; 
  typedef short TdfT; 
  struct UtcT { 
    TimeT time; // 8 octets 
    unsigned long inacclo; // 4 octets 
    unsigned short inacchi; // 2 octets 
    TdfT tdf; // 2 octets // total 16 octets. 
  }; 
  struct IntervalT { 
    TimeT lower_bound; 
    TimeT upper_bound; 
  }; 
}; 

#endif