30 #if defined(__sgi) || (defined(WIN32) && !defined(__MWERKS__)) 69 FrameStamp(
const std::string name = CLASS_TYPE);
79 FrameStamp(
const osg::FrameStamp fs,
const std::string name = CLASS_TYPE);
88 virtual const std::string& GetType()
const override;
97 virtual void SetName(
const std::string& name);
106 virtual osg::FrameStamp* AsOSGClass();
115 virtual const osg::FrameStamp* AsOSGClass()
const;
124 void SetFrameNumber(
unsigned int fnum);
133 unsigned int GetFrameNumber()
const;
142 void SetReferenceTime(
double refTime);
151 double GetReferenceTime()
const;
160 void SetSimulationTime(
double refTime);
169 double GetSimulationTime()
const;
178 void SetCalendarTime(
const tm& calendarTime);
187 void GetCalendarTime(tm& calendarTime)
const;
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...
This class is part of the internal garbage collection system.
This is a Base class that carries the Class name and Unique ID of all the derived classes...
trBase::SmrtPtr< osg::FrameStamp > mFrameStamp
The frame stamp.