Namespaces | Macros | Functions
colaa.cpp File Reference

ASCII-Handling of SOPAS-messages. More...

#include "sick_scan/tcp/colaa.hpp"
#include <cstring>
#include <cassert>
#include <stdexcept>
#include "sick_scan/tcp/toolbox.hpp"
#include "sick_scan/tcp/errorhandler.hpp"
#include <stdlib.h>
#include <limits>
Include dependency graph for colaa.cpp:

Go to the source code of this file.

Namespaces

 colaa
 

Macros

#define _CRT_SECURE_NO_WARNINGS
 

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) More...
 
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)
 
std::string colaa::getNextStringToken (UINT8 *rxData)
 
bool colaa::GetNibble (unsigned char data, unsigned char &rNibble)
 
UINT16 colaa::getValueOfChar (UINT8 c)
 
UINT8 colaa::nibbleToAscii (UINT8 value)
 

Detailed Description

ASCII-Handling of SOPAS-messages.

Definition in file colaa.cpp.

Macro Definition Documentation

#define _CRT_SECURE_NO_WARNINGS

Definition at line 9 of file colaa.cpp.



sick_scan
Author(s): Michael Lehning , Jochen Sprickerhof , Martin Günther
autogenerated on Wed May 5 2021 03:05:48