Public Member Functions | Protected Attributes
VideoGram Class Reference

#include <Videogram.h>

List of all members.

Public Member Functions

unsigned char * getData ()
const unsigned char * getData () const
unsigned int getId ()
unsigned int getLength ()
unsigned int getSize ()
double getTimeStamp ()
void print (FILE *fp=stdout)
bool receive (Socket *sock, unsigned int timeout_milli)
void reset ()
bool send (Socket *sock) const
void setData (unsigned char *s, unsigned int l)
void setId (unsigned int id)
 VideoGram (unsigned int id=0)
 ~VideoGram ()

Protected Attributes

unsigned char * data
unsigned int size
double timestamp

Detailed Description

Definition at line 7 of file Videogram.h.


Constructor & Destructor Documentation

VideoGram::VideoGram ( unsigned int  id = 0)

Definition at line 10 of file Videogram.cpp.

Definition at line 20 of file Videogram.cpp.


Member Function Documentation

unsigned char * VideoGram::getData ( )

Definition at line 64 of file Videogram.cpp.

const unsigned char * VideoGram::getData ( ) const

Definition at line 69 of file Videogram.cpp.

unsigned int VideoGram::getId ( )

Definition at line 37 of file Videogram.cpp.

unsigned int VideoGram::getLength ( )

Definition at line 59 of file Videogram.cpp.

unsigned int VideoGram::getSize ( )

Definition at line 54 of file Videogram.cpp.

Definition at line 120 of file Videogram.cpp.

void VideoGram::print ( FILE *  fp = stdout)

Definition at line 110 of file Videogram.cpp.

bool VideoGram::receive ( Socket sock,
unsigned int  timeout_milli 
)

Definition at line 81 of file Videogram.cpp.

void VideoGram::reset ( )

Definition at line 25 of file Videogram.cpp.

bool VideoGram::send ( Socket sock) const

Definition at line 75 of file Videogram.cpp.

void VideoGram::setData ( unsigned char *  s,
unsigned int  l 
)

Definition at line 42 of file Videogram.cpp.

void VideoGram::setId ( unsigned int  id)

Definition at line 32 of file Videogram.cpp.


Member Data Documentation

unsigned char* VideoGram::data [protected]

Definition at line 12 of file Videogram.h.

unsigned int VideoGram::size [protected]

Definition at line 11 of file Videogram.h.

double VideoGram::timestamp [protected]

Definition at line 10 of file Videogram.h.


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


canon_vbc50i
Author(s): Cedric Pradalier
autogenerated on Sun Oct 5 2014 23:47:45