org.omg.CosTime
Interface TIOOperations

All Known Subinterfaces:
TIO
All Known Implementing Classes:
_TIOStub, TIOImpl, TIOPOA, TIOPOATie

public interface TIOOperations

The TIO represents a time interval and contains operations relevant to time intervals


Method Summary
 OverlapType overlaps(TIO interval, TIOHolder overlap)
          This operation returns a value of type OverlapType depending on how the interval in the object and interval in the parameter TIO overlap.
 OverlapType spans(UTO time, TIOHolder overlap)
          This operation returns a value of type OverlapType depending on how the interval in the object and the time range represented by the parameter UTO overlap.
 IntervalT time_interval()
          This attribute returns an IntervalT structure with the value of its fields filled in with the corresponding values from the TIO
 UTO time()
          Operation time
 

Method Detail

time_interval

IntervalT time_interval()
This attribute returns an IntervalT structure with the value of its fields filled in with the corresponding values from the TIO


spans

OverlapType spans(UTO time,
                  TIOHolder overlap)
This operation returns a value of type OverlapType depending on how the interval in the object and the time range represented by the parameter UTO overlap. The interval in the object is interval A and the interval in the parameter UTO is interval B. If OverlapType is not OTNoOverLap, then the out parameter overlap contains the overlap interval, otherwise the out parameter contains the gap between the two intervals. The exception CORBA::BAD_PARAM is raised if the UTO passed in is invalid


overlaps

OverlapType overlaps(TIO interval,
                     TIOHolder overlap)
This operation returns a value of type OverlapType depending on how the interval in the object and interval in the parameter TIO overlap. The interval in the object is interval A and the interval in the parameter TOI is interval B. If OverlapType is not OTNoOverlap, then the out parameter overlap contains the overlap interval, otherwise the out parameter contains the gap between the two interval. The exception CORBA::BAD_PARAM is raised if the TOI passed in is invalid.


time

UTO time()
Operation time