summaryrefslogtreecommitdiff
path: root/common/Time.idl
blob: f7a8343005b7761373505506021807a5f8e5da31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#ifndef TIME_WINDOW_IDL
#define TIME_WINDOW_IDL

module CIAO
{
  module RACE
    {

      const long UNDEFINED_TIME_ENTRY = -1;

      struct TimeValue
      {
        // Seconds since Jan. 1, 1970
        long    sec;
        //and microseconds
        long    usec;
      };

      // A time window is a range between an earliest and latest time value.
      struct TimeWindow
      {
        // Beginning of time window.
        CIAO::RACE::TimeValue earliest;

        // End of time window.
        CIAO::RACE::TimeValue latest;
      };

  };
};

#endif /* TIME_WINDOW_IDL */