class SG_EXPORT osg::FrameStamp

Class which encapsulates the frame number, reference time and calander time of specific frame, used to synchonize operations on the scene graph and other machines when using a graphics cluster.

Inheritance:


Public Methods

[more] FrameStamp()
[more] FrameStamp(const FrameStamp& fs)
[more]FrameStamp& operator = (const FrameStamp& fs)
[more]void setFrameNumber(int fnum)
[more]int getFrameNumber() const
[more]void setReferenceTime(double refTime)
[more]double getReferenceTime() const
[more]void setCalendarTime(const tm& calendarTime)
[more]void getCalendarTime(tm& calendarTime) const
[more]virtual ~FrameStamp()

Protected Fields

[more]int _frameNumber
[more]double _referenceTime
[more]int tm_sec
[more]int tm_min
[more]int tm_hour
[more]int tm_mday
[more]int tm_mon
[more]int tm_year
[more]int tm_wday
[more]int tm_yday
[more]int tm_isdst


Inherited from Referenced:

Public Methods

ostatic void setDeleteHandler(DeleteHandler* handler)
ostatic DeleteHandler* getDeleteHandler()
oinline void ref() const
oinline void unref_nodelete() const
oinline int referenceCount() const
oinline void unref() const

Protected Fields

omutable OpenThreads::Mutex _refMutex
omutable int _refCount


Documentation

Class which encapsulates the frame number, reference time and calander time of specific frame, used to synchonize operations on the scene graph and other machines when using a graphics cluster. Note the calander time can be an artificial simulation time or capture the real time of day etc.
o FrameStamp()

o FrameStamp(const FrameStamp& fs)

oFrameStamp& operator = (const FrameStamp& fs)

ovoid setFrameNumber(int fnum)

oint getFrameNumber() const

ovoid setReferenceTime(double refTime)

odouble getReferenceTime() const

ovoid setCalendarTime(const tm& calendarTime)

ovoid getCalendarTime(tm& calendarTime) const

ovirtual ~FrameStamp()

oint _frameNumber

odouble _referenceTime

oint tm_sec

oint tm_min

oint tm_hour

oint tm_mday

oint tm_mon

oint tm_year

oint tm_wday

oint tm_yday

oint tm_isdst


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.