1CosTime_TIO(3) Erlang Module Definition CosTime_TIO(3)
2
3
4
6 CosTime_TIO - This module implements the OMG CosTime::TIO interface.
7
9 To get access to the record definitions for the structures use:
10 -include_lib("cosTime/include/*.hrl").
11
13 '_get_time_interval'(TIO) -> TimeInterval
14
15 Types:
16
17 TIO = #objref
18 TimeInterval = #'TimeBase_IntervalT{lower_bound, upper_bound}
19 lower_bound = upper_bound = ulonglong
20
21 This operation returns the interval associated with the target
22 object.
23
24 spans(TIO, UTO) -> Reply
25
26 Types:
27
28 TIO = UTO = OtherTIO = #objref
29 Reply = {OverlapType, OtherTIO}
30 OverlapType = 'OTContainer' | 'OTContained' | 'OTOverlap' |
31 'OTNoOverlap'
32
33 This operation returns a OverlapType depending on how the inter‐
34 val in the target object and the timerange represented by the
35 UTO object overlap. If the OverlapType is 'OTNoOverlap' the out
36 parameter represents the gap between the two intervals. If Over‐
37 lapType is one of the others, the out parameter represents the
38 overlap interval. The definitions of the OverlapType's are:
39
40 * 'OTContainer' - target objects lower and upper limits are,
41 respectively, less or equal to and greater or equal to given
42 object's.
43
44 * 'OTContained' - target objects lower and upper limits are,
45 respectively, greater or equal to and less or equal to given
46 object's.
47
48 * 'OTOverlap' - target objects interval overlap given
49 object's.
50
51 * 'OTNoOverlap' - target objects interval do not overlap given
52 object's.
53
54 overlaps(TIO, OtherTIO) -> Reply
55
56 Types:
57
58 TIO = OtherTIO = AnotherTIO = #objref
59 Reply = {OverlapType, AnotherTIO}
60 OverlapType = 'OTContainer' | 'OTContained' | 'OTOverlap' |
61 'OTNoOverlap'
62
63 This operation returns a OverlapType depending on how the inter‐
64 val in the target object and the timerange represented by the
65 TIO object overlap. The OverlapType's are described under
66 spans/2.
67
68 time(TIO) -> UTO
69
70 Types:
71
72 TIO = UTO = #objref
73
74 This operation returns a UTO in which the interval equals the
75 time interval in the target object and time value is the mid‐
76 point of the interval.
77
78
79
80Ericsson AB cosTime 5.0 CosTime_TIO(3)