Jpp
Classes | Public Types | Public Member Functions | Protected Member Functions | Friends | List of all members
JDAQStateMachine::ev_daq_event Class Reference

#include <JDAQCHSM.hh>

Inheritance diagram for JDAQStateMachine::ev_daq_event:
JDAQStateMachine::ev_check_event JDAQStateMachine::ev_configure_event JDAQStateMachine::ev_continue_event JDAQStateMachine::ev_init_event JDAQStateMachine::ev_input_event JDAQStateMachine::ev_off_event JDAQStateMachine::ev_pause_event JDAQStateMachine::ev_quit_event JDAQStateMachine::ev_recover_event JDAQStateMachine::ev_reset_event JDAQStateMachine::ev_start_event JDAQStateMachine::ev_stop_event

Classes

struct  param_block
 

Public Types

typedef CHSM_ns_alias::event::param_block base_param_block
 

Public Member Functions

param_blockoperator-> () const
 
void operator() (int, const char *)
 

Protected Member Functions

 ev_daq_event (CHSM_EVENT_ARGS)
 

Friends

class JDAQStateMachine
 

Detailed Description

Definition at line 217 of file JDAQCHSM.hh.

Member Typedef Documentation

◆ base_param_block

typedef CHSM_ns_alias::event::param_block JDAQStateMachine::ev_daq_event::base_param_block

Definition at line 219 of file JDAQCHSM.hh.

Constructor & Destructor Documentation

◆ ev_daq_event()

JDAQStateMachine::ev_daq_event::ev_daq_event ( CHSM_EVENT_ARGS  )
inlineprotected

Definition at line 234 of file JDAQCHSM.hh.

234  :
235  CHSM_ns_alias::event( CHSM_EVENT_INIT ) { }

Member Function Documentation

◆ operator->()

param_block* JDAQStateMachine::ev_daq_event::operator-> ( ) const
inline

Definition at line 229 of file JDAQCHSM.hh.

229  {
230  return (param_block*)param_block_;
231  }

◆ operator()()

void JDAQStateMachine::ev_daq_event::operator() ( int  length,
const char *  buffer 
)

Definition at line 60 of file JDAQCHSM.cc.

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 }

Friends And Related Function Documentation

◆ JDAQStateMachine

friend class JDAQStateMachine
friend

Definition at line 236 of file JDAQCHSM.hh.


The documentation for this class was generated from the following files:
JDAQStateMachine::ev_daq_param_block
char ev_daq_param_block[sizeof(ev_daq_event::param_block)]
Definition: JDAQCHSM.hh:238
JDAQStateMachine
Definition: JDAQCHSM.hh:173