DEIMOS
Earth Observation Mission CFI Software
Orbit Software User Manual
ESA

EECFI::RelTimeSegment Class Reference

This class contains a time interval given by a start RelANXTime and a stop RelANXTime. More...

Inheritance diagram for EECFI::RelTimeSegment:
EECFI::CfiClass

List of all members.

Public Member Functions

 RelTimeSegment ()
 Class constructor.
 RelTimeSegment (const RelANXTime &relAnx0, const RelANXTime &relAnx1)
 Class constructor with parameters.
TimeSegment toAbsolute () const
 Get a TimeSegment with absolute values from this object.
void fromAbsolute (const TimeSegment &timeSeg)
 Set the RelTimeSegment object from an input TimeSegment object.

Public Attributes

RelANXTime start
 Segment start ANX time.
RelANXTime stop
 Segment stop ANX time.

Detailed Description

This class contains a time interval given by a start RelANXTime and a stop RelANXTime.


Constructor & Destructor Documentation

EECFI::RelTimeSegment::RelTimeSegment (  ) 

Class constructor.

EECFI::RelTimeSegment::RelTimeSegment ( const RelANXTime relAnx0,
const RelANXTime relAnx1 
)

Class constructor with parameters.

Parameters:
relAnx0 Segment start ANX time.
relAnx1 Segment stop ANX time.

Member Function Documentation

void EECFI::RelTimeSegment::fromAbsolute ( const TimeSegment timeSeg  ) 

Set the RelTimeSegment object from an input TimeSegment object.

Parameters:
timeSeg TimeSegment with absolute values.

References EECFI::RelANXTime::fromAbsolute(), EECFI::TimeSegment::start, start, EECFI::TimeSegment::stop, and stop.

TimeSegment EECFI::RelTimeSegment::toAbsolute (  )  const

Get a TimeSegment with absolute values from this object.

Returns:
Output time segment.

References start, EECFI::TimeSegment::start, stop, EECFI::TimeSegment::stop, and EECFI::RelANXTime::toAbsolute().


Member Data Documentation

Segment start ANX time.

Referenced by fromAbsolute(), and toAbsolute().

Segment stop ANX time.

Referenced by fromAbsolute(), and toAbsolute().


Generated on Mon Dec 11 2023 13:28:27 for by doxygen 1.7.1