#include <distypes.h>
Public Member Functions | |
| ArticulatedParameter (unsigned char articulatedParameterChange=0, unsigned short partAttachedTo=0) | |
| Constructor. | |
| ArticulatedParameter (unsigned char articulatedParameterChange, unsigned short partAttachedTo, const ParameterValue ¶meterValue) | |
| Constructor. | |
| size_t | EncodedLength () const |
| Returns the encoded length of this object. | |
| void | Encode (char *buf) const |
| Encodes this object into the specified buffer. | |
| void | Decode (const char *buf) |
| Decodes the values contained in the specified buffer. | |
| void | SetArticulatedParameterChange (unsigned char articulatedParameterChange) |
| Sets the articulated parameter change. | |
| unsigned char | GetArticulatedParameterChange () const |
| Returns the articulated parameter change. | |
| void | SetPartAttachedTo (unsigned short partAttachedTo) |
| Sets the part attached to. | |
| unsigned short | GetPartAttachedTo () const |
| Returns the part attached to. | |
| void | SetParameterValue (const ParameterValue ¶meterValue) |
| Sets the parameter value. | |
| ParameterValue & | GetParameterValue () |
| Returns the parameter value. | |
| const ParameterValue & | GetParameterValue () const |
| bool | IsEqual (const ArticulatedParameter &other) const |
| Returns true this equals another ArticulatedParameter object. | |
| dtHLAGM::ArticulatedParameter::ArticulatedParameter | ( | unsigned char | articulatedParameterChange = 0, |
|
| unsigned short | partAttachedTo = 0 | |||
| ) |
Constructor.
| articulatedParameterChange | the articulated parameter change | |
| partAttachedTo | the part attached to |
| dtHLAGM::ArticulatedParameter::ArticulatedParameter | ( | unsigned char | articulatedParameterChange, | |
| unsigned short | partAttachedTo, | |||
| const ParameterValue & | parameterValue | |||
| ) |
Constructor.
| articulatedParameterChange | the articulated parameter change | |
| partAttachedTo | the part attached to | |
| parameterValue | the parameter value |
| size_t dtHLAGM::ArticulatedParameter::EncodedLength | ( | ) | const |
Returns the encoded length of this object.
| void dtHLAGM::ArticulatedParameter::Encode | ( | char * | buf | ) | const |
Encodes this object into the specified buffer.
| buf | the buffer to contain the encoded object |
| void dtHLAGM::ArticulatedParameter::Decode | ( | const char * | buf | ) |
Decodes the values contained in the specified buffer.
| buf | the buffer containing the encoded object |
| void dtHLAGM::ArticulatedParameter::SetArticulatedParameterChange | ( | unsigned char | articulatedParameterChange | ) |
Sets the articulated parameter change.
| articulatedParameterChange | the articulated parameter change |
| unsigned char dtHLAGM::ArticulatedParameter::GetArticulatedParameterChange | ( | ) | const |
Returns the articulated parameter change.
| void dtHLAGM::ArticulatedParameter::SetPartAttachedTo | ( | unsigned short | partAttachedTo | ) |
Sets the part attached to.
| partAttachedTo | the part attached to |
| unsigned short dtHLAGM::ArticulatedParameter::GetPartAttachedTo | ( | ) | const |
Returns the part attached to.
| void dtHLAGM::ArticulatedParameter::SetParameterValue | ( | const ParameterValue & | parameterValue | ) |
Sets the parameter value.
| parameterValue | the parameter value to copy |
| ParameterValue & dtHLAGM::ArticulatedParameter::GetParameterValue | ( | ) |
Returns the parameter value.
| const ParameterValue & dtHLAGM::ArticulatedParameter::GetParameterValue | ( | ) | const |
| bool dtHLAGM::ArticulatedParameter::IsEqual | ( | const ArticulatedParameter & | other | ) | const |
Returns true this equals another ArticulatedParameter object.
This will handle the complexity of comparing all contained objects.