#include "../BasicDatatypes.hpp"
Go to the source code of this file.
Namespaces | |
namespace | colaa |
namespace | colaa::detail |
Functions | |
void | colaa::addFrameToBuffer (UINT8 *sendBuffer, UINT8 *cmdBuffer, UINT16 *len) |
UINT16 | colaa::addINT32ToBuffer (UINT8 *buffer, INT32 value) |
UINT16 | colaa::addINT8ToBuffer (UINT8 *buffer, INT8 value) |
UINT16 | colaa::addStringToBuffer (UINT8 *buffer, const std::string &text) |
UINT16 | colaa::addUINT16ToBuffer (UINT8 *buffer, UINT16 value) |
UINT16 | colaa::addUINT32ToBuffer (UINT8 *buffer, UINT32 value) |
UINT16 | colaa::addUINT8ToBuffer (UINT8 *buffer, UINT8 value) |
std::string | colaa::convertRxBufferToString (UINT8 *buffer, UINT16 bufferLen) |
INT16 | colaa::decodeINT16 (std::string *rxData) |
INT16 | colaa::decodeINT16 (const std::string &rxData) |
INT32 | colaa::decodeINT32 (std::string *rxData) |
INT32 | colaa::decodeINT32 (const std::string &rxData) |
double | colaa::decodeReal (std::string *rxData) |
double | colaa::decodeReal (const std::string &rxData) |
set of more efficient functions that do not copy strings (should be prefered in use together with the colaa::tokenizer) | |
std::string | colaa::decodeString (std::string *rxData, UINT16 len) |
UINT16 | colaa::decodeUINT16 (BYTE *buffer) |
UINT16 | colaa::decodeUINT16 (std::string *rxData) |
UINT16 | colaa::decodeUINT16 (const std::string &rxData) |
UINT32 | colaa::decodeUINT32 (std::string *rxData) |
UINT32 | colaa::decodeUINT32 (const std::string &rxData) |
UINT8 | colaa::decodeUINT8 (std::string *rxData) |
UINT8 | colaa::decodeUINT8 (const std::string &rxData) |
UINT32 | colaa::decodeXByte (std::string *rxData, UINT16 len) |
std::string | colaa::getNextStringToken (std::string *rxData) |
UINT16 | colaa::getValueOfChar (UINT8 c) |
UINT8 | colaa::nibbleToAscii (UINT8 value) |
template<typename T > | |
T | colaa::detail::read (const std::string &str) |
General template which is unimplemented; implemented specializations follow below. | |
template<> | |
double | colaa::detail::read< double > (const std::string &rxData) |
template<> | |
INT16 | colaa::detail::read< INT16 > (const std::string &rxData) |
template<> | |
INT32 | colaa::detail::read< INT32 > (const std::string &rxData) |
template<> | |
INT8 | colaa::detail::read< INT8 > (const std::string &rxData) |
template<> | |
std::string | colaa::detail::read< std::string > (const std::string &rxData) |
template<> | |
UINT16 | colaa::detail::read< UINT16 > (const std::string &rxData) |
template<> | |
UINT32 | colaa::detail::read< UINT32 > (const std::string &rxData) |
template<> | |
UINT8 | colaa::detail::read< UINT8 > (const std::string &rxData) |
UINT16 | colaa::detail::writeToBuffer (BYTE *buffer, double value) |
UINT16 | colaa::detail::writeToBuffer (BYTE *buffer, UINT8 value) |
UINT16 | colaa::detail::writeToBuffer (BYTE *buffer, INT8 value) |
UINT16 | colaa::detail::writeToBuffer (BYTE *buffer, UINT16 value) |
UINT16 | colaa::detail::writeToBuffer (BYTE *buffer, INT16 value) |
UINT16 | colaa::detail::writeToBuffer (BYTE *buffer, UINT32 value) |
UINT16 | colaa::detail::writeToBuffer (BYTE *buffer, INT32 value) |
UINT16 | colaa::detail::writeToBuffer (BYTE *buffer, const std::string &value) |