ToolDAQFramework
|
#include <MyToolDynamicMultiThread.h>
Public Member Functions | |
MyToolDynamicMultiThread_args () | |
~MyToolDynamicMultiThread_args () | |
![]() | |
Thread_args () | |
Thread_args (zmq::context_t *contextin, std::string threadname, void(*funcin)(std::string)) | |
Thread_args (zmq::context_t *contextin, std::string threadname, void(*funcin)(Thread_args *)) | |
virtual | ~Thread_args () |
Public Attributes | |
bool | busy |
std::string | message |
![]() | |
zmq::context_t * | context |
ZMQ context used for ZMQ socket creation. More... | |
void(* | func )(Thread_args *) |
function pointer to thread with args More... | |
void(* | func_with_string )(std::string) |
function pointer to string thread More... | |
bool | kill |
Bool flay used to kill the thread. More... | |
bool | running |
Bool flag to tell the thread to run (if not set thread goes into wait cycle. More... | |
zmq::socket_t * | sock |
ZMQ socket pointer is assigned in string thread,but can be sued otherwise. More... | |
pthread_t | thread |
Simple constructor underlying thread that interface is built ontop of. More... | |
std::string | ThreadName |
name of thread (deffined at creation) More... | |
This is a struct to place data you want your thread to acess or exchange with it. The idea is the datainside is only used by the threa\ d and so will be thread safe
Contact: b.ric hard s@qmu l.ac .uk
Definition at line 20 of file MyToolDynamicMultiThread.h.
MyToolDynamicMultiThread_args::MyToolDynamicMultiThread_args | ( | ) |
Definition at line 3 of file MyToolDynamicMultiThread.cpp.
MyToolDynamicMultiThread_args::~MyToolDynamicMultiThread_args | ( | ) |
Definition at line 5 of file MyToolDynamicMultiThread.cpp.
bool MyToolDynamicMultiThread_args::busy |
Definition at line 24 of file MyToolDynamicMultiThread.h.
std::string MyToolDynamicMultiThread_args::message |
Definition at line 25 of file MyToolDynamicMultiThread.h.