2000 2011 Ericsson AB, All Rights Reserved The contents of this file are subject to the Erlang Public License, Version 1.1, (the "License"); you may not use this file except in compliance with the License. You should have received a copy of the Erlang Public License along with this software. If not, it can be retrieved online at http://www.erlang.org/. Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License. The Initial Developer of the Original Code is Ericsson AB. CosTime_TIO Niclas Eklund Niclas Eklund Niclas Eklund 2000-02-01 1.0
CosTime_TIO This module implements the OMG CosTime::TIO interface.

To get access to the record definitions for the structures use:

-include_lib("cosTime/include/*.hrl").

'_get_time_interval'(TIO) -> TimeInterval Return the interval associated with the target object TIO = #objref TimeInterval = #'TimeBase_IntervalT{lower_bound, upper_bound} lower_bound = upper_bound = ulonglong

This operation returns the interval associated with the target object.

spans(TIO, UTO) -> Reply Return an OverlapType which describe how the interval in the target object and the timerange represented by the UTO object overlap TIO = UTO = OtherTIO = #objref Reply = {OverlapType, OtherTIO} OverlapType = 'OTContainer' | 'OTContained' | 'OTOverlap' | 'OTNoOverlap'

This operation returns a OverlapType depending on how the interval in the target object and the timerange represented by the UTO object overlap. If the OverlapType is 'OTNoOverlap' the out parameter represents the gap between the two intervals. If OverlapType is one of the others, the out parameter represents the overlap interval. The definitions of the OverlapType's are:

'OTContainer' - target objects lower and upper limits are, respectively, less or equal to and greater or equal to given object's. 'OTContained' - target objects lower and upper limits are, respectively, greater or equal to and less or equal to given object's. 'OTOverlap' - target objects interval overlap given object's. 'OTNoOverlap' - target objects interval do not overlap given object's.
overlaps(TIO, OtherTIO) -> Reply Return an OverlapType which describe how the interval in the target object and the timerange represented by the TIO object overlap TIO = OtherTIO = AnotherTIO = #objref Reply = {OverlapType, AnotherTIO} OverlapType = 'OTContainer' | 'OTContained' | 'OTOverlap' | 'OTNoOverlap'

This operation returns a OverlapType depending on how the interval in the target object and the timerange represented by the TIO object overlap. The OverlapType's are described under spans/2.

time(TIO) -> UTO Return a UTO in which the interval equals the time interval in the target object and time value is the midpoint of the interval TIO = UTO = #objref

This operation returns a UTO in which the interval equals the time interval in the target object and time value is the midpoint of the interval.