artdaq  v3_09_01
CommanderInterface.cc
1 #include "CommanderInterface.hh"
2 
3 namespace artdaq {
5 
6 inline std::string CommanderInterface::send_init(fhicl::ParameterSet const& /*unused*/, uint64_t /*unused*/, uint64_t /*unused*/)
7 {
8 #pragma message "Using default implementation of send_init!"
9  return "NOT IMPLEMENTED";
10 }
11 
12 inline std::string CommanderInterface::send_soft_init(fhicl::ParameterSet const& /*unused*/, uint64_t /*unused*/, uint64_t /*unused*/)
13 {
14 #pragma message "Using default implementation of send_soft_init!"
15  return "NOT IMPLEMENTED";
16 }
17 
18 inline std::string CommanderInterface::send_reinit(fhicl::ParameterSet const& /*unused*/, uint64_t /*unused*/, uint64_t /*unused*/)
19 {
20 #pragma message "Using default implementation of send_reinit!"
21  return "NOT IMPLEMENTED";
22 }
23 
24 inline std::string CommanderInterface::send_start(art::RunID /*unused*/, uint64_t /*unused*/, uint64_t /*unused*/)
25 {
26 #pragma message "Using default implementation of send_start!"
27  return "NOT IMPLEMENTED";
28 }
29 
30 inline std::string CommanderInterface::send_pause(uint64_t /*unused*/, uint64_t /*unused*/)
31 {
32 #pragma message "Using default implementation of send_pause!"
33  return "NOT IMPLEMENTED";
34 }
35 
36 inline std::string CommanderInterface::send_resume(uint64_t /*unused*/, uint64_t /*unused*/)
37 {
38 #pragma message "Using default implementation of send_resume!"
39  return "NOT IMPLEMENTED";
40 }
41 
42 inline std::string CommanderInterface::send_stop(uint64_t /*unused*/, uint64_t /*unused*/)
43 {
44 #pragma message "Using default implementation of send_stop!"
45  return "NOT IMPLEMENTED";
46 }
47 
48 inline std::string CommanderInterface::send_shutdown(uint64_t /*unused*/)
49 {
50 #pragma message "Using default implementation of send_shutdown!"
51  return "NOT IMPLEMENTED";
52 }
53 
54 inline std::string CommanderInterface::send_status()
55 {
56 #pragma message "Using default implementation of send_status!"
57  return "NOT IMPLEMENTED";
58 }
59 
60 inline std::string CommanderInterface::send_report(std::string const& /*unused*/)
61 {
62 #pragma message "Using default implementation of send_report!"
63  return "NOT IMPLEMENTED";
64 }
65 
67 {
68 #pragma message "Using default implementation of send_legal_commands!"
69  return "NOT IMPLEMENTED";
70 }
71 
72 inline std::string CommanderInterface::send_register_monitor(std::string const& /*unused*/)
73 {
74 #pragma message "Using default implementation of send_register_monitor!"
75  return "NOT IMPLEMENTED";
76 }
77 
78 inline std::string CommanderInterface::send_unregister_monitor(std::string const& /*unused*/)
79 {
80 #pragma message "Using default implementation of send_unregister_monitor!"
81  return "NOT IMPLEMENTED";
82 }
83 
84 inline std::string CommanderInterface::send_trace_get(std::string const& /*unused*/)
85 {
86 #pragma message "Using default implementation of send_trace_get!"
87  return "NOT IMPLEMENTED";
88 }
89 
90 inline std::string CommanderInterface::send_trace_set(std::string const& /*unused*/, std::string const& /*unused*/, std::string const& /*unused*/)
91 {
92 #pragma message "Using default implementation of send_trace_set!"
93  return "NOT IMPLEMENTED";
94 }
95 
96 inline std::string CommanderInterface::send_meta_command(std::string const& /*unused*/, std::string const& /*unused*/)
97 {
98 #pragma message "Using default implementation of send_meta_command!"
99  return "NOT IMPLEMENTED";
100 }
101 
102 inline std::string CommanderInterface::send_rollover_subrun(uint64_t /*unused*/, uint32_t /*unused*/)
103 {
104 #pragma message "Using default implementation of send_rollover_subrun!"
105  return "NOT IMPLEMENTED";
106 }
107 
108 inline std::string CommanderInterface::add_config_archive_entry(std::string const& /*unused*/, std::string const& /*unused*/)
109 {
110 #pragma message "Using default implementation of add_config_archive_entry!"
111  return "NOT IMPLEMENTED";
112 }
113 
115 {
116 #pragma message "Using default implementation of clear_config_archive!"
117  return "NOT IMPLEMENTED";
118 }
119 
120 } //namespace artdaq
virtual std::string send_shutdown(uint64_t timeout)
Using the transport mechanism, send a shutdown command
virtual std::string send_resume(uint64_t timeout, uint64_t timestamp)
Using the transport mechanism, send a resume command
virtual std::string send_init(fhicl::ParameterSet const &ps, uint64_t timeout, uint64_t timestamp)
Using the transport mechanism, send an init command
virtual std::string clear_config_archive()
Using the transport mechanism, send a clear_config_archive command
virtual std::string send_report(std::string const &which)
Using the transport mechanism, send a report command
virtual std::string send_register_monitor(std::string const &monitor_fhicl)
Using the transport mechanism, send a register_monitor command
virtual std::string send_stop(uint64_t timeout, uint64_t timestamp)
Using the transport mechanism, send a stop command
virtual std::string send_legal_commands()
Using the transport mechanism, send a legal_commands command
virtual std::string send_meta_command(std::string const &command, std::string const &argument)
Using the transport mechanism, send an send_meta_command command
virtual ~CommanderInterface()
Default virtual Destructor.
virtual std::string send_rollover_subrun(uint64_t seq, uint32_t subrunNumber)
Using the transport mechanism, send a send_rollover_subrun command
virtual std::string send_trace_get(std::string const &name)
Using the transport mechanism, send an send_trace_get command
virtual std::string add_config_archive_entry(std::string const &key, std::string const &value)
Using the transport mechanism, send an add_config_archive_entry command
virtual std::string send_unregister_monitor(std::string const &label)
Using the transport mechanism, send an unregister_monitor command
virtual std::string send_soft_init(fhicl::ParameterSet const &ps, uint64_t timeout, uint64_t timestamp)
Using the transport mechanism, send a soft_init command
virtual std::string send_status()
Using the transport mechanism, send a status command
virtual std::string send_pause(uint64_t timeout, uint64_t timestamp)
Using the transport mechanism, send a pause command
virtual std::string send_trace_set(std::string const &name, std::string const &type, std::string const &mask)
Using the transport mechanism, send an send_trace_msgfacility_set command
virtual std::string send_start(art::RunID runNumber, uint64_t timeout, uint64_t timestamp)
Using the transport mechanism, send a start command
virtual std::string send_reinit(fhicl::ParameterSet const &ps, uint64_t timeout, uint64_t timestamp)
Using the transport mechanism, send a reinit command