Functions
sick::read_write_helper Namespace Reference

Functions

int16_t readInt16BigEndian (std::vector< uint8_t >::const_iterator it)
 Read a signed 16-bit integer at offset in big endian encoding. More...
 
int16_t readInt16LittleEndian (std::vector< uint8_t >::const_iterator it)
 Read a signed 16-bit integer at offset in little endian encoding. More...
 
int32_t readInt32BigEndian (std::vector< uint8_t >::const_iterator it)
 Read an unsigned 32-bit integer at offset in big endian encoding. More...
 
int32_t readInt32LittleEndian (std::vector< uint8_t >::const_iterator it)
 Read an unsigned 32-bit integer at offset in little endian encoding. More...
 
int8_t readInt8 (std::vector< uint8_t >::const_iterator it)
 Read a signed 8-bit integer at offset. More...
 
int8_t readInt8BigEndian (std::vector< uint8_t >::const_iterator it)
 Read a signed 8-bit integer at offset in big endian encoding. More...
 
int8_t readInt8LittleEndian (std::vector< uint8_t >::const_iterator it)
 Read a signed 8-bit integer at offset in little endian encoding. More...
 
uint16_t readUint16BigEndian (std::vector< uint8_t >::const_iterator it)
 Read an unsigned 16-bit integer at offset in big endian encoding. More...
 
uint16_t readUint16LittleEndian (std::vector< uint8_t >::const_iterator it)
 Read an unsigned 16-bit integer at offset in little endian encoding. More...
 
uint32_t readUint32BigEndian (std::vector< uint8_t >::const_iterator it)
 Read an unsigned 32-bit integer at offset in big endian encoding. More...
 
uint32_t readUint32LittleEndian (std::vector< uint8_t >::const_iterator it)
 Read an unsigned 32-bit integer at offset in little endian encoding. More...
 
uint8_t readUint8 (std::vector< uint8_t >::const_iterator it)
 Read an unsigned 8-bit integer at offset. More...
 
uint8_t readUint8BigEndian (std::vector< uint8_t >::const_iterator it)
 Read an unsigned 8-bit integer at offset in big endian encoding. More...
 
uint8_t readUint8LittleEndian (std::vector< uint8_t >::const_iterator it)
 Read an unsigned 8-bit integer at offset in big little encoding. More...
 
void writeInt8 (std::vector< uint8_t >::iterator it, const uint8_t v)
 Writes a signed 8-bit integer to a buffer at offset. More...
 
void writeInt8BigEndian (std::vector< uint8_t >::iterator it, const uint8_t v)
 Writes a signed 8-bit integer to a buffer at offset in big endian encoding. More...
 
void writeInt8LittleEndian (std::vector< uint8_t >::iterator it, const uint8_t v)
 Writes a signed 8-bit integer to a buffer at offset in little endian encoding. More...
 
void writeUint16BigEndian (std::vector< uint8_t >::iterator it, const uint16_t v)
 Writes an unsigned 16-bit integer to a buffer at offset in big endian encoding. More...
 
void writeUint16LittleEndian (std::vector< uint8_t >::iterator it, const uint16_t v)
 Writes an unsigned 16-bit integer to a buffer at offset in little endian encoding. More...
 
void writeUint32BigEndian (std::vector< uint8_t >::iterator it, const uint32_t v)
 Writes an unsigned 32-bit integer to a buffer at offset in big endian encoding. More...
 
void writeUint32LittleEndian (std::vector< uint8_t >::iterator it, const uint32_t v)
 Writes an unsigned 32-bit integer to a buffer at offset in little endian encoding. More...
 
void writeUint8 (std::vector< uint8_t >::iterator it, const uint8_t v)
 Helper Functions read and write data at a certain place in a buffer. More...
 
void writeUint8BigEndian (std::vector< uint8_t >::iterator it, const uint8_t v)
 Writes an unsigned 8-bit integer to a buffer at offset in big endian encoding. More...
 
void writeUint8LittleEndian (std::vector< uint8_t >::iterator it, const uint8_t v)
 Writes an unsigned 8-bit integer to a buffer at offset in little endian encoding. More...
 

Function Documentation

int16_t sick::read_write_helper::readInt16BigEndian ( std::vector< uint8_t >::const_iterator  it)
inline

Read a signed 16-bit integer at offset in big endian encoding.

Parameters
bufBuffer to read from.
offsetPosition of integer.
Returns
The value of the read integer.

Definition at line 287 of file ReadWriteHelper.hpp.

int16_t sick::read_write_helper::readInt16LittleEndian ( std::vector< uint8_t >::const_iterator  it)
inline

Read a signed 16-bit integer at offset in little endian encoding.

Parameters
bufBuffer to read from.
offsetPosition of integer.
Returns
The value of the read integer.

Definition at line 300 of file ReadWriteHelper.hpp.

int32_t sick::read_write_helper::readInt32BigEndian ( std::vector< uint8_t >::const_iterator  it)
inline

Read an unsigned 32-bit integer at offset in big endian encoding.

Parameters
bufBuffer to read from.
offsetPosition of integer.
Returns
The value of the read integer.

Definition at line 339 of file ReadWriteHelper.hpp.

int32_t sick::read_write_helper::readInt32LittleEndian ( std::vector< uint8_t >::const_iterator  it)
inline

Read an unsigned 32-bit integer at offset in little endian encoding.

Parameters
bufBuffer to read from.
offsetPosition of integer.
Returns
The value of the read integer.

Definition at line 353 of file ReadWriteHelper.hpp.

int8_t sick::read_write_helper::readInt8 ( std::vector< uint8_t >::const_iterator  it)
inline

Read a signed 8-bit integer at offset.

Parameters
bufBuffer to read from.
offsetPosition of integer.
Returns
The value of the read integer.

Definition at line 222 of file ReadWriteHelper.hpp.

int8_t sick::read_write_helper::readInt8BigEndian ( std::vector< uint8_t >::const_iterator  it)
inline

Read a signed 8-bit integer at offset in big endian encoding.

Parameters
bufBuffer to read from.
offsetPosition of integer.
Returns
The value of the read integer.

Definition at line 235 of file ReadWriteHelper.hpp.

int8_t sick::read_write_helper::readInt8LittleEndian ( std::vector< uint8_t >::const_iterator  it)
inline

Read a signed 8-bit integer at offset in little endian encoding.

Parameters
bufBuffer to read from.
offsetPosition of integer.
Returns
The value of the read integer.

Definition at line 248 of file ReadWriteHelper.hpp.

uint16_t sick::read_write_helper::readUint16BigEndian ( std::vector< uint8_t >::const_iterator  it)
inline

Read an unsigned 16-bit integer at offset in big endian encoding.

Parameters
bufBuffer to read from.
offsetPosition of integer.
Returns
The value of the read integer.

Definition at line 261 of file ReadWriteHelper.hpp.

uint16_t sick::read_write_helper::readUint16LittleEndian ( std::vector< uint8_t >::const_iterator  it)
inline

Read an unsigned 16-bit integer at offset in little endian encoding.

Parameters
bufBuffer to read from.
offsetPosition of integer.
Returns
The value of the read integer.

Definition at line 274 of file ReadWriteHelper.hpp.

uint32_t sick::read_write_helper::readUint32BigEndian ( std::vector< uint8_t >::const_iterator  it)
inline

Read an unsigned 32-bit integer at offset in big endian encoding.

Parameters
bufBuffer to read from.
offsetPosition of integer.
Returns
The value of the read integer.

Definition at line 313 of file ReadWriteHelper.hpp.

uint32_t sick::read_write_helper::readUint32LittleEndian ( std::vector< uint8_t >::const_iterator  it)
inline

Read an unsigned 32-bit integer at offset in little endian encoding.

Parameters
bufBuffer to read from.
offsetPosition of integer.
Returns
The value of the read integer.

Definition at line 326 of file ReadWriteHelper.hpp.

uint8_t sick::read_write_helper::readUint8 ( std::vector< uint8_t >::const_iterator  it)
inline

Read an unsigned 8-bit integer at offset.

Parameters
bufBuffer to read from.
offsetPosition of integer.
Returns
The value of the read integer.

Definition at line 183 of file ReadWriteHelper.hpp.

uint8_t sick::read_write_helper::readUint8BigEndian ( std::vector< uint8_t >::const_iterator  it)
inline

Read an unsigned 8-bit integer at offset in big endian encoding.

Parameters
bufBuffer to read from.
offsetPosition of integer.
Returns
The value of the read integer.

Definition at line 196 of file ReadWriteHelper.hpp.

uint8_t sick::read_write_helper::readUint8LittleEndian ( std::vector< uint8_t >::const_iterator  it)
inline

Read an unsigned 8-bit integer at offset in big little encoding.

Parameters
bufBuffer to read from.
offsetPosition of integer.
Returns
The value of the read integer.

Definition at line 209 of file ReadWriteHelper.hpp.

void sick::read_write_helper::writeInt8 ( std::vector< uint8_t >::iterator  it,
const uint8_t  v 
)
inline

Writes a signed 8-bit integer to a buffer at offset.

Parameters
bufThe buffer to write to.
vValue which will be written.

Definition at line 89 of file ReadWriteHelper.hpp.

void sick::read_write_helper::writeInt8BigEndian ( std::vector< uint8_t >::iterator  it,
const uint8_t  v 
)
inline

Writes a signed 8-bit integer to a buffer at offset in big endian encoding.

Parameters
bufThe buffer to write to.
vValue which will be written.

Definition at line 101 of file ReadWriteHelper.hpp.

void sick::read_write_helper::writeInt8LittleEndian ( std::vector< uint8_t >::iterator  it,
const uint8_t  v 
)
inline

Writes a signed 8-bit integer to a buffer at offset in little endian encoding.

Parameters
bufThe buffer to write to.
vValue which will be written.

Definition at line 113 of file ReadWriteHelper.hpp.

void sick::read_write_helper::writeUint16BigEndian ( std::vector< uint8_t >::iterator  it,
const uint16_t  v 
)
inline

Writes an unsigned 16-bit integer to a buffer at offset in big endian encoding.

Parameters
bufThe buffer to write to.
vValue which will be written.

Definition at line 125 of file ReadWriteHelper.hpp.

void sick::read_write_helper::writeUint16LittleEndian ( std::vector< uint8_t >::iterator  it,
const uint16_t  v 
)
inline

Writes an unsigned 16-bit integer to a buffer at offset in little endian encoding.

Parameters
bufThe buffer to write to.
vValue which will be written.

Definition at line 138 of file ReadWriteHelper.hpp.

void sick::read_write_helper::writeUint32BigEndian ( std::vector< uint8_t >::iterator  it,
const uint32_t  v 
)
inline

Writes an unsigned 32-bit integer to a buffer at offset in big endian encoding.

Parameters
bufThe buffer to write to.
vValue which will be written.

Definition at line 152 of file ReadWriteHelper.hpp.

void sick::read_write_helper::writeUint32LittleEndian ( std::vector< uint8_t >::iterator  it,
const uint32_t  v 
)
inline

Writes an unsigned 32-bit integer to a buffer at offset in little endian encoding.

Parameters
bufThe buffer to write to.
vValue which will be written.

Definition at line 167 of file ReadWriteHelper.hpp.

void sick::read_write_helper::writeUint8 ( std::vector< uint8_t >::iterator  it,
const uint8_t  v 
)
inline

Helper Functions read and write data at a certain place in a buffer.

Writes an unsigned 8-bit integer to a buffer at offset.

Parameters
bufThe buffer to write to.
vValue which will be written.

Definition at line 53 of file ReadWriteHelper.hpp.

void sick::read_write_helper::writeUint8BigEndian ( std::vector< uint8_t >::iterator  it,
const uint8_t  v 
)
inline

Writes an unsigned 8-bit integer to a buffer at offset in big endian encoding.

Parameters
bufThe buffer to write to.
vValue which will be written.

Definition at line 65 of file ReadWriteHelper.hpp.

void sick::read_write_helper::writeUint8LittleEndian ( std::vector< uint8_t >::iterator  it,
const uint8_t  v 
)
inline

Writes an unsigned 8-bit integer to a buffer at offset in little endian encoding.

Parameters
bufThe buffer to write to.
vValue which will be written.

Definition at line 77 of file ReadWriteHelper.hpp.



sick_safetyscanners
Author(s): Lennart Puck
autogenerated on Fri Apr 2 2021 02:45:42