3 #ifndef GCP_UTIL_MODEMPAGER_H
4 #define GCP_UTIL_MODEMPAGER_H
19 #include "gcp/util/common/GenericTask.h"
20 #include "gcp/util/common/GenericTaskMsg.h"
21 #include "gcp/util/common/Runnable.h"
22 #include "gcp/util/common/SpawnableTask.h"
23 #include "gcp/util/common/TimeVal.h"
25 #include "gcp/control/code/unix/libunix_src/common/lprintf.h"
79 ModemPager(FILE* stdoutStream, LOG_DISPATCHER(*stdoutDispatcher),
81 FILE* stderrStream, LOG_DISPATCHER(*stderrDispatcher),
94 void activate(std::string message);
95 void enable(
bool enable);
104 LOG_DISPATCHER(*stdoutDispatcher_);
105 LOG_DISPATCHER(*stderrDispatcher_);
106 void* stdoutContext_;
107 void* stderrContext_;
109 std::string errorMessage_;
114 void serviceMsgQ(
void);
117 void executeAcknowledge();
120 void executeEnable(
bool enable);
123 void executeStatus();
126 void spawnAndCapture(std::string script,
bool log=
false);
135 #endif // End #ifndef GCP_UTIL_MODEMPAGER_H
Definition: GenericTaskMsg.h:31
Definition: SpawnableTask.h:31