$treeview $search $mathjax $extrastylesheet
artdaq  v3_04_01
$projectbrief
$projectbrief
$searchbox

artdaq::BoardReaderApp Class Reference

BoardReaderApp is an artdaq::Commandable derived class which controls the BoardReaderCore state machine. More...

#include <artdaq/Application/BoardReaderApp.hh>

Inheritance diagram for artdaq::BoardReaderApp:
artdaq::Commandable

List of all members.

Public Member Functions

 BoardReaderApp ()
 BoardReaderApp Constructor.
 BoardReaderApp (BoardReaderApp const &)
 Copy Constructor is deleted.
virtual ~BoardReaderApp ()
 Default Destructor.
BoardReaderAppoperator= (BoardReaderApp const &)
 Copy Assignment Operator is deleted.
bool do_initialize (fhicl::ParameterSet const &pset, uint64_t timeout, uint64_t timestamp) override
 Initialize the BoardReaderCore.
bool do_start (art::RunID id, uint64_t timeout, uint64_t timestamp) override
 Start the BoardReaderCore.
bool do_stop (uint64_t timeout, uint64_t timestamp) override
 Stop the BoardReaderCore.
bool do_pause (uint64_t timeout, uint64_t timestamp) override
 Pause the BoardReaderCore.
bool do_resume (uint64_t timeout, uint64_t timestamp) override
 Resume the BoardReaderCore.
bool do_shutdown (uint64_t timeout) override
 Shutdown the BoardReaderCore.
bool do_soft_initialize (fhicl::ParameterSet const &pset, uint64_t timeout, uint64_t timestamp) override
 Soft-Initialize the BoardReaderCore.
bool do_reinitialize (fhicl::ParameterSet const &pset, uint64_t timeout, uint64_t timestamp) override
 Reinitialize the BoardReaderCore.
void BootedEnter () override
 Action taken upon entering the "Booted" state.
bool do_meta_command (std::string const &command, std::string const &arg) override
 Perform a user-defined command (passed to CommandableFragmentGenerator).
std::string report (std::string const &which) const override
 If which is "transition_status", report the status of the last transition. Otherwise pass through to BoardReaderCore.

Detailed Description

BoardReaderApp is an artdaq::Commandable derived class which controls the BoardReaderCore state machine.

Definition at line 17 of file BoardReaderApp.hh.


Member Function Documentation

void artdaq::BoardReaderApp::BootedEnter (  )  [override, virtual]

Action taken upon entering the "Booted" state.

This resets the BoardReaderCore pointer

Reimplemented from artdaq::Commandable.

Definition at line 182 of file BoardReaderApp.cc.

bool artdaq::BoardReaderApp::do_initialize ( fhicl::ParameterSet const &  pset,
uint64_t  timeout,
uint64_t  timestamp 
) [override, virtual]

Initialize the BoardReaderCore.

Parameters:
pset ParameterSet used to configure the BoardReaderCore
timeout Timeout for transition
timestamp Timestamp of transition
Returns:
Whether the transition succeeded

Reimplemented from artdaq::Commandable.

Definition at line 14 of file BoardReaderApp.cc.

bool artdaq::BoardReaderApp::do_meta_command ( std::string const &  command,
std::string const &  arg 
) [override, virtual]

Perform a user-defined command (passed to CommandableFragmentGenerator).

Parameters:
command Name of the command
arg Argument for the command
Returns:
Whether the command succeeded

Reimplemented from artdaq::Commandable.

Definition at line 193 of file BoardReaderApp.cc.

bool artdaq::BoardReaderApp::do_pause ( uint64_t  timeout,
uint64_t  timestamp 
) [override, virtual]

Pause the BoardReaderCore.

Parameters:
timeout Timeout for transition
timestamp Timestamp of transition
Returns:
Whether the transition succeeded

Reimplemented from artdaq::Commandable.

Definition at line 102 of file BoardReaderApp.cc.

bool artdaq::BoardReaderApp::do_reinitialize ( fhicl::ParameterSet const &  pset,
uint64_t  timeout,
uint64_t  timestamp 
) [override, virtual]

Reinitialize the BoardReaderCore.

Parameters:
pset ParameterSet used to configure the BoardReaderCore
timeout Timeout for transition
timestamp Timestamp of transition
Returns:
Whether the transition succeeded

Reimplemented from artdaq::Commandable.

Definition at line 170 of file BoardReaderApp.cc.

bool artdaq::BoardReaderApp::do_resume ( uint64_t  timeout,
uint64_t  timestamp 
) [override, virtual]

Resume the BoardReaderCore.

Parameters:
timeout Timeout for transition
timestamp Timestamp of transition
Returns:
Whether the transition succeeded

Reimplemented from artdaq::Commandable.

Definition at line 121 of file BoardReaderApp.cc.

bool artdaq::BoardReaderApp::do_shutdown ( uint64_t  timeout  )  [override, virtual]

Shutdown the BoardReaderCore.

Parameters:
timeout Timeout for transition
Returns:
Whether the transition succeeded

Reimplemented from artdaq::Commandable.

Definition at line 142 of file BoardReaderApp.cc.

bool artdaq::BoardReaderApp::do_soft_initialize ( fhicl::ParameterSet const &  pset,
uint64_t  timeout,
uint64_t  timestamp 
) [override, virtual]

Soft-Initialize the BoardReaderCore.

Parameters:
pset ParameterSet used to configure the BoardReaderCore
timeout Timeout for transition
timestamp Timestamp of transition
Returns:
Whether the transition succeeded

Reimplemented from artdaq::Commandable.

Definition at line 157 of file BoardReaderApp.cc.

bool artdaq::BoardReaderApp::do_start ( art::RunID  id,
uint64_t  timeout,
uint64_t  timestamp 
) [override, virtual]

Start the BoardReaderCore.

Parameters:
id Run ID of new run
timeout Timeout for transition
timestamp Timestamp of transition
Returns:
Whether the transition succeeded

Reimplemented from artdaq::Commandable.

Definition at line 40 of file BoardReaderApp.cc.

bool artdaq::BoardReaderApp::do_stop ( uint64_t  timeout,
uint64_t  timestamp 
) [override, virtual]

Stop the BoardReaderCore.

Parameters:
timeout Timeout for transition
timestamp Timestamp of transition
Returns:
Whether the transition succeeded

Reimplemented from artdaq::Commandable.

Definition at line 76 of file BoardReaderApp.cc.

BoardReaderApp& artdaq::BoardReaderApp::operator= ( BoardReaderApp const &   ) 

Copy Assignment Operator is deleted.

Returns:
BoardReaderApp copy

Reimplemented from artdaq::Commandable.

std::string artdaq::BoardReaderApp::report ( std::string const &  which  )  const [override, virtual]

If which is "transition_status", report the status of the last transition. Otherwise pass through to BoardReaderCore.

Parameters:
which What to report on
Returns:
Report string. Empty for unknown "which" parameter

Reimplemented from artdaq::Commandable.

Definition at line 205 of file BoardReaderApp.cc.


The documentation for this class was generated from the following files:

Generated on 29 Mar 2019 for artdaq by  doxygen 1.6.1