#include <RobonetDataElement.h>
Static Public Member Functions | |
| static uint32_t | combineRawValues (std::pair< uint16_t, uint16_t > rawPair) |
| template<typename T > | |
| static T | fromUnsignedIntTo (uint32_t data) |
| Convert a value from an unsigned integer to any specified data type. | |
| static std::pair< uint16_t, uint16_t > | separateRawValues (uint32_t value) |
| template<typename T > | |
| static uint32_t | toUnsignedIntFrom (T value) |
| Convert a value from any specified data type to an unsigned integer. | |
Definition at line 26 of file RobonetDataElement.h.
| uint32_t DataMangler::combineRawValues | ( | std::pair< uint16_t, uint16_t > | rawPair | ) | [static] |
Definition at line 20 of file RobonetDataElement.cpp.
| bool DataMangler::fromUnsignedIntTo< bool > | ( | uint32_t | data | ) | [inline, static] |
Convert a value from an unsigned integer to any specified data type.
| data | The unsigned integer value. |
Uses the "void pointer" method of conversion.
| data | The unsigned integer value. |
boolean conversion based on C++ spec.
Definition at line 42 of file RobonetDataElement.h.
| pair< uint16_t, uint16_t > DataMangler::separateRawValues | ( | uint32_t | value | ) | [static] |
Definition at line 28 of file RobonetDataElement.cpp.
| static uint32_t DataMangler::toUnsignedIntFrom | ( | T | value | ) | [inline, static] |
Convert a value from any specified data type to an unsigned integer.
| value | The value in the specified data type. |
Uses the "void pointer" method of conversion.
Definition at line 59 of file RobonetDataElement.h.