3 #ifndef _MADARA_THREADS_THREADER_H_ 4 #define _MADARA_THREADS_THREADER_H_ 21 #include "madara/MadaraExport.h" 25 #include "madara_jni.h" 69 void change_hertz (
const std::string name,
double hertz);
121 bool paused =
false);
144 bool paused =
false);
162 void run (
const std::string name, jobject thread,
bool paused =
false);
183 void run (
double hertz,
const std::string name, jobject thread,
184 bool paused =
false);
203 void terminate (
void);
246 #endif // _MADARA_THREADS_THREADER_H_
knowledge::KnowledgeBase control_
The control plane used by threads for termination and pause information.
NamedWorkerThreads threads_
the threads that are still active
Provides a quality-of-service-enabled threading library.
Abstract base class for implementing threads.
knowledge::KnowledgeBase data_
The data plane used by threads.
This class provides a distributed knowledge base to users.
Starts threads with first class support of MADARA contexts.
std::map< std::string, std::unique_ptr< WorkerThread > > NamedWorkerThreads
Collection of named threads.
Copyright (c) 2015 Carnegie Mellon University.
Encapsulates settings for a wait statement.