ifw-fcf  2.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
MockIConfig Class Reference

#include <mockIConfig.hpp>

Inheritance diagram for MockIConfig:
fcf::devmgr::common::IConfig

Public Member Functions

 MOCK_METHOD2 (ParseOptions, bool(int argc, char *argv[]))
 
 MOCK_METHOD1 (LoadConfig, void(const std::string &))
 
 MOCK_CONST_METHOD0 (GetServerId, const std::string())
 
 MOCK_CONST_METHOD0 (GetMsgReplierEndpoint, const std::string())
 
 MOCK_CONST_METHOD0 (GetDbEndpoint, const std::string())
 
 MOCK_CONST_METHOD0 (GetPubEndpoint, const std::string())
 
 MOCK_CONST_METHOD0 (GetSubEndpoint, const std::string())
 
 MOCK_CONST_METHOD0 (GetExtPubEndpoint, const std::string())
 
 MOCK_CONST_METHOD0 (GetExtSubEndpoint, const std::string())
 
 MOCK_CONST_METHOD0 (GetDbTimeout, const timeval())
 
 MOCK_CONST_METHOD0 (GetSmScxmlFilename, const std::string())
 
 MOCK_CONST_METHOD0 (GetConfigFilename, const std::string())
 
 MOCK_CONST_METHOD0 (GetProcName, const std::string())
 
 MOCK_CONST_METHOD0 (GetLogLevel, const std::string())
 
 MOCK_METHOD0 (GetNumDevices, const int())
 
 MOCK_METHOD1 (GetDeviceName, const std::string(const int deviceIndex))
 
 MOCK_METHOD1 (GetDeviceFile, const std::string(const std::string name))
 
 MOCK_METHOD1 (GetDeviceType, const std::string(const std::string name))
 
 MOCK_METHOD0 (GetCmdTout, const unsigned int())
 
- Public Member Functions inherited from fcf::devmgr::common::IConfig
virtual bool ParseOptions (int argc, char *argv[])=0
 
virtual void LoadConfig (const std::string &filename="")=0
 
virtual const std::string GetServerId () const =0
 
virtual const std::string GetMsgReplierEndpoint () const =0
 
virtual const std::string GetDbEndpoint () const =0
 
virtual const std::string GetPubEndpoint () const =0
 
virtual const timeval GetDbTimeout () const =0
 
virtual const std::string GetSmScxmlFilename () const =0
 
virtual const std::string GetConfigFilename () const =0
 
virtual const std::string GetProcName () const =0
 
virtual const std::string GetLogLevel () const =0
 
virtual const std::string GetFitsPrefix () const =0
 Get FITS prefix. More...
 
virtual const int GetNumDevices ()=0
 GetNumDevices. More...
 
virtual const std::string GetDeviceName (const int &deviceIndex)=0
 GetDeviceName. More...
 
virtual const std::string GetDeviceFile (const std::string &name)=0
 GetDeviceFile. More...
 
virtual const std::string GetDeviceType (const std::string &name)=0
 GetDeviceType. More...
 
virtual const unsigned int GetCmdTout ()=0
 GetCmdTout. More...
 
virtual dit::did::Did & GetDid ()=0
 
virtual void GetConfigList (std::vector< std::string > &cfg_list)=0
 Get configuration list. More...
 

Member Function Documentation

MockIConfig::MOCK_CONST_METHOD0 ( GetServerId  ,
const std::  string() 
)
MockIConfig::MOCK_CONST_METHOD0 ( GetMsgReplierEndpoint  ,
const std::  string() 
)
MockIConfig::MOCK_CONST_METHOD0 ( GetDbEndpoint  ,
const std::  string() 
)
MockIConfig::MOCK_CONST_METHOD0 ( GetPubEndpoint  ,
const std::  string() 
)
MockIConfig::MOCK_CONST_METHOD0 ( GetSubEndpoint  ,
const std::  string() 
)
MockIConfig::MOCK_CONST_METHOD0 ( GetExtPubEndpoint  ,
const std::  string() 
)
MockIConfig::MOCK_CONST_METHOD0 ( GetExtSubEndpoint  ,
const std::  string() 
)
MockIConfig::MOCK_CONST_METHOD0 ( GetDbTimeout  ,
const   timeval() 
)
MockIConfig::MOCK_CONST_METHOD0 ( GetSmScxmlFilename  ,
const std::  string() 
)
MockIConfig::MOCK_CONST_METHOD0 ( GetConfigFilename  ,
const std::  string() 
)
MockIConfig::MOCK_CONST_METHOD0 ( GetProcName  ,
const std::  string() 
)
MockIConfig::MOCK_CONST_METHOD0 ( GetLogLevel  ,
const std::  string() 
)
MockIConfig::MOCK_METHOD0 ( GetNumDevices  ,
const   int() 
)
MockIConfig::MOCK_METHOD0 ( GetCmdTout  ,
const unsigned   int() 
)
MockIConfig::MOCK_METHOD1 ( LoadConfig  ,
void(const std::string &)   
)
MockIConfig::MOCK_METHOD1 ( GetDeviceName  ,
const std::  stringconst int deviceIndex 
)
MockIConfig::MOCK_METHOD1 ( GetDeviceFile  ,
const std::  stringconst std::string name 
)
MockIConfig::MOCK_METHOD1 ( GetDeviceType  ,
const std::  stringconst std::string name 
)
MockIConfig::MOCK_METHOD2 ( ParseOptions  ,
bool(int argc, char *argv[])   
)

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