41 const std::string& server,
78 if (
getName() ==
"JDAQDemoClient/+") {
82 sleep(std::numeric_limits<unsigned int>::max());
93 if (
string(buffer,length) ==
ev_error.name()) {
105 if (
getName() ==
"JDAQDemoClient/-") {
178 JParser<> zap(
"Application for writing real-time data to disk.");
191 catch(
const exception &error) {
204 if (file_name ==
"") {
218 demo.CHSM::machine::enter();
220 ifstream in(file_name.c_str());
int main(int argc, char *argv[])
Run control demo client.
General purpose messaging.
Utility class to parse command line options.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
Shell interaction via I/O streams.
virtual void actionQuit(int length, const char *buffer)
virtual void actionExit()
virtual void actionPause(int length, const char *buffer)
JDAQDemoClient(const std::string &name)
Constructor.
virtual void actionStop(int length, const char *buffer)
JDAQDemoClient(const std::string &name, JLogger *logger, const int level)
Constructor.
JDAQDemoClient(const std::string &name, const std::string &server, JLogger *logger, const int level)
Constructor.
virtual void actionReset(int length, const char *buffer)
virtual void actionEnter()
Interface methods for actions corresponding to state transitions.
virtual void actionConfigure(int length, const char *buffer)
virtual void actionContinue(int length, const char *buffer)
virtual void actionInit(int length, const char *buffer)
virtual void actionStart(int length, const char *buffer)
JDAQStateMachine::ev_error_event ev_error
Message logging based on ControlHost.
Interface for logging messages.
void debug(const JMessage_t &message)
Message logging based on std::ostream.
Template definition of a multi-dimensional oscillation probability interpolation table.
The JShell clas can be used to interact with the shell via I/O streams.
static JShell & getInstance()
Get reference to unique instance of this class object.
Control unit client base class.
JMessageLogger logger
message logger
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
const char * getName()
Get ROOT name of given data type.
KM3NeT DAQ data structures and auxiliaries.
std::string getProcessName(const std::string &name, const std::string &process)
Get process name of run control client.
static int debug
debug level (default is off).
Level specific message streamers.