#include <Queue.h>
Definition at line 23 of file Queue.h.
Public Member Functions | |
Queue () | |
void | lock () |
void | unlock () |
virtual const char * | getClassName () |
Returns the name of the current class. | |
virtual std::string | toString () |
Static Public Member Functions | |
static void | debugmsg (Object *obj, const char *msg, int linenumber=__LINE__, const char *srcfile=__FILE__) |
Will print a debug message to the screen. | |
static void | debugmsgln (Object *obj, const char *msg, int linenumber=__LINE__, const char *srcfile=__FILE__) |
Protected Attributes | |
Mutex | mq |
std::string | __cls_name |
Friends | |
std::ostream & | operator<< (std::ostream &stream, const Object &s) |
xvr2::Queue< _Tp >::Queue | ( | ) | [inline] |
void xvr2::Queue< _Tp >::lock | ( | ) | [inline] |
Definition at line 30 of file Queue.h.
References xvr2::Mutex::lock(), and xvr2::Queue< _Tp >::mq.
void xvr2::Queue< _Tp >::unlock | ( | ) | [inline] |
Definition at line 34 of file Queue.h.
References xvr2::Queue< _Tp >::mq, and xvr2::Mutex::unlock().
virtual const char* xvr2::Object::getClassName | ( | ) | [virtual, inherited] |
Returns the name of the current class.
static void xvr2::Object::debugmsg | ( | Object * | obj, | |
const char * | msg, | |||
int | linenumber = __LINE__ , |
|||
const char * | srcfile = __FILE__ | |||
) | [static, inherited] |
Will print a debug message to the screen.
static void xvr2::Object::debugmsgln | ( | Object * | obj, | |
const char * | msg, | |||
int | linenumber = __LINE__ , |
|||
const char * | srcfile = __FILE__ | |||
) | [static, inherited] |
virtual std::string xvr2::Object::toString | ( | ) | [virtual, inherited] |
std::ostream& operator<< | ( | std::ostream & | stream, | |
const Object & | s | |||
) | [friend, inherited] |
Mutex xvr2::Queue< _Tp >::mq [protected] |
Definition at line 26 of file Queue.h.
Referenced by xvr2::Queue< _Tp >::lock(), and xvr2::Queue< _Tp >::unlock().
std::string xvr2::Object::__cls_name [protected, inherited] |