Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes
DgmQueue Class Reference

#include <DgmQueue.h>

List of all members.

Public Member Functions

void addInteresting (unsigned int i)
 DgmQueue ()
void print ()
void remInteresting (unsigned int i)
void resetInteresting ()
void setVerboseLevel (unsigned int v)
void storeDgm (const Datagram &dgm)
bool waitDgm (unsigned int id, Datagram &dgm, double maxwait_s=-1)
 ~DgmQueue ()

Protected Types

typedef std::multimap
< unsigned char, Datagram,
std::less< unsigned char > > 
Queue

Protected Member Functions

void lock ()
void unlock ()

Protected Attributes

bool interesting [256]
Queue Q
pthread_cond_t Qcnd
pthread_mutex_t Qmtx
unsigned int verbose

Detailed Description

Definition at line 9 of file DgmQueue.h.


Member Typedef Documentation

typedef std::multimap< unsigned char,Datagram, std::less<unsigned char> > DgmQueue::Queue [protected]

Definition at line 13 of file DgmQueue.h.


Constructor & Destructor Documentation

Definition at line 8 of file DgmQueue.cpp.

Definition at line 17 of file DgmQueue.cpp.


Member Function Documentation

void DgmQueue::addInteresting ( unsigned int  i)

Definition at line 21 of file DgmQueue.cpp.

void DgmQueue::lock ( ) [inline, protected]

Definition at line 22 of file DgmQueue.h.

void DgmQueue::print ( )

Definition at line 106 of file DgmQueue.cpp.

void DgmQueue::remInteresting ( unsigned int  i)

Definition at line 28 of file DgmQueue.cpp.

Definition at line 36 of file DgmQueue.cpp.

void DgmQueue::setVerboseLevel ( unsigned int  v) [inline]

Definition at line 47 of file DgmQueue.h.

void DgmQueue::storeDgm ( const Datagram dgm)

Definition at line 46 of file DgmQueue.cpp.

void DgmQueue::unlock ( ) [inline, protected]

Definition at line 27 of file DgmQueue.h.

bool DgmQueue::waitDgm ( unsigned int  id,
Datagram dgm,
double  maxwait_s = -1 
)

Definition at line 63 of file DgmQueue.cpp.


Member Data Documentation

bool DgmQueue::interesting[256] [protected]

Definition at line 20 of file DgmQueue.h.

Queue DgmQueue::Q [protected]

Definition at line 15 of file DgmQueue.h.

pthread_cond_t DgmQueue::Qcnd [protected]

Definition at line 17 of file DgmQueue.h.

pthread_mutex_t DgmQueue::Qmtx [protected]

Definition at line 16 of file DgmQueue.h.

unsigned int DgmQueue::verbose [protected]

Definition at line 18 of file DgmQueue.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