![]() |
MAK RTIspy API Documentation for HLA 1516
|
Collaboration diagram for ULongHandleImplementation:Public Member Functions | |
| ULongHandleImplementation () | |
| Constructors. | |
| ULongHandleImplementation (unsigned long handleValue) | |
| ULongHandleImplementation (ULongHandleImplementation const &rhs) | |
| ULongHandleImplementation & | operator= (ULongHandleImplementation const &rhs) |
| Assignment. | |
| bool | operator== (ULongHandleImplementation const &rhs) const |
| Relational operators. | |
| bool | operator!= (ULongHandleImplementation const &rhs) const |
| bool | operator< (ULongHandleImplementation const &rhs) const |
| rti1516::VariableLengthData | encode () const |
| Generate an encoded value that can be used to send handles to other federates in updates or interactions. | |
| unsigned long | encode (void *buffer, unsigned long bufferSize) const |
| Alternate encode for directly filling a buffer. | |
| unsigned long | encodedLength () const |
| void | decode (rti1516::VariableLengthData const &encodedHandle) |
| Decode VariableLengthData into self. | |
| void | decode (void *buffer, unsigned long bufferSize) |
| Alternate decode that reads directly from a buffer. | |
| std::wstring | toString () const |
| Return a string representation of handle. | |
| void | setValue (long val) |
| Set/Get implementation. | |
| long | value () const |
Protected Attributes | |
| unsigned long | myValue |
| ULongHandleImplementation::ULongHandleImplementation | ( | ) | [inline] |
Constructors.
| ULongHandleImplementation::ULongHandleImplementation | ( | unsigned long | handleValue | ) | [inline] |
| ULongHandleImplementation::ULongHandleImplementation | ( | ULongHandleImplementation const & | rhs | ) | [inline] |
| void ULongHandleImplementation::decode | ( | rti1516::VariableLengthData const & | encodedHandle | ) | [inline] |
Decode VariableLengthData into self.
References rti1516::VariableLengthData::data(), and myValue.
| void ULongHandleImplementation::decode | ( | void * | buffer, |
| unsigned long | bufferSize | ||
| ) | [inline] |
Alternate decode that reads directly from a buffer.
References myValue.
| rti1516::VariableLengthData ULongHandleImplementation::encode | ( | ) | const [inline] |
Generate an encoded value that can be used to send handles to other federates in updates or interactions.
References myValue.
| unsigned long ULongHandleImplementation::encode | ( | void * | buffer, |
| unsigned long | bufferSize | ||
| ) | const [inline] |
Alternate encode for directly filling a buffer.
References myValue.
| unsigned long ULongHandleImplementation::encodedLength | ( | ) | const [inline] |
| bool ULongHandleImplementation::operator!= | ( | ULongHandleImplementation const & | rhs | ) | const [inline] |
References myValue.
| bool ULongHandleImplementation::operator< | ( | ULongHandleImplementation const & | rhs | ) | const [inline] |
References myValue.
| ULongHandleImplementation & ULongHandleImplementation::operator= | ( | ULongHandleImplementation const & | rhs | ) | [inline] |
Assignment.
References myValue.
| bool ULongHandleImplementation::operator== | ( | ULongHandleImplementation const & | rhs | ) | const [inline] |
Relational operators.
References myValue.
| void ULongHandleImplementation::setValue | ( | long | val | ) | [inline] |
Set/Get implementation.
References myValue.
| std::wstring ULongHandleImplementation::toString | ( | ) | const [inline] |
Return a string representation of handle.
References myValue.
| long ULongHandleImplementation::value | ( | ) | const [inline] |
References myValue.
unsigned long ULongHandleImplementation::myValue [protected] |
Referenced by decode(), encode(), operator!=(), operator<(), operator=(), operator==(), setValue(), toString(), and value().