#include <buffer.h>
Public Member Functions | |
Buffer () | |
uint32_t | getCapacity () const |
uint8_t * | getData () |
uint32_t | getSize () const |
void | setSize (uint32_t size) |
~Buffer () | |
Private Member Functions | |
void | ensureCapacity (uint32_t capacity) |
Private Attributes | |
uint8_t * | buffer_ |
uint32_t | capacity_ |
uint32_t | size_ |
rosbag::Buffer::Buffer | ( | ) |
Definition at line 44 of file buffer.cpp.
rosbag::Buffer::~Buffer | ( | ) |
Definition at line 46 of file buffer.cpp.
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.
Definition at line 54 of file buffer.cpp.