13 using namespace KM3NETDAQ;
 
   38     addParameter(
'U', extension, std::string(
""));
 
   41       replaceEvent(
RC_CMD, tag, ev_init);
 
   42       replaceEvent(
RC_CMD, tag, ev_configure);
 
   43       replaceEvent(
RC_CMD, tag, ev_start);
 
   44       replaceEvent(
RC_CMD, tag, ev_pause);
 
   45       replaceEvent(
RC_CMD, tag, ev_stop);
 
   46       replaceEvent(
RC_CMD, tag, ev_reset);
 
   47       replaceEvent(
RC_CMD, tag, ev_quit);
 
   48       replaceEvent(
RC_CMD, tag, ev_off);
 
   54     JDebugStream(this->logger) << 
"Extension <" << extension << 
">";
 
   59     logger.debug(
"actionExit()");
 
   61     if (
getName() == 
"JDAQDemoClient/+") {
 
   65       sleep(std::numeric_limits<unsigned int>::max());
 
   76     if (
getName() == 
"JDAQDemoClient/-") {
 
   80       logger.error(
"Termination of process.");
 
  127 int main(
int argc, 
char* argv[])
 
  141     JParser<> zap(
"Run control demo client.");
 
  153   catch(
const exception &error) {
 
  154     FATAL(error.what() << endl);
 
  158   using namespace KM3NETDAQ;
 
  163     demo.debug(CHSM::machine::D_all);
 
  176       ifstream in(file_name.c_str());
 
Utility class to parse command line options. 
 
virtual void actionEnter()
 
std::string getProcessName(const std::string &name, const std::string &process)
Get process name of run control client. 
 
virtual void actionExit()
 
void run()
Run as run control client following command messages via JNET::JControlHost. 
 
virtual void actionQuit(int length, const char *buffer)
 
virtual void actionConfigure(int length, const char *buffer)
 
virtual void actionInit(int length, const char *buffer)
 
virtual void actionPause(int length, const char *buffer)
 
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object 
 
Level specific message streamers. 
 
Data structure to store command line arguments. 
 
General purpose messaging. 
 
virtual void actionStart(int length, const char *buffer)
 
JDAQDemoClient(const std::string &name, const std::string &tag="")
Constructor. 
 
virtual void actionContinue(int length, const char *buffer)
 
Run control client base class. 
 
Utility class to parse command line options. 
 
virtual void actionReset(int length, const char *buffer)
 
virtual bool enter(const JArgs &args)
Enter the state machine. 
 
const char * getName()
Get ROOT name of given data type. 
 
virtual void actionStop(int length, const char *buffer)
 
static const JNET::JTag RC_CMD
 
int main(int argc, char *argv[])