1 #ifndef _DBUTILS_DAQAPPMGR_APPLICATIONINSTANCE_H 2 #define _DBUTILS_DAQAPPMGR_APPLICATIONINSTANCE_H 4 #include <DatabaseUtils/DAQAppMgr/ApplicationType.h> 5 #include <DatabaseUtils/DAQAppMgr/Host.h> 6 #include <DatabaseUtils/SimpleParameterSet.h> 7 #include <boost/shared_ptr.hpp> 32 boost::shared_ptr<ApplicationType> typePtr =
33 boost::shared_ptr<ApplicationType>(),
34 boost::shared_ptr<Host> hostPtr =
35 boost::shared_ptr<Host>(),
37 const int& monitorMSec = 10000);
68 void setTypePtr(boost::shared_ptr<ApplicationType> typePtr) {
boost::shared_ptr< ApplicationType > _typePtr
int getMonitorMSec() const
bool operator!=(const ApplicationInstance &other) const
void setHostPtr(boost::shared_ptr< Host > hostPtr)
std::shared_ptr< T > shared_ptr
boost::shared_ptr< Host > getHostPtr() const
bool operator<(const ApplicationInstance &other) const
boost::shared_ptr< dbutils::SimpleParameterSet > _additionalParams
bool operator==(const ApplicationInstance &other) const
bool getParameter(const std::string &key, T &resultValue) const
void setTypePtr(boost::shared_ptr< ApplicationType > typePtr)
std::string getAppName() const
ApplicationInstance(const std::string &appName, const std::string &typeName, const std::string &hostName, boost::shared_ptr< ApplicationType > typePtr=boost::shared_ptr< ApplicationType >(), boost::shared_ptr< Host > hostPtr=boost::shared_ptr< Host >(), const bool &isEnabled=true, const int &monitorMSec=10000)
std::string getHostName() const
boost::shared_ptr< Host > _hostPtr
void setParameterSet(boost::shared_ptr< dbutils::SimpleParameterSet > additionalParams)
std::string getTypeName() const
boost::shared_ptr< ApplicationType > getTypePtr() const