Public Member Functions | |
Buffer () | |
void | clear () |
int | getCapacity () |
int | getSize () |
bool | isEmpty () |
bool | isFull () |
Frame::ConstPtr | popFront () |
bool | pushBack (Frame::ConstPtr frame) |
void | setCapacity (int buff_size) |
Private Member Functions | |
Buffer (const Buffer &) | |
Buffer & | operator= (const Buffer &) |
Private Attributes | |
boost::mutex | bmutex_ |
boost::condition_variable | buff_empty_ |
boost::circular_buffer < Frame::ConstPtr > | buffer_ |
Definition at line 166 of file openni_image.cpp.
Buffer::Buffer | ( | ) | [inline] |
Definition at line 169 of file openni_image.cpp.
Buffer::Buffer | ( | const Buffer & | ) | [private] |
void Buffer::clear | ( | void | ) | [inline] |
Definition at line 242 of file openni_image.cpp.
int Buffer::getCapacity | ( | ) | [inline] |
Definition at line 229 of file openni_image.cpp.
int Buffer::getSize | ( | ) | [inline] |
Definition at line 222 of file openni_image.cpp.
bool Buffer::isEmpty | ( | ) | [inline] |
Definition at line 215 of file openni_image.cpp.
bool Buffer::isFull | ( | ) | [inline] |
Definition at line 208 of file openni_image.cpp.
Frame::ConstPtr Buffer::popFront | ( | ) | [inline] |
Definition at line 186 of file openni_image.cpp.
bool Buffer::pushBack | ( | Frame::ConstPtr | frame | ) | [inline] |
Definition at line 172 of file openni_image.cpp.
void Buffer::setCapacity | ( | int | buff_size | ) | [inline] |
Definition at line 235 of file openni_image.cpp.
boost::mutex Buffer::bmutex_ [private] |
Definition at line 252 of file openni_image.cpp.
boost::condition_variable Buffer::buff_empty_ [private] |
Definition at line 253 of file openni_image.cpp.
boost::circular_buffer<Frame::ConstPtr> Buffer::buffer_ [private] |
Definition at line 254 of file openni_image.cpp.