ToolDAQFramework
|
#include <Utilities.h>
Public Member Functions | |
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 | |
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... | |
Definition at line 29 of file Utilities.h.
|
inline |
< Simple constructor
Definition at line 31 of file Utilities.h.
|
inline |
< Construtor for thread with string
Definition at line 35 of file Utilities.h.
|
inline |
< Constrcutor for thread with args
Definition at line 43 of file Utilities.h.
|
inlinevirtual |
< virtual constructor
Definition at line 51 of file Utilities.h.
zmq::context_t* Thread_args::context |
ZMQ context used for ZMQ socket creation.
Definition at line 58 of file Utilities.h.
void(* Thread_args::func)(Thread_args *) |
function pointer to thread with args
Definition at line 61 of file Utilities.h.
void(* Thread_args::func_with_string)(std::string) |
function pointer to string thread
Definition at line 60 of file Utilities.h.
bool Thread_args::kill |
Bool flay used to kill the thread.
Definition at line 65 of file Utilities.h.
bool Thread_args::running |
Bool flag to tell the thread to run (if not set thread goes into wait cycle.
Definition at line 64 of file Utilities.h.
zmq::socket_t* Thread_args::sock |
ZMQ socket pointer is assigned in string thread,but can be sued otherwise.
Definition at line 63 of file Utilities.h.
pthread_t Thread_args::thread |
Simple constructor underlying thread that interface is built ontop of.
Definition at line 62 of file Utilities.h.
std::string Thread_args::ThreadName |
name of thread (deffined at creation)
Definition at line 59 of file Utilities.h.