1 #ifndef _MADARA_THREADS_WORKER_THREAD_H_     2 #define _MADARA_THREADS_WORKER_THREAD_H_    97         ACE_Time_Value & current, ACE_Time_Value & frequency,
    98         ACE_Time_Value & next_epoch,
    99         bool & one_shot, 
bool & blaster);
   145 #endif // _MADARA_THREADS_WORKER_THREAD_H_ This class stores a double within a variable context. 
 
WorkerThread()
Default constructor. 
 
void operator=(const WorkerThread &input)
Assignment operator. 
 
knowledge::KnowledgeBase * control_
the control plane to the knowledge base 
 
knowledge::KnowledgeBase * data_
the data plane (the knowledge base) 
 
knowledge::containers::Double new_hertz_
thread safe hertz reference 
 
double hertz_
hertz rate for worker thread executions 
 
void run(void)
Runs the thread once. 
 
Provides a quality-of-service-enabled threading library. 
 
~WorkerThread()
Destructor. 
 
void change_frequency(double hertz, ACE_Time_Value ¤t, ACE_Time_Value &frequency, ACE_Time_Value &next_epoch, bool &one_shot, bool &blaster)
Changes the frequency given a hertz rate. 
 
Abstract base class for implementing threads. 
 
A thread that executes BaseThread logic. 
 
This class provides a distributed knowledge base to users. 
 
This class stores an integer within a variable context. 
 
std::string name_
the name of the contained thread 
 
knowledge::containers::Integer started_
thread safe start flag that will be sent to the knowledge base on launch of the thread ...
 
Starts threads with first class support of MADARA contexts. 
 
knowledge::containers::Integer finished_
thread safe finished flag that will be sent to the knowledge base on completion of the thread ...
 
std::map< std::string, WorkerThread * > NamedWorkerThreads
Collection of named threads. 
 
int svc(void)
Reads messages from a socket. 
 
Copyright (c) 2015 Carnegie Mellon University. 
 
BaseThread * thread_
the contained thread