#include <OMKAttribute.h>
Inheritance diagram for OMK::IAttributeT< PrmType, ModelType, AccessorType >:
Accessors. | |
AccessorType | _accessor |
The value of the attribute. | |
virtual const std::type_info & | getModelTypeId () const |
return the model type of the attribut. | |
virtual const PrmType & | get () const |
Get the value of the attribute. | |
virtual void | set (const PrmType &value) |
Set the value. | |
Creation of input and output. | |
Input< ModelType > * | _input |
The associated input. | |
Output< ModelType > * | _output |
The associated output. | |
virtual void | createInput () |
Creates the associated input. | |
virtual InputNT * | getInput () |
Returns the associated input. | |
Input< ModelType > * | getInputT () |
Returns the typed associated input. | |
virtual void | createOutput () |
Creates the associated output. | |
virtual OutputNT * | getOutput () |
Returns the associated output. | |
Output< ModelType > * | getOutputT () |
Returns the associated output. | |
Events processing to manage value setting. | |
virtual void | sendIdAndValue (const Name &receiver, const EventIdentifier &eventId, const Name &attributeId) |
Sends the value to the receiver in a valued event with the specified event id. | |
virtual void | sendValue (const Name &receiver, const EventIdentifier &eventId) |
Sends the value to the receiver with the specified event id. | |
virtual void | fireIdAndValue (const EventIdentifier &eventId, const Name &attributeId) |
Sends the value to the listening objects in a valued event with the specified event id. | |
virtual void | fireValue (const EventIdentifier &eventId) |
Sends the value to the listening objects to inform them of the current value. | |
bool | processSetValueOf (ValuedEvent< ModelType > *e) |
The call back method to process the update of the attribute value. | |
virtual bool | processSetValue (IdAndValueEvent *e) |
The call back method to process the update of the attribute value. | |
Public Types | |
typedef std::pair< Name, ModelType > | IdAndValuePrm |
The type of the data to update or retrieve the attibute value. | |
Public Member Functions | |
DECLARE_TYPE_EVENT_LISTENER (IdAndValuePrm, IdAndValue, EventTypeForAttributeT< ModelType >) | |
The type of the event to update or retrieve the attibute value. | |
Updating value according to the input or output. | |
virtual void | getValueFromInput () |
Sets the attribute value with the one retrived in the associated input. | |
virtual void | setValueToOutput () |
Sets the output value with the one retrived in the attribute. | |
Activation of event processing. | |
virtual void | activateSetByEvent () |
Activate the handling of "current_value" event. | |
virtual void | activateSetByEventOf () |
Activate the handling of "current_value_of_<i>id</i>" event. | |
Services for additional inputs. | |
virtual InputNT * | createInput (const Name &name) |
Creates an input with the good type. | |
virtual void | getValueFromInput (InputNT *input) |
Retrieves the value in the given input to set the attribute value. | |
virtual void | getValueFromInput (PrmType &value, InputNT *input, int deltaT=0) const |
Retrieves the value in the given input. |
This class is the full implementation of the attribute interface IAttribute, see it for more details.
There is three template arguments
Definition at line 153 of file OMKAttribute.h.
typedef std::pair< Name, ModelType > OMK::IAttributeT< PrmType, ModelType, AccessorType >::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.
Reimplemented from OMK::EventTypeForAttributeT< ModelType >.
Definition at line 156 of file OMKAttribute.h.
OMK::IAttributeT< PrmType, ModelType, AccessorType >::IAttributeT | ( | const Name & | id, | |
const AccessorType & | init | |||
) | [protected] |
Constructor.
[in] | id | See _id. |
[in] | init | The accessor to intialise. |
Definition at line 76 of file OMKAttribute.inl.
00077 : OMK::IAttributeBaseT< PrmType >( id ), 00078 _accessor( init ), 00079 _input( 0 ), 00080 _output( 0 ) 00081 { 00082 }
OMK::IAttributeT< PrmType, ModelType, AccessorType >::~IAttributeT | ( | ) | [virtual] |
Destructor.
Disconnect and delete the associated input.The output cannot be delete it stay alive but is no more updated
Definition at line 86 of file OMKAttribute.inl.
References OMK::IAttributeT< PrmType, ModelType, AccessorType >::_input, OMK::IAttribute::_owner, OMK::SimulatedObject::deleteInput(), OMK::Input< T >::disconnect(), and OMK::KernelAttribute::getName().
00087 { 00088 // disconnect and delete the associated input 00089 if( _input ) 00090 { 00091 _input->disconnect() ; 00092 this->_owner->deleteInput( _input->getName() ) ; 00093 _input = 0 ; 00094 } 00095 // The output cannot be delete it stay alive but is no more updated 00096 }
OMK::IAttributeT< PrmType, ModelType, AccessorType >::~IAttributeT | ( | ) | [virtual] |
Destructor.
Disconnect and delete the associated input.The output cannot be delete it stay alive but is no more updated
Definition at line 86 of file OMKAttribute.inl.
References OMK::IAttributeT< PrmType, ModelType, AccessorType >::_input, OMK::IAttribute::_owner, OMK::SimulatedObject::deleteInput(), OMK::Input< T >::disconnect(), and OMK::KernelAttribute::getName().
00087 { 00088 // disconnect and delete the associated input 00089 if( _input ) 00090 { 00091 _input->disconnect() ; 00092 this->_owner->deleteInput( _input->getName() ) ; 00093 _input = 0 ; 00094 } 00095 // The output cannot be delete it stay alive but is no more updated 00096 }
OMK::IAttributeT< PrmType, ModelType, AccessorType >::IAttributeT | ( | const Name & | id, | |
const AccessorType & | init | |||
) | [protected] |
Constructor.
[in] | id | See _id. |
[in] | init | The accessor to intialise. |
Definition at line 76 of file OMKAttribute.inl.
00077 : OMK::IAttributeBaseT< PrmType >( id ), 00078 _accessor( init ), 00079 _input( 0 ), 00080 _output( 0 ) 00081 { 00082 }
OMK::IAttributeT< PrmType, ModelType, AccessorType >::DECLARE_TYPE_EVENT_LISTENER | ( | IdAndValuePrm | , | |
IdAndValue | , | |||
EventTypeForAttributeT< ModelType > | ||||
) |
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.
Reimplemented from OMK::EventTypeForAttributeT< ModelType >.
virtual const std::type_info& OMK::IAttributeT< PrmType, ModelType, AccessorType >::getModelTypeId | ( | ) | const [inline, virtual] |
return the model type of the attribut.
Implements OMK::IAttribute.
Definition at line 185 of file OMKAttribute.h.
virtual const PrmType& OMK::IAttributeT< PrmType, ModelType, AccessorType >::get | ( | ) | const [inline, virtual] |
Get the value of the attribute.
Implements OMK::IAccessorT< PrmType >.
Definition at line 190 of file OMKAttribute.h.
Referenced by OMK::Trajectory::computeParameters(), OMK::Tracker::computeParameters(), OMK::Orbit::computeParameters(), OMK::HumanoRecorder::computeParameters(), OMK::FixedPoint::computeParameters(), OMK::IAttributeT< PrmType, ModelType, AccessorType >::fireIdAndValue(), OMK::IAttributeT< PrmType, ModelType, AccessorType >::fireValue(), OMK::Inp::PlusMinusExtension< T >::increment(), OMK::Trajectory::loadParameters(), OMK::Tracker::loadParameters(), OMK::Orbit::loadParameters(), OMK::FixedPoint::loadParameters(), OMK::TriggerBaseExtension::preComputeParameters(), OMK::PreOffsetExtension::preComputeParameters(), OMK::NotAttributeExtension::preComputeParameters(), OMK::MKMMoveToTaskExtension::preComputeParameters(), OMK::MKMMotionTaskExtension::preComputeParameters(), OMK::MKMHeadToTaskExtension::preComputeParameters(), OMK::IAttributeT< PrmType, ModelType, AccessorType >::sendIdAndValue(), OMK::IAttributeT< PrmType, ModelType, AccessorType >::sendValue(), OMK::IAttributeAnimatorT< PrmType, ModelType, AccessorType >::setValueToOutput(), and OMK::IAttributeT< PrmType, ModelType, AccessorType >::setValueToOutput().
00191 { 00192 return _accessor.AccessorType::get() ; 00193 }
virtual void OMK::IAttributeT< PrmType, ModelType, AccessorType >::set | ( | const PrmType & | value | ) | [inline, virtual] |
Set the value.
[in] | value | The new value of the attribute. |
Implements OMK::IAccessorT< PrmType >.
Definition at line 198 of file OMKAttribute.h.
Referenced by OMK::Trajectory::computeParameters(), OMK::Tracker::computeParameters(), OMK::Orbit::computeParameters(), OMK::MKMHumano::computeParameters(), OMK::HumanoPlayer::computeParameters(), OMK::FixedPoint::computeParameters(), OMK::IAttributeT< PrmType, ModelType, AccessorType >::getValueFromInput(), OMK::Inp::PlusMinusExtension< T >::loadExtensionParameters(), OMK::Trajectory::loadParameters(), OMK::FixedPoint::loadParameters(), OMK::NotAttributeExtension::postComputeParameters(), OMK::DistanceToExtension::preComputeParameters(), OMK::NotAttributeExtension::preComputeParameters(), OMK::MKMMoveToTaskExtension::preComputeParameters(), OMK::IAttributeT< PrmType, ModelType, AccessorType >::processSetValue(), and OMK::IAttributeT< PrmType, ModelType, AccessorType >::processSetValueOf().
void OMK::IAttributeT< PrmType, ModelType, AccessorType >::createInput | ( | ) | [virtual] |
Creates the associated input.
The value will be retrieved with getValueFromInput().
Implements OMK::IAttribute.
Definition at line 133 of file OMKAttribute.inl.
References OMK::IAttributeT< PrmType, ModelType, AccessorType >::_input, OMK::IAttribute::_owner, OMK::IAttribute::getId(), and OMASSERTM.
00134 { 00135 OMASSERTM( !_input, "There is already an input!" ) ; 00136 00137 _input = &this->_owner->template addInput< ModelType >( getId() ) ; 00138 }
OMK::InputNT * OMK::IAttributeT< PrmType, ModelType, AccessorType >::getInput | ( | ) | [virtual] |
Returns the associated input.
Implements OMK::IAttribute.
Definition at line 160 of file OMKAttribute.inl.
References OMK::IAttributeT< PrmType, ModelType, AccessorType >::_input.
Referenced by OMK::Tracker::computeParameters(), and OMK::Iii::JointExtension::postComputeParameters().
00161 { 00162 return _input ; 00163 }
OMK::Input< ModelType > * OMK::IAttributeT< PrmType, ModelType, AccessorType >::getInputT | ( | ) |
Returns the typed associated input.
Definition at line 174 of file OMKAttribute.inl.
References OMK::IAttributeT< PrmType, ModelType, AccessorType >::_input.
00175 { 00176 return _input ; 00177 }
void OMK::IAttributeT< PrmType, ModelType, AccessorType >::createOutput | ( | ) | [virtual] |
Creates the associated output.
The call to this method must be done during the creation of the object which is the owner of the attribute.
The output will be set with setValueToOutput.
Implements OMK::IAttribute.
Definition at line 149 of file OMKAttribute.inl.
References OMK::IAttributeT< PrmType, ModelType, AccessorType >::_output, OMK::IAttribute::_owner, OMK::IAttribute::getId(), and OMK::IAttributeT< PrmType, ModelType, AccessorType >::setValueToOutput().
00150 { 00151 if( !_output ) 00152 { 00153 _output = &this->_owner->template addOutput< ModelType >( getId() ) ; 00154 } 00155 setValueToOutput() ; 00156 }
OMK::OutputNT * OMK::IAttributeT< PrmType, ModelType, AccessorType >::getOutput | ( | ) | [virtual] |
Returns the associated output.
Implements OMK::IAttribute.
Definition at line 167 of file OMKAttribute.inl.
References OMK::IAttributeT< PrmType, ModelType, AccessorType >::_output.
00168 { 00169 return _output ; 00170 }
OMK::Output< ModelType > * OMK::IAttributeT< PrmType, ModelType, AccessorType >::getOutputT | ( | ) |
Returns the associated output.
Definition at line 181 of file OMKAttribute.inl.
References OMK::IAttributeT< PrmType, ModelType, AccessorType >::_output.
00182 { 00183 return _output ; 00184 }
void OMK::IAttributeT< PrmType, ModelType, AccessorType >::getValueFromInput | ( | ) | [virtual] |
Sets the attribute value with the one retrived in the associated input.
If the associated input is not already created, the attribute value stays unchanged. The input can be created with the method createInput.
If you need the history features of the input, you must use getValueFromInput whith arguments.
AttributeT< Type > attribute( "myAttribute", Type() ) ;
...
attribute.createInput() ;
...
Type oldValue ;
attribute.getValueFromInput( oldValue, attribute.getInput(), oldTime ) ;
Implements OMK::IAttribute.
Definition at line 188 of file OMKAttribute.inl.
References OMK::IAttributeT< PrmType, ModelType, AccessorType >::_input, OMK::Input< T >::get(), OMK::Input< T >::getConnectedOutput(), and OMK::IAttributeT< PrmType, ModelType, AccessorType >::set().
00189 { 00190 if( _input && _input->getConnectedOutput() ) 00191 { 00192 set( static_cast< const PrmType & >( _input->get() ) ) ; 00193 } 00194 }
void OMK::IAttributeT< PrmType, ModelType, AccessorType >::setValueToOutput | ( | ) | [virtual] |
Sets the output value with the one retrived in the attribute.
If the associated output is not created this method does nothing. The output can be created with the method createOutput.
Implements OMK::IAttribute.
Reimplemented in OMK::IAttributeAnimatorT< PrmType, ModelType, AccessorType >, OMK::IAttributeAnimatorT< PrmType, PrmType, OMK::AccessorFctT< PrmType, ObjectType > >, OMK::IAttributeAnimatorT< PrmType, OMK::Type::SimpleTypeT< PrmType >, OMK::AccessorAccT< PrmType, PrmAccType > >, OMK::IAttributeAnimatorT< PrmType, PrmType, OMK::AccessorAccT< PrmType, PrmAccType > >, OMK::IAttributeAnimatorT< PrmType, PrmType, OMK::AccessorT< PrmType > >, OMK::IAttributeAnimatorT< PrmType, OMK::Type::SimpleTypeT< PrmType >, OMK::AccessorT< PrmType > >, and OMK::IAttributeAnimatorT< PrmType, OMK::Type::SimpleTypeT< PrmType >, OMK::AccessorFctT< PrmType, ObjectType > >.
Definition at line 220 of file OMKAttribute.inl.
References OMK::IAttributeT< PrmType, ModelType, AccessorType >::_output, OMK::IAttributeT< PrmType, ModelType, AccessorType >::get(), and OMK::Output< T >::set().
Referenced by OMK::IAttributeT< PrmType, ModelType, AccessorType >::createOutput(), OMK::Trajectory::loadParameters(), and OMK::Orbit::loadParameters().
void OMK::IAttributeT< PrmType, ModelType, AccessorType >::sendIdAndValue | ( | const Name & | receiver, | |
const EventIdentifier & | eventId, | |||
const Name & | attributeId | |||
) | [virtual] |
Sends the value to the receiver in a valued event with the specified event id.
See IAttribute::sendIdAndValue.
Implements OMK::IAttribute.
Definition at line 249 of file OMKAttribute.inl.
References OMK::IAttribute::_owner, OMK::IAttributeT< PrmType, ModelType, AccessorType >::get(), and OMK::SimulatedObject::sendValuedEvent().
00250 { 00251 this->_owner->sendValuedEvent( receiver, eventId, IdAndValueType( IdAndValuePrm( attributeId, ModelType( get() ) ) ) ) ; 00252 }
void OMK::IAttributeT< PrmType, ModelType, AccessorType >::sendValue | ( | const Name & | receiver, | |
const EventIdentifier & | eventId | |||
) | [virtual] |
Sends the value to the receiver with the specified event id.
Implements OMK::IAttribute.
Definition at line 256 of file OMKAttribute.inl.
References OMK::IAttribute::_owner, OMK::IAttributeT< PrmType, ModelType, AccessorType >::get(), and OMK::SimulatedObject::sendValuedEvent().
void OMK::IAttributeT< PrmType, ModelType, AccessorType >::fireIdAndValue | ( | const EventIdentifier & | eventId, | |
const Name & | attributeId | |||
) | [virtual] |
Sends the value to the listening objects in a valued event with the specified event id.
See IAttribute::fireIdAndValue.
Implements OMK::IAttribute.
Definition at line 263 of file OMKAttribute.inl.
References OMK::IAttribute::_owner, OMK::SimulatedObject::fireValuedSignal(), OMK::IAttributeT< PrmType, ModelType, AccessorType >::get(), and OMK::IAttribute::getId().
00264 { 00265 this->_owner->fireValuedSignal( eventId, IdAndValueType( IdAndValuePrm( getId(), ModelType( get() ) ) ) ) ; 00266 }
void OMK::IAttributeT< PrmType, ModelType, AccessorType >::fireValue | ( | const EventIdentifier & | eventId | ) | [virtual] |
Sends the value to the listening objects to inform them of the current value.
Implements OMK::IAttribute.
Definition at line 270 of file OMKAttribute.inl.
References OMK::IAttribute::_owner, OMK::SimulatedObject::fireValuedSignal(), and OMK::IAttributeT< PrmType, ModelType, AccessorType >::get().
bool OMK::IAttributeT< PrmType, ModelType, AccessorType >::processSetValueOf | ( | ValuedEvent< ModelType > * | e | ) | [protected] |
The call back method to process the update of the attribute value.
[in] | e | The valued event which encapsulate the new value. |
Definition at line 229 of file OMKAttribute.inl.
References OMK::IAttributeT< PrmType, ModelType, AccessorType >::set(), and OMK::ValuedEvent< UserType >::value.
00230 { 00231 set( static_cast< const PrmType & >( e->value ) ) ; 00232 return true ; 00233 }
bool OMK::IAttributeT< PrmType, ModelType, AccessorType >::processSetValue | ( | IdAndValueEvent * | e | ) | [protected, virtual] |
The call back method to process the update of the attribute value.
[in] | e | The valued event which encapsulate the attribute id and the new value. If the attibute id is not the good one, nothing is done. |
Implements OMK::EventTypeForAttributeT< ModelType >.
Definition at line 237 of file OMKAttribute.inl.
References OMK::IAttribute::getId(), and OMK::IAttributeT< PrmType, ModelType, AccessorType >::set().
00238 { 00239 bool ok = e && ( getId() == e->value.getValue().first ) ; 00240 if( ok ) 00241 { 00242 set( static_cast< const PrmType & >( e->value.getValue().second ) ) ; 00243 } 00244 return ok ; 00245 }
void OMK::IAttributeT< PrmType, ModelType, AccessorType >::activateSetByEvent | ( | ) | [virtual] |
Activate the handling of "current_value" event.
Creates the listener for the event to handle.
Implements OMK::IAttribute.
Definition at line 100 of file OMKAttribute.inl.
References OMK::IAttribute::_currentValueListener, OMK::EventId::CURRENT_ATTRIBUTE_VALUE, OMK::debugMsg(), OMK_DEBUG_OMK_ATTR, and OMTRACEID.
00101 { 00102 if( !this->_currentValueListener ) 00103 { 00104 this->_currentValueListener = new IdAndValueEventListener 00105 ( * this->_owner, this, 00106 (typename IdAndValueEventListener::CallBackFct)&OMK::IAttributeT< PrmType, ModelType, AccessorType >::processSetValue, 00107 EventId::CURRENT_ATTRIBUTE_VALUE ) ; 00108 OMTRACEID( OMK_DEBUG_OMK_ATTR, 00109 "Information for " << OMK::debugMsg( this ) << std::endl 00110 << ">>> :-) Set by event is activated!" ) ; 00111 } 00112 }
void OMK::IAttributeT< PrmType, ModelType, AccessorType >::activateSetByEventOf | ( | ) | [virtual] |
Activate the handling of "current_value_of_<i>id</i>" event.
Creates the listener for the event to handle.
Implements OMK::IAttribute.
Definition at line 116 of file OMKAttribute.inl.
References OMK::IAttribute::_currentValueOfListener, OMK::IAttribute::_owner, OMK::debugMsg(), OMK_DEBUG_OMK_ATTR, and OMTRACEID.
00117 { 00118 if( !this->_currentValueOfListener ) 00119 { 00120 this->_currentValueOfListener = new ValuedEventListenerCallBack< OMK::IAttributeT< PrmType, ModelType, AccessorType >, ModelType > 00121 ( * this->_owner, this, 00122 ( typename ValuedEventListenerCallBack< OMK::IAttributeT< PrmType, ModelType, AccessorType >, ModelType >::CallBackFct)&OMK::IAttributeT< PrmType, ModelType, AccessorType >::processSetValueOf, 00123 this->_currentValueOfId ) ; 00124 OMTRACEID( OMK_DEBUG_OMK_ATTR, 00125 "Information for " << OMK::debugMsg( this ) << std::endl 00126 << ">>> :-) Set by event \"" << this->_currentValueOfId.getCString() 00127 << "\" is activated!" ) ; 00128 } 00129 }
OMK::InputNT * OMK::IAttributeT< PrmType, ModelType, AccessorType >::createInput | ( | const Name & | name | ) | [virtual] |
Creates an input with the good type.
[in] | name | The name of the input to create. |
Implements OMK::IAttribute.
Definition at line 142 of file OMKAttribute.inl.
References OMK::IAttribute::_owner.
00143 { 00144 return &this->_owner->template addInput< ModelType >( name ) ; 00145 }
void OMK::IAttributeT< PrmType, ModelType, AccessorType >::getValueFromInput | ( | InputNT * | input | ) | [virtual] |
Retrieves the value in the given input to set the attribute value.
[in] | input | The input in which the value will be retrieved. |
If you need the history features of the input, you must use getValueFromInput whith arguments.
Implements OMK::IAttributeBaseT< PrmType >.
Definition at line 198 of file OMKAttribute.inl.
References OMK::Input< T >::get(), OMK::Input< T >::getConnectedOutput(), and OMK::IAttributeT< PrmType, ModelType, AccessorType >::set().
00199 { 00200 Input< ModelType >*typedInput = dynamic_cast< Input< ModelType >* >( input ) ; 00201 if( typedInput && typedInput->getConnectedOutput() ) 00202 { 00203 set( static_cast< const PrmType & >( typedInput->get() ) ) ; 00204 } 00205 }
void OMK::IAttributeT< PrmType, ModelType, AccessorType >::getValueFromInput | ( | PrmType & | value, | |
InputNT * | input, | |||
int | deltaT = 0 | |||
) | const [virtual] |
Retrieves the value in the given input.
[out] | value | The returned value. |
[in] | input | The input in which the value will be retrieved. It was previously created by the call to createInput. |
[in] | deltaT | The time of the asked value. |
If you need the history features of the input, you can specify the deltaT value.
AttributeT< Type > attribute( "myAttribute", Type() ) ; ... InputNT* myInput = attribute.createInput( "myInput" ) ; ... Type oldValue ; attribute.getValueFromInput( oldValue, myInput, oldTime ) ;
Implements OMK::IAttributeBaseT< PrmType >.
Definition at line 209 of file OMKAttribute.inl.
References OMK::Input< T >::get(), and OMK::Input< T >::getConnectedOutput().
00210 { 00211 Input< ModelType >*typedInput = dynamic_cast< Input< ModelType >* >( input ) ; 00212 if( typedInput && typedInput->getConnectedOutput() ) 00213 { 00214 value = static_cast< const PrmType & >( typedInput->get( deltaT ) ) ; 00215 } 00216 }
AccessorType OMK::IAttributeT< PrmType, ModelType, AccessorType >::_accessor [protected] |
The value of the attribute.
This value is reached through an accessor defined as a template argument.
Definition at line 206 of file OMKAttribute.h.
Referenced by OMK::IAttributeT< PrmType, OMK::Type::SimpleTypeT< PrmType >, OMK::AccessorFctT< PrmType, ObjectType > >::get(), OMK::AttributeAnimatorTypeT< PrmType >::getRef(), OMK::AttributeAnimatorT< PrmType >::getRef(), OMK::AttributeTypeT< PrmType >::getRef(), OMK::AttributeT< OMK::Type::Transform >::getRef(), OMK::IAttributeT< PrmType, OMK::Type::SimpleTypeT< PrmType >, OMK::AccessorFctT< PrmType, ObjectType > >::set(), OMK::AttributeAnimatorAccTypeT< PrmType, PrmAccType >::setAccessor(), OMK::AttributeAnimatorAccT< PrmType, PrmAccType >::setAccessor(), OMK::AttributeAccTypeT< PrmType, PrmAccType >::setAccessor(), and OMK::AttributeAccT< Type, AttributType >::setAccessor().
Input< ModelType >* OMK::IAttributeT< PrmType, ModelType, AccessorType >::_input [protected] |
The associated input.
The associated input is created by a call to createInput whithout argument.
Definition at line 247 of file OMKAttribute.h.
Referenced by OMK::IAttributeT< PrmType, ModelType, AccessorType >::createInput(), OMK::IAttributeT< PrmType, ModelType, AccessorType >::getInput(), OMK::IAttributeT< PrmType, ModelType, AccessorType >::getInputT(), OMK::IAttributeT< PrmType, ModelType, AccessorType >::getValueFromInput(), and OMK::IAttributeT< PrmType, ModelType, AccessorType >::~IAttributeT().
Output< ModelType >* OMK::IAttributeT< PrmType, ModelType, AccessorType >::_output [protected] |
The associated output.
The associated output is created by a call to createOutput and is set with calls to setValueToOutput.
Definition at line 251 of file OMKAttribute.h.
Referenced by OMK::IAttributeT< PrmType, ModelType, AccessorType >::createOutput(), OMK::IAttributeT< PrmType, ModelType, AccessorType >::getOutput(), OMK::IAttributeT< PrmType, ModelType, AccessorType >::getOutputT(), OMK::IAttributeAnimatorT< PrmType, ModelType, AccessorType >::setValueToOutput(), and OMK::IAttributeT< PrmType, ModelType, AccessorType >::setValueToOutput().
Documentation generated on Mon Jun 9 11:46:01 2008 |
Generated with doxygen by Dimitri van Heesch , 1997-2007 |