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

#include <p2os_ptz.hpp>

Public Member Functions

 circbuf (int size=512)
 
int getFromBuf ()
 
bool gotPacket ()
 
bool haveData ()
 
void printBuf ()
 
void putOnBuf (unsigned char c)
 
void reset ()
 
int size ()
 

Private Attributes

unsigned char * buf
 
int end
 
bool gotPack
 
int mysize
 
int start
 

Detailed Description

Definition at line 34 of file p2os_ptz.hpp.

Constructor & Destructor Documentation

circbuf::circbuf ( int  size = 512)
explicit

Definition at line 906 of file p2os_ptz.cpp.

Member Function Documentation

int circbuf::getFromBuf ( )

Definition at line 944 of file p2os_ptz.cpp.

bool circbuf::gotPacket ( )

Definition at line 966 of file p2os_ptz.cpp.

bool circbuf::haveData ( )

Definition at line 939 of file p2os_ptz.cpp.

void circbuf::printBuf ( )

Definition at line 912 of file p2os_ptz.cpp.

void circbuf::putOnBuf ( unsigned char  c)

Definition at line 924 of file p2os_ptz.cpp.

void circbuf::reset ( )

Definition at line 971 of file p2os_ptz.cpp.

int circbuf::size ( )

Definition at line 955 of file p2os_ptz.cpp.

Member Data Documentation

unsigned char* circbuf::buf
private

Definition at line 49 of file p2os_ptz.hpp.

int circbuf::end
private

Definition at line 51 of file p2os_ptz.hpp.

bool circbuf::gotPack
private

Definition at line 53 of file p2os_ptz.hpp.

int circbuf::mysize
private

Definition at line 52 of file p2os_ptz.hpp.

int circbuf::start
private

Definition at line 50 of file p2os_ptz.hpp.


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


p2os_driver
Author(s): Hunter L. Allen , David Feil-Seifer , Aris Synodinos , Brian Gerkey, Kasper Stoy, Richard Vaughan, Andrew Howard, Tucker Hermans, ActivMedia Robotics LLC, MobileRobots Inc.
autogenerated on Sat Jun 20 2020 03:29:42