Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SubSystemAction Class Reference

#include <OnlMon/blob/main/poms/Poms.h>

+ Inheritance diagram for SubSystemAction:
+ Collaboration diagram for SubSystemAction:

Public Member Functions

 SubSystemAction (SubSystem *parent)
 
 SubSystemAction (SubSystem *parent, const char *description)
 
 SubSystemAction (SubSystem *parent, const char *cmd, const char *description)
 
virtual ~SubSystemAction ()
 
virtual int Execute ()
 
const std::string & GetCmd ()
 
const std::string & GetDescription ()
 
int GetId () const
 

Static Public Member Functions

static SubSystemActionFindById (int id)
 

Protected Member Functions

int NextId ()
 

Protected Attributes

bool _running
 
int _id
 
SubSystem_parent
 
std::string _cmd
 
std::string _description
 

Static Protected Attributes

static int _nextId = SUBSYSTEM_ACTION_ID_BEGIN
 
static SubSystemActionMap _map
 

Detailed Description

Definition at line 182 of file Poms.h.

View newest version in sPHENIX GitHub at line 182 of file Poms.h

Constructor & Destructor Documentation

SubSystemAction::SubSystemAction ( SubSystem parent)

Definition at line 605 of file Poms.cc.

View newest version in sPHENIX GitHub at line 605 of file Poms.cc

References _id, _map, acts::error, and NextId().

+ Here is the call graph for this function:

SubSystemAction::SubSystemAction ( SubSystem parent,
const char *  description 
)

Definition at line 619 of file Poms.cc.

View newest version in sPHENIX GitHub at line 619 of file Poms.cc

References _id, _map, acts::error, and NextId().

+ Here is the call graph for this function:

SubSystemAction::SubSystemAction ( SubSystem parent,
const char *  cmd,
const char *  description 
)

Definition at line 634 of file Poms.cc.

View newest version in sPHENIX GitHub at line 634 of file Poms.cc

References _id, _map, acts::error, and NextId().

+ Here is the call graph for this function:

SubSystemAction::~SubSystemAction ( )
virtual

Definition at line 650 of file Poms.cc.

View newest version in sPHENIX GitHub at line 650 of file Poms.cc

References _id, and _map.

Member Function Documentation

int SubSystemAction::Execute ( )
virtual

Reimplemented in SubSystemActionTileCanvases, SubSystemActionShowCanvases, SubSystemActionDrawHtml, SubSystemActionDrawPS, SubSystemActionSavePlot, and SubSystemActionDraw.

Definition at line 655 of file Poms.cc.

View newest version in sPHENIX GitHub at line 655 of file Poms.cc

References _cmd, _parent, _running, SubSystem::GetPrefix(), SubSystem::isInitialized(), and SubSystem::setInitialized().

Referenced by PomsMainFrame::HandleButtonPoms().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static SubSystemAction* SubSystemAction::FindById ( int  id)
inlinestatic

Definition at line 209 of file Poms.h.

View newest version in sPHENIX GitHub at line 209 of file Poms.h

References _map, and train_ambiguity_solver::id.

Referenced by PomsMainFrame::HandleButtonPoms().

+ Here is the caller graph for this function:

const std::string& SubSystemAction::GetCmd ( )
inline

Definition at line 206 of file Poms.h.

View newest version in sPHENIX GitHub at line 206 of file Poms.h

References _cmd.

const std::string& SubSystemAction::GetDescription ( )
inline

Definition at line 207 of file Poms.h.

View newest version in sPHENIX GitHub at line 207 of file Poms.h

References _description.

Referenced by SubSystem::AddAction().

+ Here is the caller graph for this function:

int SubSystemAction::GetId ( ) const
inline

Definition at line 208 of file Poms.h.

View newest version in sPHENIX GitHub at line 208 of file Poms.h

References _id.

int SubSystemAction::NextId ( )
inlineprotected

Definition at line 191 of file Poms.h.

View newest version in sPHENIX GitHub at line 191 of file Poms.h

References _nextId.

Referenced by SubSystemAction().

+ Here is the caller graph for this function:

Member Data Documentation

std::string SubSystemAction::_cmd
protected

Definition at line 194 of file Poms.h.

View newest version in sPHENIX GitHub at line 194 of file Poms.h

Referenced by Execute(), and GetCmd().

std::string SubSystemAction::_description
protected

Definition at line 195 of file Poms.h.

View newest version in sPHENIX GitHub at line 195 of file Poms.h

Referenced by GetDescription().

int SubSystemAction::_id
protected

Definition at line 186 of file Poms.h.

View newest version in sPHENIX GitHub at line 186 of file Poms.h

Referenced by GetId(), SubSystemAction(), and ~SubSystemAction().

SubSystemActionMap SubSystemAction::_map
staticprotected

Definition at line 188 of file Poms.h.

View newest version in sPHENIX GitHub at line 188 of file Poms.h

Referenced by FindById(), SubSystemAction(), and ~SubSystemAction().

int SubSystemAction::_nextId = SUBSYSTEM_ACTION_ID_BEGIN
staticprotected

Definition at line 187 of file Poms.h.

View newest version in sPHENIX GitHub at line 187 of file Poms.h

Referenced by NextId().

bool SubSystemAction::_running
protected

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