OpenSceneGraph
3.0.1
|
Public Types | |
typedef SamplerType::UsingType | UsingType |
typedef TemplateTarget< UsingType > | TargetType |
typedef TemplateKeyframeContainer < typename SamplerType::KeyframeType > | KeyframeContainerType |
Public Member Functions | |
Channel * | clone () const |
TemplateChannel (const TemplateChannel &channel) | |
TemplateChannel (SamplerType *s=0, TargetType *target=0) | |
virtual bool | createKeyframeContainerFromTargetValue () |
virtual | ~TemplateChannel () |
virtual void | update (double time, float weight, int priority) |
virtual void | reset () |
virtual Target * | getTarget () |
virtual bool | setTarget (Target *target) |
SamplerType * | getOrCreateSampler () |
Sampler * | getSampler () |
const Sampler * | getSampler () const |
SamplerType * | getSamplerTyped () |
const SamplerType * | getSamplerTyped () const |
void | setSampler (SamplerType *sampler) |
TargetType * | getTargetTyped () |
const TargetType * | getTargetTyped () const |
void | setTarget (TargetType *target) |
virtual double | getStartTime () const |
virtual double | getEndTime () const |
![]() | |
Channel () | |
Channel (const Channel &channel) | |
virtual | ~Channel () |
const std::string & | getName () const |
void | setName (const std::string &name) |
const std::string & | getTargetName () const |
void | setTargetName (const std::string &name) |
![]() | |
Referenced () | |
Referenced (bool threadSafeRefUnref) | |
Referenced (const Referenced &) | |
Referenced & | operator= (const Referenced &) |
virtual void | setThreadSafeRefUnref (bool threadSafe) |
Set whether to use a mutex to ensure ref() and unref() are thread safe. | |
bool | getThreadSafeRefUnref () const |
Get whether a mutex is used to ensure ref() and unref() are thread safe. | |
OpenThreads::Mutex * | getRefMutex () const |
Get the mutex used to ensure thread safety of ref()/unref(). | |
int | ref () const |
Increment the reference count by one, indicating that this object has another pointer which is referencing it. | |
int | unref () const |
Decrement the reference count by one, indicating that a pointer to this object is referencing it. | |
int | unref_nodelete () const |
Decrement the reference count by one, indicating that a pointer to this object is referencing it. | |
int | referenceCount () const |
Return the number of pointers currently referencing this object. | |
ObserverSet * | getObserverSet () const |
Get the ObserverSet if one is attached, otherwise return NULL. | |
ObserverSet * | getOrCreateObserverSet () const |
Get the ObserverSet if one is attached, otherwise create an ObserverSet, attach it, then return this newly created ObserverSet. | |
void | addObserver (Observer *observer) const |
Add a Observer that is observing this object, notify the Observer when this object gets deleted. | |
void | removeObserver (Observer *observer) const |
Remove Observer that is observing this object. |
Protected Attributes | |
osg::ref_ptr< TargetType > | _target |
osg::ref_ptr< SamplerType > | _sampler |
![]() | |
std::string | _targetName |
std::string | _name |
![]() | |
OpenThreads::AtomicPtr | _observerSet |
OpenThreads::Atomic | _refCount |
Additional Inherited Members | |
![]() | |
static OpenThreads::Mutex * | getGlobalReferencedMutex () |
Get the optional global Referenced mutex, this can be shared between all osg::Referenced. | |
static void | setThreadSafeReferenceCounting (bool enableThreadSafeReferenceCounting) |
Set whether reference counting should use a mutex for thread safe reference counting. | |
static bool | getThreadSafeReferenceCounting () |
Get whether reference counting is active. | |
static void | setDeleteHandler (DeleteHandler *handler) |
Set a DeleteHandler to which deletion of all referenced counted objects will be delegated. | |
static DeleteHandler * | getDeleteHandler () |
Get a DeleteHandler. | |
![]() | |
virtual | ~Referenced () |
void | signalObserversAndDelete (bool signalDelete, bool doDelete) const |
void | deleteUsingDeleteHandler () const |
typedef TemplateKeyframeContainer<typename SamplerType::KeyframeType> osgAnimation::TemplateChannel< SamplerType >::KeyframeContainerType |
typedef TemplateTarget<UsingType> osgAnimation::TemplateChannel< SamplerType >::TargetType |
typedef SamplerType::UsingType osgAnimation::TemplateChannel< SamplerType >::UsingType |
|
inline |
|
inline |
|
inlinevirtual |
|
inlinevirtual |
Implements osgAnimation::Channel.
|
inlinevirtual |
Implements osgAnimation::Channel.
References osgAnimation::TemplateChannel< SamplerType >::_sampler, osgAnimation::TemplateChannel< SamplerType >::_target, osgAnimation::TemplateChannel< SamplerType >::getOrCreateSampler(), osgAnimation::TemplateTarget< T >::getValue(), and osg::ref_ptr< T >::valid().
|
inlinevirtual |
Implements osgAnimation::Channel.
References osgAnimation::TemplateChannel< SamplerType >::_sampler.
|
inline |
|
inlinevirtual |
Implements osgAnimation::Channel.
References osgAnimation::TemplateChannel< SamplerType >::_sampler, and osg::ref_ptr< T >::get().
|
inlinevirtual |
Implements osgAnimation::Channel.
References osgAnimation::TemplateChannel< SamplerType >::_sampler, and osg::ref_ptr< T >::get().
|
inline |
|
inline |
|
inlinevirtual |
Implements osgAnimation::Channel.
References osgAnimation::TemplateChannel< SamplerType >::_sampler.
|
inlinevirtual |
Implements osgAnimation::Channel.
References osgAnimation::TemplateChannel< SamplerType >::_target, and osg::ref_ptr< T >::get().
|
inline |
|
inline |
|
inlinevirtual |
Implements osgAnimation::Channel.
References osgAnimation::TemplateChannel< SamplerType >::_target, and osgAnimation::Target::reset().
|
inline |
|
inlinevirtual |
Implements osgAnimation::Channel.
References osgAnimation::TemplateChannel< SamplerType >::_target, and osg::ref_ptr< T >::get().
|
inline |
|
inlinevirtual |
|
protected |
Referenced by osgAnimation::TemplateChannel< SamplerType >::createKeyframeContainerFromTargetValue(), osgAnimation::TemplateChannel< SamplerType >::getEndTime(), osgAnimation::TemplateChannel< SamplerType >::getOrCreateSampler(), osgAnimation::TemplateChannel< SamplerType >::getSampler(), osgAnimation::TemplateChannel< SamplerType >::getSamplerTyped(), osgAnimation::TemplateChannel< SamplerType >::getStartTime(), osgAnimation::TemplateChannel< SamplerType >::setSampler(), osgAnimation::TemplateChannel< SamplerType >::TemplateChannel(), and osgAnimation::TemplateChannel< SamplerType >::update().
|
protected |
Referenced by osgAnimation::TemplateChannel< SamplerType >::createKeyframeContainerFromTargetValue(), osgAnimation::TemplateChannel< SamplerType >::getTarget(), osgAnimation::TemplateChannel< SamplerType >::getTargetTyped(), osgAnimation::TemplateChannel< SamplerType >::reset(), osgAnimation::TemplateChannel< SamplerType >::setTarget(), osgAnimation::TemplateChannel< SamplerType >::TemplateChannel(), and osgAnimation::TemplateChannel< SamplerType >::update().
![]() | Generated at Fri Sep 7 2012 02:20:22 for the OpenSceneGraph by doxygen 1.8.1.2. |