Describe the current state of art processing, as understood by the NuRandomService. More...
#include <ArtState.h>
Public Types | |
enum | state_type { unDefined, inServiceConstructor, inModuleConstructor, inBeginRun, inModuleBeginRun, inEvent, inModuleEvent, inEndJob, inOther } |
using | EventInfo_t = art::EventAuxiliary |
Public Member Functions | |
ArtState (state_type start_state=unDefined) | |
EventSeedInputData | getEventSeedInputData () const |
void | set_state (state_type astate) |
Records the status of ART. More... | |
state_type | transit_to (state_type astate) |
Records the new status of ART and returns the old one. More... | |
void | reset_state () |
Resets the status to "something else" (inOther) More... | |
void | set_event (art::Event const &evt) |
Records the specified event ID. More... | |
void | reset_event () |
void | set_module (art::ModuleDescription const &desc) |
Records the specified module description. More... | |
void | reset_module () |
void | set_process_name (std::string pn) |
void | set_process_name (art::ModuleDescription const ¤tModuleDesc) |
state_type | state () const |
Getters. More... | |
std::string | stateName () const |
art::EventID const & | eventID () const |
EventInfo_t const & | eventInfo () const |
art::ModuleDescription const & | moduleDesc () const |
std::string | moduleLabel () const |
std::string | processName () const |
Static Public Member Functions | |
static std::string | stateName (state_type state) |
Protected Attributes | |
state_type | artState |
current state of the art More... | |
EventInfo_t | lastEvent |
art::ModuleDescription | lastModule |
std::string | procName |
Describe the current state of art processing, as understood by the NuRandomService.
Definition at line 32 of file ArtState.h.
Definition at line 46 of file ArtState.h.
Definition at line 34 of file ArtState.h.
|
inline |
Definition at line 49 of file ArtState.h.
|
inline |
Definition at line 116 of file ArtState.h.
|
inline |
Definition at line 118 of file ArtState.h.
|
inline |
Definition at line 128 of file ArtState.h.
|
inline |
Definition at line 120 of file ArtState.h.
|
inline |
Definition at line 122 of file ArtState.h.
|
inline |
Definition at line 124 of file ArtState.h.
|
inline |
Definition at line 83 of file ArtState.h.
|
inline |
Definition at line 91 of file ArtState.h.
|
inline |
Resets the status to "something else" (inOther)
Definition at line 74 of file ArtState.h.
|
inline |
|
inline |
Records the specified module description.
Definition at line 86 of file ArtState.h.
|
inline |
Definition at line 93 of file ArtState.h.
|
inline |
Definition at line 94 of file ArtState.h.
|
inline |
Records the status of ART.
Definition at line 60 of file ArtState.h.
|
inline |
Getters.
Definition at line 112 of file ArtState.h.
|
inline |
Definition at line 114 of file ArtState.h.
|
inlinestatic |
Definition at line 149 of file ArtState.h.
|
inline |
Records the new status of ART and returns the old one.
Definition at line 63 of file ArtState.h.
|
protected |
current state of the art
Definition at line 168 of file ArtState.h.
|
protected |
Definition at line 170 of file ArtState.h.
|
protected |
Definition at line 171 of file ArtState.h.
|
protected |
Definition at line 172 of file ArtState.h.