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

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

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 191 of file sick_scan_common_nw.h.

Constructor & Destructor Documentation

◆ SopasAnswer()

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

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

◆ ~SopasAnswer()

SopasAnswer::~SopasAnswer ( )

Destructor. Frees the memory for the copied buffer.

Member Function Documentation

◆ getBuffer()

BYTE* SopasAnswer::getBuffer ( )
inline

Definition at line 200 of file sick_scan_common_nw.h.

◆ isValid()

bool SopasAnswer::isValid ( )
inline

Definition at line 206 of file sick_scan_common_nw.h.

◆ size()

UINT32 SopasAnswer::size ( )
inline

Definition at line 203 of file sick_scan_common_nw.h.

Member Data Documentation

◆ m_answerBuffer

BYTE* SopasAnswer::m_answerBuffer
private

Definition at line 211 of file sick_scan_common_nw.h.

◆ m_answerLength

UINT32 SopasAnswer::m_answerLength
private

Definition at line 210 of file sick_scan_common_nw.h.


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


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