Class that encapsulates a buffer that was sent as return to a sync call. (variable / method) More...
#include <SopasBase.hpp>
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 484 of file SopasBase.hpp.
devices::SopasAnswer::SopasAnswer | ( | const BYTE * | answer, |
UINT32 | answerLength | ||
) |
Constructor. Copies the content of the answer into the buffer of this object.
Definition at line 2347 of file SopasBase.cpp.
Destructor. Frees the memory for the copied buffer.
Definition at line 2360 of file SopasBase.cpp.
BYTE* devices::SopasAnswer::getBuffer | ( | ) | [inline] |
Definition at line 493 of file SopasBase.hpp.
bool devices::SopasAnswer::isValid | ( | ) | [inline] |
Definition at line 497 of file SopasBase.hpp.
UINT32 devices::SopasAnswer::size | ( | ) | [inline] |
Definition at line 495 of file SopasBase.hpp.
BYTE* devices::SopasAnswer::m_answerBuffer [private] |
Definition at line 501 of file SopasBase.hpp.
UINT32 devices::SopasAnswer::m_answerLength [private] |
Definition at line 500 of file SopasBase.hpp.