OMK::AttributeAnimatorTypeT< PrmType > Class Template Reference
[Attribute feature]

Attribute with encapsulated value for types that are sons of OMKType. More...

#include <OMKAttributeAnimator.h>

Inheritance diagram for OMK::AttributeAnimatorTypeT< PrmType >:

Inheritance graph
[legend]
Collaboration diagram for OMK::AttributeAnimatorTypeT< PrmType >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

PrmTypegetRef ()
 Access to the reference for easier coding.

Detailed Description

template<typename PrmType>
class OMK::AttributeAnimatorTypeT< PrmType >

Attribute with encapsulated value for types that are sons of OMKType.

Date:
2007-05-01
Author:
BenoƮt Chanclou
Parameters:
PrmType The type of the attribute.
In most of the cases AttributeT is more appropriated, because it allows to use types that are not sons of OMKType.

The value is encapsulated in the associated accessor.

Definition at line 223 of file OMKAttributeAnimator.h.


Constructor & Destructor Documentation

template<typename PrmType>
OMK::AttributeAnimatorTypeT< PrmType >::AttributeAnimatorTypeT ( const Name id,
const PrmType value 
) [inline]

Constructor.

Parameters:
[in] id See _id.

Definition at line 230 of file OMKAttributeAnimator.h.

00231     : IAttributeAnimatorT< PrmType, PrmType, AccessorT< PrmType > >( id, AccessorT< PrmType >( value ) ) {}

template<typename PrmType>
virtual OMK::AttributeAnimatorTypeT< PrmType >::~AttributeAnimatorTypeT (  )  [inline, virtual]

Destructor.

Definition at line 233 of file OMKAttributeAnimator.h.

00233 {}

template<typename PrmType>
OMK::AttributeAnimatorTypeT< PrmType >::AttributeAnimatorTypeT ( const Name id,
const PrmType value 
) [inline]

Constructor.

Parameters:
[in] id See _id.

Definition at line 230 of file OMKAttributeAnimator.h.

00231     : IAttributeAnimatorT< PrmType, PrmType, AccessorT< PrmType > >( id, AccessorT< PrmType >( value ) ) {}

template<typename PrmType>
virtual OMK::AttributeAnimatorTypeT< PrmType >::~AttributeAnimatorTypeT (  )  [inline, virtual]

Destructor.

Definition at line 233 of file OMKAttributeAnimator.h.

00233 {}


Member Function Documentation

template<typename PrmType>
PrmType& OMK::AttributeAnimatorTypeT< PrmType >::getRef (  )  [inline]

Access to the reference for easier coding.

Definition at line 236 of file OMKAttributeAnimator.h.

References OMK::IAttributeT< PrmType, ModelType, AccessorType >::_accessor.

00236 { return this->_accessor.operator PrmType&() ; }


logo OpenMask

Documentation generated on Mon Jun 9 11:46:03 2008

Generated with doxygen by Dimitri van Heesch ,   1997-2007