artdaq::DataLoggerApp Class Reference

DataLoggerApp is an artdaq::Commandable derived class which controls the DataLoggerCore. More...

#include <artdaq/Application/DataLoggerApp.hh>

Inheritance diagram for artdaq::DataLoggerApp:
artdaq::Commandable

List of all members.

Public Member Functions

 DataLoggerApp ()
 DataLoggerApp Constructor.
 DataLoggerApp (DataLoggerApp const &)
 Copy Constructor is Deleted.
virtual ~DataLoggerApp ()
 Default virtual destructor.
DataLoggerAppoperator= (DataLoggerApp const &)
 Copy Assignment operator is Deleted.
bool do_initialize (fhicl::ParameterSet const &pset, uint64_t, uint64_t) override
 Initialize the DataLoggerCore.
bool do_start (art::RunID id, uint64_t, uint64_t) override
 Start the DataLoggerCore.
bool do_stop (uint64_t, uint64_t) override
 Stop the DataLoggerCore.
bool do_pause (uint64_t, uint64_t) override
 Pause the DataLoggerCore.
bool do_resume (uint64_t, uint64_t) override
 Resume the DataLoggerCore.
bool do_shutdown (uint64_t) override
 Shutdown the DataLoggerCore.
bool do_soft_initialize (fhicl::ParameterSet const &, uint64_t, uint64_t) override
 Soft-initialize the DataLoggerCore. No-Op.
bool do_reinitialize (fhicl::ParameterSet const &, uint64_t, uint64_t) override
 Reinitialize the DataLoggerCore. No-Op.
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 DataLoggerCore.

Detailed Description

DataLoggerApp is an artdaq::Commandable derived class which controls the DataLoggerCore.

Definition at line 17 of file DataLoggerApp.hh.


Member Function Documentation

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

Initialize the DataLoggerCore.

Parameters:
pset ParameterSet used to initialize the DataLoggerCore
Returns:
Whether the initialize transition succeeded

Reimplemented from artdaq::Commandable.

Definition at line 15 of file DataLoggerApp.cc.

bool artdaq::DataLoggerApp::do_pause ( uint64_t  ,
uint64_t   
) [override, virtual]

Pause the DataLoggerCore.

Returns:
Whether the pause transition succeeded

Reimplemented from artdaq::Commandable.

Definition at line 64 of file DataLoggerApp.cc.

bool artdaq::DataLoggerApp::do_reinitialize ( fhicl::ParameterSet const &  ,
uint64_t  ,
uint64_t   
) [override, virtual]

Reinitialize the DataLoggerCore. No-Op.

Returns:
This function always returns true

Reimplemented from artdaq::Commandable.

Definition at line 108 of file DataLoggerApp.cc.

bool artdaq::DataLoggerApp::do_resume ( uint64_t  ,
uint64_t   
) [override, virtual]

Resume the DataLoggerCore.

Returns:
Whether the resume transition succeeded

Reimplemented from artdaq::Commandable.

Definition at line 77 of file DataLoggerApp.cc.

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

Shutdown the DataLoggerCore.

Returns:
Whether the shutdown transition succeeded

Reimplemented from artdaq::Commandable.

Definition at line 90 of file DataLoggerApp.cc.

bool artdaq::DataLoggerApp::do_soft_initialize ( fhicl::ParameterSet const &  ,
uint64_t  ,
uint64_t   
) [override, virtual]

Soft-initialize the DataLoggerCore. No-Op.

Returns:
This function always returns true

Reimplemented from artdaq::Commandable.

Definition at line 103 of file DataLoggerApp.cc.

bool artdaq::DataLoggerApp::do_start ( art::RunID  id,
uint64_t  ,
uint64_t   
) [override, virtual]

Start the DataLoggerCore.

Parameters:
id Run number of the new run
Returns:
Whether the start transition succeeded

Reimplemented from artdaq::Commandable.

Definition at line 35 of file DataLoggerApp.cc.

bool artdaq::DataLoggerApp::do_stop ( uint64_t  ,
uint64_t   
) [override, virtual]

Stop the DataLoggerCore.

Returns:
Whether the stop transition succeeded

Reimplemented from artdaq::Commandable.

Definition at line 51 of file DataLoggerApp.cc.

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

Copy Assignment operator is Deleted.

Returns:
DataLoggerApp copy

Reimplemented from artdaq::Commandable.

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

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

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

Reimplemented from artdaq::Commandable.

Definition at line 113 of file DataLoggerApp.cc.


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

Generated on 15 Apr 2018 for artdaq by  doxygen 1.6.1