Public Member Functions | Private Attributes | List of all members
devices::SopasAnswer Class Reference

Class that encapsulates a buffer that was sent as return to a sync call. (variable / method) More...

#include <SopasBase.hpp>

Public Member Functions

BYTEgetBuffer ()
 
bool isValid ()
 
UINT32 size ()
 
 SopasAnswer (const BYTE *answer, UINT32 answerLength)
 Constructor. Copies the content of the answer into the buffer of this object. More...
 
 ~SopasAnswer ()
 Destructor. Frees the memory for the copied buffer. More...
 

Private Attributes

BYTEm_answerBuffer
 
UINT32 m_answerLength
 

Detailed Description

Class that encapsulates a buffer that was sent as return to a sync call. (variable / method)

Definition at line 484 of file SopasBase.hpp.

Constructor & Destructor Documentation

◆ SopasAnswer()

SopasAnswer::SopasAnswer ( const BYTE answer,
UINT32  answerLength 
)

Constructor. Copies the content of the answer into the buffer of this object.

Definition at line 2345 of file SopasBase.cpp.

◆ ~SopasAnswer()

SopasAnswer::~SopasAnswer ( )

Destructor. Frees the memory for the copied buffer.

Definition at line 2358 of file SopasBase.cpp.

Member Function Documentation

◆ getBuffer()

BYTE* devices::SopasAnswer::getBuffer ( )
inline

Definition at line 493 of file SopasBase.hpp.

◆ isValid()

bool devices::SopasAnswer::isValid ( )
inline

Definition at line 497 of file SopasBase.hpp.

◆ size()

UINT32 devices::SopasAnswer::size ( )
inline

Definition at line 495 of file SopasBase.hpp.

Member Data Documentation

◆ m_answerBuffer

BYTE* devices::SopasAnswer::m_answerBuffer
private

Definition at line 501 of file SopasBase.hpp.

◆ m_answerLength

UINT32 devices::SopasAnswer::m_answerLength
private

Definition at line 500 of file SopasBase.hpp.


The documentation for this class was generated from the following files:


sick_scan
Author(s): Michael Lehning , Jochen Sprickerhof , Martin Günther
autogenerated on Thu Sep 8 2022 02:30:19