Jpp  18.3.0
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
JDAQCHSM.cc
Go to the documentation of this file.
1 /***** <<CHSM-to-C++ Compiler 4.4>> *****/
2 
3 #include "JDAQCHSM.hh"
4 
5 #include <new>
6 
7 /***** state definitions *****/
8 
10  0, -1
11 };
12 JDAQStateMachine::state_root::state_root( CHSM_STATE_ARGS, bool chsm_history_ ) :
13  CHSM_ns_alias::cluster( CHSM_STATE_INIT, children_, chsm_history_ )
14 {
15 }
16 
18  1, 9, -1
19 };
21  CHSM_ns_alias::set( CHSM_STATE_INIT, children_ ),
22  RunControl( chsm_machine_, "Main.RunControl", this, 0, 0, 0, 0, false ),
23  Responder( chsm_machine_, "Main.Responder", this, 0, 0, 0, 0 )
24 {
25 }
26 
28  2, 8, -1
29 };
31  CHSM_ns_alias::cluster( CHSM_STATE_INIT, children_, chsm_history_ ),
32  Operational( chsm_machine_, "Main.RunControl.Operational", this, 0, 0, 0, 0, false ),
33  Error( chsm_machine_, "Main.RunControl.Error", this, 0, 0, 0, 0 )
34 {
35 }
36 
38  3, 4, 5, 6, 7, -1
39 };
41  CHSM_ns_alias::cluster( CHSM_STATE_INIT, children_, chsm_history_ ),
42  Idle( chsm_machine_, "Main.RunControl.Operational.Idle", this, 0, 0, 0, 0 ),
43  Standby( chsm_machine_, "Main.RunControl.Operational.Standby", this, 0, 0, 0, 0 ),
44  Ready( chsm_machine_, "Main.RunControl.Operational.Ready", this, 0, 0, 0, 0 ),
45  Paused( chsm_machine_, "Main.RunControl.Operational.Paused", this, 0, 0, 0, 0 ),
46  Running( chsm_machine_, "Main.RunControl.Operational.Running", this, 0, 0, 0, 0 )
47 {
48 }
49 
50 /***** event definitions *****/
51 
53  -1
54 };
55 JDAQStateMachine::ev_daq_event::param_block::param_block( CHSM_ns_alias::event const &event, int Plength, const char * Pbuffer ) :
56  CHSM_ns_alias::event::param_block( event ), length( Plength ), buffer( Pbuffer )
57 {
58 }
60 void JDAQStateMachine::ev_daq_event::operator()( int length, const char * buffer )
61 {
62 #ifdef CHSM_MULTITHREADED
63  machine_lock const lock( machine_ );
64 #endif
65  if ( !in_progress_ )
66  broadcast( new( ((JDAQStateMachine&)machine_).ev_daq_param_block ) param_block( *this, length, buffer ) );
67 }
68 
70  1, -1
71 };
72 JDAQStateMachine::ev_init_event::param_block::param_block( CHSM_ns_alias::event const &event, int Plength, const char * Pbuffer ) :
73  JDAQStateMachine::ev_daq_event::param_block( event, Plength, Pbuffer )
74 {
75 }
77 void JDAQStateMachine::ev_init_event::operator()( int length, const char * buffer )
78 {
79 #ifdef CHSM_MULTITHREADED
80  machine_lock const lock( machine_ );
81 #endif
82  if ( !in_progress_ )
83  broadcast( new( ((JDAQStateMachine&)machine_).ev_init_param_block ) param_block( *this, length, buffer ) );
84 }
85 
87  3, -1
88 };
89 JDAQStateMachine::ev_configure_event::param_block::param_block( CHSM_ns_alias::event const &event, int Plength, const char * Pbuffer ) :
90  JDAQStateMachine::ev_daq_event::param_block( event, Plength, Pbuffer )
91 {
92 }
94 void JDAQStateMachine::ev_configure_event::operator()( int length, const char * buffer )
95 {
96 #ifdef CHSM_MULTITHREADED
97  machine_lock const lock( machine_ );
98 #endif
99  if ( !in_progress_ )
100  broadcast( new( ((JDAQStateMachine&)machine_).ev_configure_param_block ) param_block( *this, length, buffer ) );
101 }
102 
104  5, -1
105 };
106 JDAQStateMachine::ev_start_event::param_block::param_block( CHSM_ns_alias::event const &event, int Plength, const char * Pbuffer ) :
107  JDAQStateMachine::ev_daq_event::param_block( event, Plength, Pbuffer )
108 {
109 }
111 void JDAQStateMachine::ev_start_event::operator()( int length, const char * buffer )
112 {
113 #ifdef CHSM_MULTITHREADED
114  machine_lock const lock( machine_ );
115 #endif
116  if ( !in_progress_ )
117  broadcast( new( ((JDAQStateMachine&)machine_).ev_start_param_block ) param_block( *this, length, buffer ) );
118 }
119 
121  9, -1
122 };
123 JDAQStateMachine::ev_pause_event::param_block::param_block( CHSM_ns_alias::event const &event, int Plength, const char * Pbuffer ) :
124  JDAQStateMachine::ev_daq_event::param_block( event, Plength, Pbuffer )
125 {
126 }
128 void JDAQStateMachine::ev_pause_event::operator()( int length, const char * buffer )
129 {
130 #ifdef CHSM_MULTITHREADED
131  machine_lock const lock( machine_ );
132 #endif
133  if ( !in_progress_ )
134  broadcast( new( ((JDAQStateMachine&)machine_).ev_pause_param_block ) param_block( *this, length, buffer ) );
135 }
136 
138  7, -1
139 };
140 JDAQStateMachine::ev_continue_event::param_block::param_block( CHSM_ns_alias::event const &event, int Plength, const char * Pbuffer ) :
141  JDAQStateMachine::ev_daq_event::param_block( event, Plength, Pbuffer )
142 {
143 }
145 void JDAQStateMachine::ev_continue_event::operator()( int length, const char * buffer )
146 {
147 #ifdef CHSM_MULTITHREADED
148  machine_lock const lock( machine_ );
149 #endif
150  if ( !in_progress_ )
151  broadcast( new( ((JDAQStateMachine&)machine_).ev_continue_param_block ) param_block( *this, length, buffer ) );
152 }
153 
155  8, -1
156 };
157 JDAQStateMachine::ev_stop_event::param_block::param_block( CHSM_ns_alias::event const &event, int Plength, const char * Pbuffer ) :
158  JDAQStateMachine::ev_daq_event::param_block( event, Plength, Pbuffer )
159 {
160 }
162 void JDAQStateMachine::ev_stop_event::operator()( int length, const char * buffer )
163 {
164 #ifdef CHSM_MULTITHREADED
165  machine_lock const lock( machine_ );
166 #endif
167  if ( !in_progress_ )
168  broadcast( new( ((JDAQStateMachine&)machine_).ev_stop_param_block ) param_block( *this, length, buffer ) );
169 }
170 
172  4, -1
173 };
174 JDAQStateMachine::ev_reset_event::param_block::param_block( CHSM_ns_alias::event const &event, int Plength, const char * Pbuffer ) :
175  JDAQStateMachine::ev_daq_event::param_block( event, Plength, Pbuffer )
176 {
177 }
179 void JDAQStateMachine::ev_reset_event::operator()( int length, const char * buffer )
180 {
181 #ifdef CHSM_MULTITHREADED
182  machine_lock const lock( machine_ );
183 #endif
184  if ( !in_progress_ )
185  broadcast( new( ((JDAQStateMachine&)machine_).ev_reset_param_block ) param_block( *this, length, buffer ) );
186 }
187 
189  6, -1
190 };
191 JDAQStateMachine::ev_quit_event::param_block::param_block( CHSM_ns_alias::event const &event, int Plength, const char * Pbuffer ) :
192  JDAQStateMachine::ev_daq_event::param_block( event, Plength, Pbuffer )
193 {
194 }
196 void JDAQStateMachine::ev_quit_event::operator()( int length, const char * buffer )
197 {
198 #ifdef CHSM_MULTITHREADED
199  machine_lock const lock( machine_ );
200 #endif
201  if ( !in_progress_ )
202  broadcast( new( ((JDAQStateMachine&)machine_).ev_quit_param_block ) param_block( *this, length, buffer ) );
203 }
204 
206  2, 11, -1
207 };
208 JDAQStateMachine::ev_off_event::param_block::param_block( CHSM_ns_alias::event const &event, int Plength, const char * Pbuffer ) :
209  JDAQStateMachine::ev_daq_event::param_block( event, Plength, Pbuffer )
210 {
211 }
213 void JDAQStateMachine::ev_off_event::operator()( int length, const char * buffer )
214 {
215 #ifdef CHSM_MULTITHREADED
216  machine_lock const lock( machine_ );
217 #endif
218  if ( !in_progress_ )
219  broadcast( new( ((JDAQStateMachine&)machine_).ev_off_param_block ) param_block( *this, length, buffer ) );
220 }
221 
223  12, -1
224 };
225 JDAQStateMachine::ev_check_event::param_block::param_block( CHSM_ns_alias::event const &event, int Plength, const char * Pbuffer ) :
226  JDAQStateMachine::ev_daq_event::param_block( event, Plength, Pbuffer )
227 {
228 }
230 void JDAQStateMachine::ev_check_event::operator()( int length, const char * buffer )
231 {
232 #ifdef CHSM_MULTITHREADED
233  machine_lock const lock( machine_ );
234 #endif
235  if ( !in_progress_ )
236  broadcast( new( ((JDAQStateMachine&)machine_).ev_check_param_block ) param_block( *this, length, buffer ) );
237 }
238 
240  13, -1
241 };
242 JDAQStateMachine::ev_input_event::param_block::param_block( CHSM_ns_alias::event const &event, int Plength, const char * Pbuffer ) :
243  JDAQStateMachine::ev_daq_event::param_block( event, Plength, Pbuffer )
244 {
245 }
247 void JDAQStateMachine::ev_input_event::operator()( int length, const char * buffer )
248 {
249 #ifdef CHSM_MULTITHREADED
250  machine_lock const lock( machine_ );
251 #endif
252  if ( !in_progress_ )
253  broadcast( new( ((JDAQStateMachine&)machine_).ev_input_param_block ) param_block( *this, length, buffer ) );
254 }
255 
257  10, -1
258 };
259 JDAQStateMachine::ev_recover_event::param_block::param_block( CHSM_ns_alias::event const &event, int Plength, const char * Pbuffer ) :
260  JDAQStateMachine::ev_daq_event::param_block( event, Plength, Pbuffer )
261 {
262 }
264 void JDAQStateMachine::ev_recover_event::operator()( int length, const char * buffer )
265 {
266 #ifdef CHSM_MULTITHREADED
267  machine_lock const lock( machine_ );
268 #endif
269  if ( !in_progress_ )
270  broadcast( new( ((JDAQStateMachine&)machine_).ev_recover_param_block ) param_block( *this, length, buffer ) );
271 }
272 
274  0, -1
275 };
277 
278 /***** transitions *****/
279 
280 CHSM_ns_alias::transition const JDAQStateMachine::transition_[] = {
281  { 0, 2, 8, 0, (CHSM_ns_alias::transition::action)&JDAQStateMachine::A1 },
282  { 0, 3, 4, 0, (CHSM_ns_alias::transition::action)&JDAQStateMachine::A2 },
283  { 0, 3, -1, 0, (CHSM_ns_alias::transition::action)&JDAQStateMachine::A3 },
284  { 0, 4, 5, 0, (CHSM_ns_alias::transition::action)&JDAQStateMachine::A4 },
285  { 0, 4, 3, 0, (CHSM_ns_alias::transition::action)&JDAQStateMachine::A5 },
286  { 0, 5, 7, 0, (CHSM_ns_alias::transition::action)&JDAQStateMachine::A6 },
287  { 0, 5, 4, 0, (CHSM_ns_alias::transition::action)&JDAQStateMachine::A7 },
288  { 0, 6, 7, 0, (CHSM_ns_alias::transition::action)&JDAQStateMachine::A8 },
289  { 0, 6, 4, 0, (CHSM_ns_alias::transition::action)&JDAQStateMachine::A9 },
290  { 0, 7, 6, 0, (CHSM_ns_alias::transition::action)&JDAQStateMachine::A10 },
291  { 0, 8, 2, 0, (CHSM_ns_alias::transition::action)&JDAQStateMachine::A11 },
292  { 0, 8, -1, 0, (CHSM_ns_alias::transition::action)&JDAQStateMachine::A12 },
293  { 0, 9, -1, 0, (CHSM_ns_alias::transition::action)&JDAQStateMachine::A13 },
294  { 0, 9, -1, 0, (CHSM_ns_alias::transition::action)&JDAQStateMachine::A14 },
295  0
296 };
297 
298 /***** CHSM constructor definition *****/
299 
301  JDAQCHSM ( state_, root, transition_, taken_, target_, 14, P__name ),
302  root( *this, "root", 0, (CHSM_ns_alias::state::action)&JDAQStateMachine::EAM4root, (CHSM_ns_alias::state::action)&JDAQStateMachine::XAM4root, 0, 0, false ),
303  Main( *this, "Main", &root, 0, 0, 0, 0 ),
304  ev_daq( this, ev_daq_transitions, "ev_daq", 0 ),
305  ev_init( this, ev_init_transitions, "ev_init", &ev_daq ),
306  ev_configure( this, ev_configure_transitions, "ev_configure", &ev_daq ),
307  ev_start( this, ev_start_transitions, "ev_start", &ev_daq ),
308  ev_pause( this, ev_pause_transitions, "ev_pause", &ev_daq ),
309  ev_continue( this, ev_continue_transitions, "ev_continue", &ev_daq ),
310  ev_stop( this, ev_stop_transitions, "ev_stop", &ev_daq ),
311  ev_reset( this, ev_reset_transitions, "ev_reset", &ev_daq ),
312  ev_quit( this, ev_quit_transitions, "ev_quit", &ev_daq ),
313  ev_off( this, ev_off_transitions, "ev_off", &ev_daq ),
314  ev_check( this, ev_check_transitions, "ev_check", &ev_daq ),
315  ev_input( this, ev_input_transitions, "ev_input", &ev_daq ),
316  ev_recover( this, ev_recover_transitions, "ev_recover", &ev_daq ),
317  ev_error( this, ev_error_transitions, "ev_error", 0 )
318 {
319  state_[ 0 ] = &Main;
320  state_[ 1 ] = &Main.RunControl;
327  state_[ 8 ] = &Main.RunControl.Error;
328  state_[ 9 ] = &Main.Responder;
329  state_[ 10 ] = 0;
330 }
332 }
333 
334 
335 /***** user-code *****/
336 
337 void JDAQStateMachine::EAM4root( CHSM_ns_alias::state const &chsm_state_, CHSM_ns_alias::event const &event ) {
338 #line 164 "JDAQCHSM.chsm"
339  CHSM_ns_alias::cluster const &state = (CHSM_ns_alias::cluster const&)chsm_state_; actionEnter(); }
340 void JDAQStateMachine::XAM4root( CHSM_ns_alias::state const &chsm_state_, CHSM_ns_alias::event const &event ) {
341 #line 165 "JDAQCHSM.chsm"
342  CHSM_ns_alias::cluster const &state = (CHSM_ns_alias::cluster const&)chsm_state_; actionExit(); }
343 #line 197 "JDAQCHSM.chsm"
344 void JDAQStateMachine::A1( CHSM_ns_alias::event const &event ) { actionError(); }
345 #line 203 "JDAQCHSM.chsm"
346 void JDAQStateMachine::A2( CHSM_ns_alias::event const &event ) { execute(&JDAQCHSM::actionInit, event); }
347 #line 204 "JDAQCHSM.chsm"
348 void JDAQStateMachine::A3( CHSM_ns_alias::event const &event ) { JDAQCHSM::exit(); }
349 #line 209 "JDAQCHSM.chsm"
350 void JDAQStateMachine::A4( CHSM_ns_alias::event const &event ) { execute(&JDAQCHSM::actionConfigure, event); }
351 #line 210 "JDAQCHSM.chsm"
352 void JDAQStateMachine::A5( CHSM_ns_alias::event const &event ) { execute(&JDAQCHSM::actionReset, event); }
353 #line 215 "JDAQCHSM.chsm"
354 void JDAQStateMachine::A6( CHSM_ns_alias::event const &event ) {
355 
356  std::istringstream is(std::string(ev_start->buffer, ev_start->length));
357 
358  is >> run_number >> detector_id;
359 
361 
362  }
363 #line 225 "JDAQCHSM.chsm"
364 void JDAQStateMachine::A7( CHSM_ns_alias::event const &event ) { execute(&JDAQCHSM::actionQuit, event); }
365 #line 230 "JDAQCHSM.chsm"
366 void JDAQStateMachine::A8( CHSM_ns_alias::event const &event ) { execute(&JDAQCHSM::actionContinue, event); }
367 #line 231 "JDAQCHSM.chsm"
368 void JDAQStateMachine::A9( CHSM_ns_alias::event const &event ) { execute(&JDAQCHSM::actionStop, event); }
369 #line 236 "JDAQCHSM.chsm"
370 void JDAQStateMachine::A10( CHSM_ns_alias::event const &event ) { execute(&JDAQCHSM::actionPause, event); }
371 #line 243 "JDAQCHSM.chsm"
372 void JDAQStateMachine::A11( CHSM_ns_alias::event const &event ) { execute(&JDAQCHSM::actionRecover, event); }
373 #line 244 "JDAQCHSM.chsm"
374 void JDAQStateMachine::A12( CHSM_ns_alias::event const &event ) { JDAQCHSM::exit(); }
375 #line 253 "JDAQCHSM.chsm"
376 void JDAQStateMachine::A13( CHSM_ns_alias::event const &event ) { execute(&JDAQCHSM::actionCheck, event); }
377 #line 254 "JDAQCHSM.chsm"
378 void JDAQStateMachine::A14( CHSM_ns_alias::event const &event ) { execute(&JDAQCHSM::actionInput, event); }
379 
380 #line 257 "JDAQCHSM.chsm"
381 
382 /***** THE END *****/
383 
384 
385 
386 
void A4(CHSM_ns_alias::event const &)
Definition: JDAQCHSM.cc:350
state_RunControl(CHSM_STATE_ARGS, bool chsm_history_)
Definition: JDAQCHSM.cc:30
virtual void actionError()
Definition: JDAQCHSM.chsm:124
char ev_input_param_block[sizeof(ev_input_event::param_block)]
Definition: JDAQCHSM.hh:458
param_block(CHSM_ns_alias::event const &, int, const char *)
Definition: JDAQCHSM.cc:208
void A2(CHSM_ns_alias::event const &)
Definition: JDAQCHSM.cc:346
void operator()(int, const char *)
Definition: JDAQCHSM.cc:179
param_block(CHSM_ns_alias::event const &, int, const char *)
Definition: JDAQCHSM.cc:242
JDAQStateMachine::ev_start_event ev_start
virtual void actionQuit(int, const char *)
Definition: JDAQCHSM.chsm:119
JDAQStateMachine::ev_configure_event ev_configure
JDAQStateMachine::ev_error_event ev_error
param_block(CHSM_ns_alias::event const &, int, const char *)
Definition: JDAQCHSM.cc:140
void operator()(int, const char *)
Definition: JDAQCHSM.cc:162
void(JDAQCHSM::* action)(int, const char *)
Type definition of action method.
Definition: JDAQCHSM.chsm:141
void A13(CHSM_ns_alias::event const &)
Definition: JDAQCHSM.cc:376
static int const ev_error_transitions[]
Definition: JDAQCHSM.hh:480
virtual void actionInit(int, const char *)
Definition: JDAQCHSM.chsm:112
void A7(CHSM_ns_alias::event const &)
Definition: JDAQCHSM.cc:364
static int const ev_configure_transitions[]
Definition: JDAQCHSM.hh:260
JDAQStateMachine::ev_pause_event ev_pause
static int const ev_pause_transitions[]
Definition: JDAQCHSM.hh:300
char ev_reset_param_block[sizeof(ev_reset_event::param_block)]
Definition: JDAQCHSM.hh:378
void operator()(int, const char *)
Definition: JDAQCHSM.cc:111
virtual void actionStop(int, const char *)
Definition: JDAQCHSM.chsm:117
JDAQStateMachine::ev_continue_event ev_continue
void operator()(int, const char *)
Definition: JDAQCHSM.cc:213
void A1(CHSM_ns_alias::event const &)
Definition: JDAQCHSM.cc:344
virtual void actionReset(int, const char *)
Definition: JDAQCHSM.chsm:118
void operator()(int, const char *)
Definition: JDAQCHSM.cc:94
param_block(CHSM_ns_alias::event const &, int, const char *)
Definition: JDAQCHSM.cc:225
JDAQStateMachine::state_Main Main
int run_number
Definition: JDAQCHSM.chsm:156
static int const children_[]
Definition: JDAQCHSM.hh:212
static int const ev_start_transitions[]
Definition: JDAQCHSM.hh:280
virtual void actionPause(int, const char *)
Definition: JDAQCHSM.chsm:115
JDAQStateMachine::ev_reset_event ev_reset
void operator()(int, const char *)
Definition: JDAQCHSM.cc:264
static int const ev_init_transitions[]
Definition: JDAQCHSM.hh:240
param_block(CHSM_ns_alias::event const &, int, const char *)
Definition: JDAQCHSM.cc:191
CHSM_ns_alias::state * state_[11]
Definition: JDAQCHSM.hh:522
void operator()(int, const char *)
Definition: JDAQCHSM.cc:60
exit
Definition: JPizza.sh:36
then usage $script< detector file >< detectorfile > nIf the range of floors is the first detector file is aligned to the second before the comparison nIn this
virtual void actionEnter()
Interface methods for actions corresponding to state transitions.
Definition: JDAQCHSM.chsm:109
virtual void actionRecover(int, const char *)
Definition: JDAQCHSM.chsm:125
void A11(CHSM_ns_alias::event const &)
Definition: JDAQCHSM.cc:372
JDAQStateMachine::ev_init_event ev_init
is
Definition: JDAQCHSM.chsm:167
char ev_init_param_block[sizeof(ev_init_event::param_block)]
Definition: JDAQCHSM.hh:258
JDAQStateMachine(const std::string)
Definition: JDAQCHSM.cc:300
void operator()(int, const char *)
Definition: JDAQCHSM.cc:230
CHSM_ns_alias::state * target_[14]
Definition: JDAQCHSM.hh:525
virtual void actionInput(int, const char *)
Definition: JDAQCHSM.chsm:122
static CHSM_ns_alias::transition const transition_[]
Definition: JDAQCHSM.hh:523
DAQ state machine interface.
Definition: JDAQCHSM.chsm:12
JDAQStateMachine::ev_stop_event ev_stop
static int const ev_off_transitions[]
Definition: JDAQCHSM.hh:400
virtual void actionCheck(int, const char *)
Definition: JDAQCHSM.chsm:121
virtual void execute(action __action, const CHSM::event &__event)=0
The method to execute the action.
char ev_stop_param_block[sizeof(ev_stop_event::param_block)]
Definition: JDAQCHSM.hh:358
char ev_check_param_block[sizeof(ev_check_event::param_block)]
Definition: JDAQCHSM.hh:438
char ev_daq_param_block[sizeof(ev_daq_event::param_block)]
Definition: JDAQCHSM.hh:238
void A9(CHSM_ns_alias::event const &)
Definition: JDAQCHSM.cc:368
void A5(CHSM_ns_alias::event const &)
Definition: JDAQCHSM.cc:352
static int const ev_quit_transitions[]
Definition: JDAQCHSM.hh:380
param_block(CHSM_ns_alias::event const &, int, const char *)
Definition: JDAQCHSM.cc:259
param_block(CHSM_ns_alias::event const &, int, const char *)
Definition: JDAQCHSM.cc:72
void A10(CHSM_ns_alias::event const &)
Definition: JDAQCHSM.cc:370
char ev_off_param_block[sizeof(ev_off_event::param_block)]
Definition: JDAQCHSM.hh:418
static int const ev_recover_transitions[]
Definition: JDAQCHSM.hh:460
static int const ev_continue_transitions[]
Definition: JDAQCHSM.hh:320
param_block(CHSM_ns_alias::event const &, int, const char *)
Definition: JDAQCHSM.cc:89
void A3(CHSM_ns_alias::event const &)
Definition: JDAQCHSM.cc:348
then awk string
JDAQStateMachine::ev_daq_event ev_daq
param_block(CHSM_ns_alias::event const &, int, const char *)
Definition: JDAQCHSM.cc:174
virtual void actionStart(int, const char *)
Definition: JDAQCHSM.chsm:114
void operator()(int, const char *)
Definition: JDAQCHSM.cc:145
static int const ev_stop_transitions[]
Definition: JDAQCHSM.hh:340
state_Main(CHSM_STATE_ARGS)
Definition: JDAQCHSM.cc:20
char ev_start_param_block[sizeof(ev_start_event::param_block)]
Definition: JDAQCHSM.hh:298
CHSM_ns_alias::state Responder
Definition: JDAQCHSM.hh:208
param_block(CHSM_ns_alias::event const &, int, const char *)
Definition: JDAQCHSM.cc:123
void A6(CHSM_ns_alias::event const &)
Definition: JDAQCHSM.cc:354
JDAQStateMachine::ev_check_event ev_check
static int const ev_input_transitions[]
Definition: JDAQCHSM.hh:440
char ev_configure_param_block[sizeof(ev_configure_event::param_block)]
Definition: JDAQCHSM.hh:278
state_Operational(CHSM_STATE_ARGS, bool chsm_history_)
Definition: JDAQCHSM.cc:40
virtual void actionContinue(int, const char *)
Definition: JDAQCHSM.chsm:116
virtual void actionExit()
Definition: JDAQCHSM.chsm:110
param_block(CHSM_ns_alias::event const &, int, const char *)
Definition: JDAQCHSM.cc:157
static int const ev_check_transitions[]
Definition: JDAQCHSM.hh:420
JDAQStateMachine::ev_quit_event ev_quit
param_block(CHSM_ns_alias::event const &, int, const char *)
Definition: JDAQCHSM.cc:106
void operator()(int, const char *)
Definition: JDAQCHSM.cc:247
JDAQStateMachine::state_root root
JDAQStateMachine::ev_input_event ev_input
static int const children_[]
Definition: JDAQCHSM.hh:184
char ev_continue_param_block[sizeof(ev_continue_event::param_block)]
Definition: JDAQCHSM.hh:338
static int const ev_daq_transitions[]
Definition: JDAQCHSM.hh:216
void A8(CHSM_ns_alias::event const &)
Definition: JDAQCHSM.cc:366
char ev_pause_param_block[sizeof(ev_pause_event::param_block)]
Definition: JDAQCHSM.hh:318
void operator()(int, const char *)
Definition: JDAQCHSM.cc:128
void EAM4root(CHSM_ns_alias::state const &, CHSM_ns_alias::event const &)
Definition: JDAQCHSM.cc:337
param_block(CHSM_ns_alias::event const &, int, const char *)
Definition: JDAQCHSM.cc:55
void operator()(int, const char *)
Definition: JDAQCHSM.cc:196
JDAQStateMachine::state_Main::state_RunControl::state_Operational Operational
void XAM4root(CHSM_ns_alias::state const &, CHSM_ns_alias::event const &)
Definition: JDAQCHSM.cc:340
int detector_id
Definition: JDAQCHSM.chsm:155
char ev_quit_param_block[sizeof(ev_quit_event::param_block)]
Definition: JDAQCHSM.hh:398
JDAQStateMachine::state_Main::state_RunControl RunControl
JDAQStateMachine::ev_off_event ev_off
virtual void actionConfigure(int, const char *)
Definition: JDAQCHSM.chsm:113
state_root(CHSM_STATE_ARGS, bool chsm_history_)
Definition: JDAQCHSM.cc:12
static int const ev_reset_transitions[]
Definition: JDAQCHSM.hh:360
char ev_recover_param_block[sizeof(ev_recover_event::param_block)]
Definition: JDAQCHSM.hh:478
void A12(CHSM_ns_alias::event const &)
Definition: JDAQCHSM.cc:374
CHSM_ns_alias::event const * taken_[14]
Definition: JDAQCHSM.hh:524
void operator()(int, const char *)
Definition: JDAQCHSM.cc:77
void A14(CHSM_ns_alias::event const &)
Definition: JDAQCHSM.cc:378
JDAQStateMachine::ev_recover_event ev_recover