Public Member Functions | Private Member Functions | Private Attributes | List of all members
rosbag::Buffer Class Reference

#include <buffer.h>

Public Member Functions

 Buffer ()
 
uint32_t getCapacity () const
 
uint8_tgetData ()
 
uint32_t getSize () const
 
void setSize (uint32_t size)
 
 ~Buffer ()
 

Private Member Functions

void ensureCapacity (uint32_t capacity)
 

Private Attributes

uint8_tbuffer_
 
uint32_t capacity_
 
uint32_t size_
 

Detailed Description

Definition at line 43 of file buffer.h.

Constructor & Destructor Documentation

rosbag::Buffer::Buffer ( )

Definition at line 44 of file buffer.cpp.

rosbag::Buffer::~Buffer ( )

Definition at line 46 of file buffer.cpp.

Member Function Documentation

void rosbag::Buffer::ensureCapacity ( uint32_t  capacity)
private

Definition at line 59 of file buffer.cpp.

uint32_t rosbag::Buffer::getCapacity ( ) const

Definition at line 51 of file buffer.cpp.

uint8_t * rosbag::Buffer::getData ( )

Definition at line 50 of file buffer.cpp.

uint32_t rosbag::Buffer::getSize ( ) const

Definition at line 52 of file buffer.cpp.

void rosbag::Buffer::setSize ( uint32_t  size)

Definition at line 54 of file buffer.cpp.

Member Data Documentation

uint8_t* rosbag::Buffer::buffer_
private

Definition at line 59 of file buffer.h.

uint32_t rosbag::Buffer::capacity_
private

Definition at line 60 of file buffer.h.

uint32_t rosbag::Buffer::size_
private

Definition at line 61 of file buffer.h.


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


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:40