Public Member Functions | Private Attributes
circbuf Class Reference

#include <p2os_ptz.h>

List of all members.

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.h.


Constructor & Destructor Documentation

circbuf::circbuf ( int  size = 512)

Definition at line 984 of file p2os_ptz.cpp.


Member Function Documentation

Definition at line 1023 of file p2os_ptz.cpp.

Definition at line 1052 of file p2os_ptz.cpp.

Definition at line 1018 of file p2os_ptz.cpp.

Definition at line 990 of file p2os_ptz.cpp.

void circbuf::putOnBuf ( unsigned char  c)

Definition at line 1001 of file p2os_ptz.cpp.

void circbuf::reset ( )

Definition at line 1057 of file p2os_ptz.cpp.

int circbuf::size ( )

Definition at line 1036 of file p2os_ptz.cpp.


Member Data Documentation

unsigned char* circbuf::buf [private]

Definition at line 49 of file p2os_ptz.h.

int circbuf::end [private]

Definition at line 51 of file p2os_ptz.h.

bool circbuf::gotPack [private]

Definition at line 53 of file p2os_ptz.h.

int circbuf::mysize [private]

Definition at line 52 of file p2os_ptz.h.

int circbuf::start [private]

Definition at line 50 of file p2os_ptz.h.


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


p2os_driver
Author(s): Hunter Allen , David Feil-Seifer , Aris Synodinos , Brian Gerkey, Kasper Stoy, Richard Vaughan, Andrew Howard, Tucker Hermans, ActivMedia Robotics LLC, MobileRobots Inc.
autogenerated on Mon Oct 6 2014 03:12:45