OMK::EventTypeForAttributeT< Type > Class Template Reference

Attribute valued event type. More...

#include <OMKEventTypeForAttributeT.h>

Inheritance diagram for OMK::EventTypeForAttributeT< Type >:

Inheritance graph
[legend]
List of all members.

Public Types

typedef std::pair< Name, Type > IdAndValuePrm
 The type of the data to update or retrieve the attibute value.

Public Member Functions

 DECLARE_TYPE_EVENT_LISTENER (IdAndValuePrm, IdAndValue, EventTypeForAttributeT< Type >)
 The type of the event to update or retrieve the attibute value.

Protected Member Functions

virtual ~EventTypeForAttributeT ()
 Protected destructor only used by sons.
virtual bool processSetValue (IdAndValueEvent *e)=0
 The call back method to process the update of the attribute value.

Detailed Description

template<typename Type>
class OMK::EventTypeForAttributeT< Type >

Attribute valued event type.

Definition at line 35 of file OMKEventTypeForAttributeT.h.


Member Typedef Documentation

template<typename Type>
typedef std::pair< Name, Type > OMK::EventTypeForAttributeT< Type >::IdAndValuePrm

The type of the data to update or retrieve the attibute value.

This is a pair in which the first item is an id and the second is the value.

See sendValue and fireValue.

Reimplemented in OMK::IAttributeT< PrmType, ModelType, AccessorType >, OMK::Iii::InteractorOutputT< PrmType, ModelType >, OMK::IAttributeT< PrmType, PrmType, OMK::AccessorFctT< PrmType, ObjectType > >, OMK::IAttributeT< PrmType, OMK::Type::SimpleTypeT< PrmType >, OMK::AccessorAccT< PrmType, PrmAccType > >, OMK::IAttributeT< PrmType, PrmType, OMK::AccessorAccT< PrmType, PrmAccType > >, OMK::IAttributeT< PrmType, PrmType, OMK::AccessorT< PrmType > >, OMK::IAttributeT< T, OMK::Type::SimpleTypeT< T >, OMK::AccessorT< T > >, OMK::IAttributeT< bool, OMK::Type::SimpleTypeT< bool >, OMK::AccessorT< bool > >, OMK::IAttributeT< OMK::Type::Transform, OMK::Type::SimpleTypeT< OMK::Type::Transform >, OMK::AccessorT< OMK::Type::Transform > >, OMK::IAttributeT< HBT::PostureData, OMK::Type::SimpleTypeT< HBT::PostureData >, OMK::AccessorT< HBT::PostureData > >, OMK::IAttributeT< Type, OMK::Type::SimpleTypeT< Type >, OMK::AccessorAccT< Type, AttributType > >, OMK::IAttributeT< float, OMK::Type::SimpleTypeT< float >, OMK::AccessorT< float > >, OMK::IAttributeT< PrmType, OMK::Type::SimpleTypeT< PrmType >, OMK::AccessorT< PrmType > >, and OMK::IAttributeT< PrmType, OMK::Type::SimpleTypeT< PrmType >, OMK::AccessorFctT< PrmType, ObjectType > >.

Definition at line 42 of file OMKEventTypeForAttributeT.h.


Constructor & Destructor Documentation

template<typename Type>
virtual OMK::EventTypeForAttributeT< Type >::~EventTypeForAttributeT (  )  [inline, protected, virtual]

Protected destructor only used by sons.

Definition at line 51 of file OMKEventTypeForAttributeT.h.

00051 {}


Member Function Documentation

template<typename Type>
OMK::EventTypeForAttributeT< Type >::DECLARE_TYPE_EVENT_LISTENER ( IdAndValuePrm  ,
IdAndValue  ,
EventTypeForAttributeT< Type >   
)

The type of the event to update or retrieve the attibute value.

This is a pair encapsulated in a valued event in which the first item is an id and the second is the value.

See sendValue and fireValue.

Reimplemented in OMK::IAttributeT< PrmType, ModelType, AccessorType >, OMK::Iii::InteractorOutputT< PrmType, ModelType >, OMK::IAttributeT< PrmType, PrmType, OMK::AccessorFctT< PrmType, ObjectType > >, OMK::IAttributeT< PrmType, OMK::Type::SimpleTypeT< PrmType >, OMK::AccessorAccT< PrmType, PrmAccType > >, OMK::IAttributeT< PrmType, PrmType, OMK::AccessorAccT< PrmType, PrmAccType > >, OMK::IAttributeT< PrmType, PrmType, OMK::AccessorT< PrmType > >, OMK::IAttributeT< T, OMK::Type::SimpleTypeT< T >, OMK::AccessorT< T > >, OMK::IAttributeT< bool, OMK::Type::SimpleTypeT< bool >, OMK::AccessorT< bool > >, OMK::IAttributeT< OMK::Type::Transform, OMK::Type::SimpleTypeT< OMK::Type::Transform >, OMK::AccessorT< OMK::Type::Transform > >, OMK::IAttributeT< HBT::PostureData, OMK::Type::SimpleTypeT< HBT::PostureData >, OMK::AccessorT< HBT::PostureData > >, OMK::IAttributeT< Type, OMK::Type::SimpleTypeT< Type >, OMK::AccessorAccT< Type, AttributType > >, OMK::IAttributeT< float, OMK::Type::SimpleTypeT< float >, OMK::AccessorT< float > >, OMK::IAttributeT< PrmType, OMK::Type::SimpleTypeT< PrmType >, OMK::AccessorT< PrmType > >, and OMK::IAttributeT< PrmType, OMK::Type::SimpleTypeT< PrmType >, OMK::AccessorFctT< PrmType, ObjectType > >.

template<typename Type>
virtual bool OMK::EventTypeForAttributeT< Type >::processSetValue ( IdAndValueEvent *  e  )  [protected, pure virtual]

The call back method to process the update of the attribute value.

Parameters:
[in] e The valued event which encapsulate the new value.
Returns:
true if processed.

Implemented in OMK::IAttributeT< PrmType, ModelType, AccessorType >, OMK::Iii::InteractorOutputT< PrmType, ModelType >, OMK::IAttributeT< PrmType, PrmType, OMK::AccessorFctT< PrmType, ObjectType > >, OMK::IAttributeT< PrmType, OMK::Type::SimpleTypeT< PrmType >, OMK::AccessorAccT< PrmType, PrmAccType > >, OMK::IAttributeT< PrmType, PrmType, OMK::AccessorAccT< PrmType, PrmAccType > >, OMK::IAttributeT< PrmType, PrmType, OMK::AccessorT< PrmType > >, OMK::IAttributeT< T, OMK::Type::SimpleTypeT< T >, OMK::AccessorT< T > >, OMK::IAttributeT< bool, OMK::Type::SimpleTypeT< bool >, OMK::AccessorT< bool > >, OMK::IAttributeT< OMK::Type::Transform, OMK::Type::SimpleTypeT< OMK::Type::Transform >, OMK::AccessorT< OMK::Type::Transform > >, OMK::IAttributeT< HBT::PostureData, OMK::Type::SimpleTypeT< HBT::PostureData >, OMK::AccessorT< HBT::PostureData > >, OMK::IAttributeT< Type, OMK::Type::SimpleTypeT< Type >, OMK::AccessorAccT< Type, AttributType > >, OMK::IAttributeT< float, OMK::Type::SimpleTypeT< float >, OMK::AccessorT< float > >, OMK::IAttributeT< PrmType, OMK::Type::SimpleTypeT< PrmType >, OMK::AccessorT< PrmType > >, and OMK::IAttributeT< PrmType, OMK::Type::SimpleTypeT< PrmType >, OMK::AccessorFctT< PrmType, ObjectType > >.


logo OpenMask

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

Generated with doxygen by Dimitri van Heesch ,   1997-2007