#include <Videogram.h>
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 |
Definition at line 7 of file Videogram.h.
VideoGram::VideoGram | ( | unsigned int | id = 0 | ) |
Definition at line 10 of file Videogram.cpp.
Definition at line 20 of file Videogram.cpp.
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.
double VideoGram::getTimeStamp | ( | ) |
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.
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.