Class that encapsulates a buffer that was sent as return to a sync call. (variable / method) More...
#include <sick_scan_common_nw.h>
Public Member Functions | |
BYTE * | getBuffer () |
bool | isValid () |
UINT32 | size () |
SopasAnswer (const BYTE *answer, UINT32 answerLength) | |
Constructor. Copies the content of the answer into the buffer of this object. | |
~SopasAnswer () | |
Destructor. Frees the memory for the copied buffer. | |
Private Attributes | |
BYTE * | m_answerBuffer |
UINT32 | m_answerLength |
Class that encapsulates a buffer that was sent as return to a sync call. (variable / method)
Definition at line 181 of file sick_scan_common_nw.h.
SopasAnswer::SopasAnswer | ( | const BYTE * | answer, |
UINT32 | answerLength | ||
) |
Constructor. Copies the content of the answer into the buffer of this object.
Destructor. Frees the memory for the copied buffer.
BYTE* SopasAnswer::getBuffer | ( | ) | [inline] |
Definition at line 190 of file sick_scan_common_nw.h.
bool SopasAnswer::isValid | ( | ) | [inline] |
Definition at line 194 of file sick_scan_common_nw.h.
UINT32 SopasAnswer::size | ( | ) | [inline] |
Definition at line 192 of file sick_scan_common_nw.h.
BYTE* SopasAnswer::m_answerBuffer [private] |
Definition at line 198 of file sick_scan_common_nw.h.
UINT32 SopasAnswer::m_answerLength [private] |
Definition at line 197 of file sick_scan_common_nw.h.