Public Member Functions | Private Attributes
BasicDataBuffer Class Reference

#include <BasicDataBuffer.hpp>

List of all members.

Public Member Functions

 BasicDataBuffer ()
 Default constructor.
UINT32 getBufferSize ()
UINT32 getUsedBytes ()
BasicDatapopData ()
bool pushData (BasicData *data)
void setLimit (UINT32 maxBytesToBeUsed)
 ~BasicDataBuffer ()
 Destructor.

Private Attributes

bool m_beVerbose
std::list< BasicData * > m_buffer
UINT32 m_bytesMax
UINT32 m_bytesUsed
Mutex m_mutex

Detailed Description

Definition at line 18 of file BasicDataBuffer.hpp.


Constructor & Destructor Documentation

Default constructor.

Definition at line 13 of file BasicDataBuffer.cpp.

Destructor.

Definition at line 23 of file BasicDataBuffer.cpp.


Member Function Documentation

Liefert die Anzahl der aktuell gespeicherten Datensaetze.

Definition at line 56 of file BasicDataBuffer.cpp.

Liefert die aktuell genutzte Speichergroesse.

Definition at line 47 of file BasicDataBuffer.cpp.

Definition at line 99 of file BasicDataBuffer.cpp.

Definition at line 67 of file BasicDataBuffer.cpp.

void BasicDataBuffer::setLimit ( UINT32  maxBytesToBeUsed)

Setze das Speicher-Limit, in Bytes. 0 = Kein Limit.

Falls bereits zu viel Speicher benutzt wird, wird dieser nicht sofort freigegeben, aber keine weiteren Elemente akzeptiert.

Definition at line 37 of file BasicDataBuffer.cpp.


Member Data Documentation

Definition at line 35 of file BasicDataBuffer.hpp.

std::list<BasicData*> BasicDataBuffer::m_buffer [private]

Definition at line 37 of file BasicDataBuffer.hpp.

Definition at line 36 of file BasicDataBuffer.hpp.

Definition at line 38 of file BasicDataBuffer.hpp.

Definition at line 39 of file BasicDataBuffer.hpp.


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


libsick_ldmrs
Author(s): SICK AG , Martin G√ľnther , Jochen Sprickerhof
autogenerated on Wed Jun 14 2017 04:04:50