26 #include <osg/FrameStamp> virtual const std::string & GetType() const override
Returns the class type.
virtual void SetName(const std::string &name)
Sets this instances name.
double GetReferenceTime() const
Gets reference time.
unsigned int GetFrameNumber() const
Gets frame number.
virtual const std::string & GetName()
Returns this instances name.
void SetReferenceTime(double refTime)
Sets reference time.
static const trUtil::RefStr CLASS_TYPE
Adds an easy and swappable access to the base class.
Class which encapsulates the frame number, reference time and calendar time of specific frame...
A string wrapper that will make sure that all of the strings with the same value will point to the sa...
void GetCalendarTime(tm &calendarTime) const
Gets calendar time.
void SetCalendarTime(const tm &calendarTime)
Sets calendar time.
FrameStamp & operator=(const FrameStamp &fs)
Assignment operator.
double GetSimulationTime() const
Gets simulation time.
trBase::SmrtPtr< osg::FrameStamp > mFrameStamp
The frame stamp.
void SetSimulationTime(double refTime)
Sets simulation time.
virtual osg::FrameStamp * AsOSGClass()
Returns a pointer to the internal OSG FrameStamp.
void SetFrameNumber(unsigned int fnum)
Sets frame number.
FrameStamp(const std::string name=CLASS_TYPE)
Holds the class type name for efficient comparisons.
virtual void SetName(const std::string &name)
Sets this instances name.
T * Get() const
Returns the stored internal pointer.