ToolDAQFramework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Public Member Functions | Public Attributes | List of all members
MyToolDynamicMultiThread_args Struct Reference

#include <MyToolDynamicMultiThread.h>

Inheritance diagram for MyToolDynamicMultiThread_args:
Thread_args

Public Member Functions

 MyToolDynamicMultiThread_args ()
 
 ~MyToolDynamicMultiThread_args ()
 
- Public Member Functions inherited from Thread_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
 
- Public Attributes inherited from Thread_args
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...
 

Detailed Description

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

Author:
B.Richards
Date:
2019/05/28 10:44:00

Contact: b.ric.nosp@m.hard.nosp@m.s@qmu.nosp@m.l.ac.nosp@m..uk

Definition at line 20 of file MyToolDynamicMultiThread.h.

Constructor & Destructor Documentation

MyToolDynamicMultiThread_args::MyToolDynamicMultiThread_args ( )

Definition at line 3 of file MyToolDynamicMultiThread.cpp.

MyToolDynamicMultiThread_args::~MyToolDynamicMultiThread_args ( )

Definition at line 5 of file MyToolDynamicMultiThread.cpp.

Member Data Documentation

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.


The documentation for this struct was generated from the following files: