otsdaq  v2_05_02_indev
ots::GatewaySupervisor Class Reference
Inheritance diagram for ots::GatewaySupervisor:
ots::SOAPMessenger ots::RunControlStateMachine ots::CorePropertySupervisorBase ots::ConfigurationSupervisorBase

Public Member Functions

 XDAQ_INSTANTIATOR ()
 
 GatewaySupervisor (xdaq::ApplicationStub *s)
 
void init (void)
 
void Default (xgi::Input *in, xgi::Output *out)
 
void loginRequest (xgi::Input *in, xgi::Output *out)
 
void request (xgi::Input *in, xgi::Output *out)
 
void tooltipRequest (xgi::Input *in, xgi::Output *out)
 
void stateMachineXgiHandler (xgi::Input *in, xgi::Output *out)
 
void stateMachineIterationBreakpoint (xgi::Input *in, xgi::Output *out)
 
xoap::MessageReference stateMachineXoapHandler (xoap::MessageReference msg)
 
bool stateMachineThread (toolbox::task::WorkLoop *workLoop)
 
void statusRequest (xgi::Input *in, xgi::Output *out)
 
void infoRequestResultHandler (xgi::Input *in, xgi::Output *out)
 
bool infoRequestThread (toolbox::task::WorkLoop *workLoop)
 
xoap::MessageReference supervisorCookieCheck (xoap::MessageReference msg)
 
xoap::MessageReference supervisorGetActiveUsers (xoap::MessageReference msg)
 
xoap::MessageReference supervisorSystemMessage (xoap::MessageReference msg)
 
xoap::MessageReference supervisorGetUserInfo (xoap::MessageReference msg)
 
xoap::MessageReference supervisorSystemLogbookEntry (xoap::MessageReference msg)
 
xoap::MessageReference supervisorLastTableGroupRequest (xoap::MessageReference msg)
 
void stateInitial (toolbox::fsm::FiniteStateMachine &fsm) override
 
void statePaused (toolbox::fsm::FiniteStateMachine &fsm) override
 
void stateRunning (toolbox::fsm::FiniteStateMachine &fsm) override
 
void stateHalted (toolbox::fsm::FiniteStateMachine &fsm) override
 
void stateConfigured (toolbox::fsm::FiniteStateMachine &fsm) override
 
void inError (toolbox::fsm::FiniteStateMachine &fsm) override
 
void transitionConfiguring (toolbox::Event::Reference e) override
 
void transitionHalting (toolbox::Event::Reference e) override
 
void transitionInitializing (toolbox::Event::Reference e) override
 
void transitionPausing (toolbox::Event::Reference e) override
 
void transitionResuming (toolbox::Event::Reference e) override
 
void transitionStarting (toolbox::Event::Reference e) override
 
void transitionStopping (toolbox::Event::Reference e) override
 
void transitionShuttingDown (toolbox::Event::Reference e) override
 
void transitionStartingUp (toolbox::Event::Reference e) override
 
void enteringError (toolbox::Event::Reference e) override
 
void makeSystemLogbookEntry (std::string entryText)
 
void checkForAsyncError (void)
 
virtual void setSupervisorPropertyDefaults (void) override
 
virtual void forceSupervisorPropertyValues (void) override
 
- Public Member Functions inherited from ots::SOAPMessenger
 SOAPMessenger (xdaq::Application *application)
 
 SOAPMessenger (const SOAPMessenger &aSOAPMessenger)
 
std::string send (XDAQ_CONST_CALL xdaq::ApplicationDescriptor *d, xoap::MessageReference message)
 
std::string send (XDAQ_CONST_CALL xdaq::ApplicationDescriptor *d, SOAPCommand soapCommand)
 
std::string send (XDAQ_CONST_CALL xdaq::ApplicationDescriptor *d, std::string command)
 
std::string send (XDAQ_CONST_CALL xdaq::ApplicationDescriptor *d, std::string command, SOAPParameters parameters)
 
std::string sendStatus (XDAQ_CONST_CALL xdaq::ApplicationDescriptor *d, std::string message)
 
xoap::MessageReference sendWithSOAPReply (XDAQ_CONST_CALL xdaq::ApplicationDescriptor *d, xoap::MessageReference message)
 
xoap::MessageReference sendWithSOAPReply (XDAQ_CONST_CALL xdaq::ApplicationDescriptor *d, SOAPCommand soapCommand)
 
xoap::MessageReference sendWithSOAPReply (XDAQ_CONST_CALL xdaq::ApplicationDescriptor *d, std::string command)
 
xoap::MessageReference sendWithSOAPReply (XDAQ_CONST_CALL xdaq::ApplicationDescriptor *d, std::string command, SOAPParameters parameters)
 
- Public Member Functions inherited from ots::RunControlStateMachine
 RunControlStateMachine (const std::string &name="Undefined Name")
 
void reset (void)
 
void setStateMachineName (const std::string &name)
 
const std::string & getErrorMessage (void) const
 
void setAsyncSoftErrorMessage (const std::string &error)
 
template<class OBJECT >
void addStateTransition (toolbox::fsm::State from, toolbox::fsm::State to, const std::string &input, const std::string &transitionName, OBJECT *obj, void(OBJECT::*func)(toolbox::Event::Reference))
 
template<class OBJECT >
void addStateTransition (toolbox::fsm::State from, toolbox::fsm::State to, const std::string &input, const std::string &transitionName, const std::string &transitionParameter, OBJECT *obj, void(OBJECT::*func)(toolbox::Event::Reference))
 
virtual void stateShutdown (toolbox::fsm::FiniteStateMachine &)
 
xoap::MessageReference runControlMessageHandler (xoap::MessageReference message)
 
unsigned int getIterationIndex (void)
 
unsigned int getSubIterationIndex (void)
 
void indicateIterationWork (void)
 
void clearIterationWork (void)
 
bool getIterationWork (void)
 
void indicateSubIterationWork (void)
 
void clearSubIterationWork (void)
 
bool getSubIterationWork (void)
 
- Public Member Functions inherited from ots::CorePropertySupervisorBase
 CorePropertySupervisorBase (xdaq::Application *application)
 
XDAQ_CONST_CALL
xdaq::ApplicationDescriptor * 
getGatewaySupervisorDescriptor (void)
 
void getRequestUserInfo (WebUsers::RequestUserInfo &requestUserInfo)
 
ConfigurationTree getContextTreeNode (void) const
 
ConfigurationTree getSupervisorTableNode (void) const
 
const std::string & getContextUID (void) const
 
const std::string & getSupervisorUID (void) const
 
const std::string & getSupervisorConfigurationPath (void) const
 
void resetPropertiesAreSetup (void)
 
ConfigurationTree getSupervisorTreeNode (void)
 
void loadUserSupervisorProperties (void)
 
template<class T >
void setSupervisorProperty (const std::string &propertyName, const T &propertyValue)
 
void setSupervisorProperty (const std::string &propertyName, const std::string &propertyValue)
 
template<class T >
void addSupervisorProperty (const std::string &propertyName, const T &propertyValue)
 
void addSupervisorProperty (const std::string &propertyName, const std::string &propertyValue)
 
template<class T >
getSupervisorProperty (const std::string &propertyName)
 
template<class T >
getSupervisorProperty (const std::string &propertyName, const T &defaultValue)
 
std::string getSupervisorProperty (const std::string &propertyName)
 
std::string getSupervisorProperty (const std::string &propertyName, const std::string &defaultValue)
 
WebUsers::permissionLevel_t getSupervisorPropertyUserPermissionsThreshold (const std::string &requestType)
 

Static Public Member Functions

static std::string getIconHeaderString (void)
 
static bool handleAddDesktopIconRequest (const std::string &author, cgicc::Cgicc &cgiIn, HttpXmlDocument &xmlOut, std::vector< DesktopIconTable::DesktopIcon > *newIcons=nullptr)
 
static void handleGetApplicationIdRequest (AllSupervisorInfo *applicationInfo, cgicc::Cgicc &cgiIn, HttpXmlDocument &xmlOut)
 
- Static Public Member Functions inherited from ots::CorePropertySupervisorBase
static void extractPermissionsMapFromString (const std::string &permissionsString, std::map< std::string, WebUsers::permissionLevel_t > &permissionsMap)
 
static bool doPermissionsGrantAccess (std::map< std::string, WebUsers::permissionLevel_t > &permissionLevelsMap, std::map< std::string, WebUsers::permissionLevel_t > &permissionThresholdsMap)
 
- Static Public Member Functions inherited from ots::ConfigurationSupervisorBase
static void getConfigurationStatusXML (HttpXmlDocument &xmlOut, ConfigurationManagerRW *cfgMgr)
 
static TableVersion saveModifiedVersionXML (HttpXmlDocument &xmlOut, ConfigurationManagerRW *cfgMgr, const std::string &tableName, TableVersion originalVersion, bool makeTemporary, TableBase *config, TableVersion temporaryModifiedVersion, bool ignoreDuplicates=false, bool lookForEquivalent=false)
 
static void handleCreateTableXML (HttpXmlDocument &xmlOut, ConfigurationManagerRW *cfgMgr, const std::string &tableName, TableVersion version, bool makeTemporary, const std::string &data, const int &dataOffset, const std::string &author, const std::string &comment, bool sourceTableAsIs, bool lookForEquivalent)
 
static void handleCreateTableGroupXML (HttpXmlDocument &xmlOut, ConfigurationManagerRW *cfgMgr, const std::string &groupName, const std::string &configList, bool allowDuplicates=false, bool ignoreWarnings=false, const std::string &groupComment="", bool lookForEquivalent=false)
 
static void handleGetTableGroupXML (HttpXmlDocument &xmlOut, ConfigurationManagerRW *cfgMgr, const std::string &groupName, TableGroupKey groupKey, bool ignoreWarnings=false)
 
static bool handleAddDesktopIconXML (HttpXmlDocument &xmlOut, ConfigurationManagerRW *cfgMgr, const std::string &iconCaption, const std::string &iconAltText, const std::string &iconFolderPath, const std::string &iconImageURL, const std::string &iconWindowURL, const std::string &iconPermissions, std::string windowLinkedApp="", unsigned int windowLinkedAppLID=0, bool enforceOneWindowInstance=false, const std::string &windowParameters="")
 

Friends

class WizardSupervisor
 
class Iterator
 

Additional Inherited Members

- Public Attributes inherited from ots::CorePropertySupervisorBase
AllSupervisorInfo allSupervisorInfo_
 
ConfigurationManagertheConfigurationManager_
 
- Static Public Attributes inherited from ots::RunControlStateMachine
static const std::string FAILED_STATE_NAME = "Failed"
 
static const std::string HALTED_STATE_NAME = "Halted"
 
- Protected Attributes inherited from ots::SOAPMessenger
xdaq::Application * theApplication_
 
- Protected Attributes inherited from ots::RunControlStateMachine
FiniteStateMachine theStateMachine_
 
ProgressBar theProgressBar_
 
volatile bool asyncFailureReceived_
 
volatile bool asyncSoftFailureReceived_
 
unsigned int iterationIndex_
 
unsigned int subIterationIndex_
 
bool iterationWorkFlag_
 
bool subIterationWorkFlag_
 
toolbox::fsm::State lastIterationState_
 
std::string lastIterationCommand_
 
std::string lastIterationResult_
 
unsigned int lastIterationIndex_
 
unsigned int lastSubIterationIndex_
 
std::map< toolbox::fsm::State,
std::map< std::string, void(RunControlStateMachine::*)(toolbox::Event::Reference),
std::less< std::string > > > 
stateTransitionFunctionTable_
 
- Protected Attributes inherited from ots::CorePropertySupervisorBase
const std::string supervisorClass_
 
const std::string supervisorClassNoNamespace_
 
- Static Protected Attributes inherited from ots::CorePropertySupervisorBase
static struct
ots::CorePropertySupervisorBase::SupervisorProperties 
SUPERVISOR_PROPERTIES = CorePropertySupervisorBase::SupervisorProperties()
 

Detailed Description

Definition at line 48 of file GatewaySupervisor.h.


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