3 #ifndef _MADARA_THREADS_BASE_THREAD_H_     4 #define _MADARA_THREADS_BASE_THREAD_H_    21 #include "madara/MADARA_export.h"    67       virtual void run (
void) = 0;
   112 #endif  // _MADARA_THREADS_BASE_THREAD_H_ 
madara::knowledge::containers::Integer paused
thread safe paused flag that may be set by the Threader 
 
virtual void init(knowledge::KnowledgeBase &)
Initializes thread with a MADARA context. 
 
void set_name(const std::string &var_name, KnowledgeBase &knowledge)
Sets the variable name that this refers to. 
 
virtual void run(void)=0
Executes the main thread logic. 
 
virtual void init_control_vars(knowledge::KnowledgeBase &control)
Initializes the Java thread implementation's control plane variables. 
 
madara::knowledge::containers::Integer terminated
thread safe terminated flag that may be set by the Threader base 
 
virtual ~BaseThread()
Destructor. 
 
virtual void cleanup(void)
Cleans up any thread residue (usually instances created in init). 
 
Provides a quality-of-service-enabled threading library. 
 
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. 
 
Starts threads with first class support of MADARA contexts. 
 
std::string name
The unique name of your thread. 
 
Copyright (c) 2015 Carnegie Mellon University.