#include <MagAOXApp_test.hpp>
|
| | MagAOXApp_test (bool gitmod=false) |
| |
| void | addUnusedConfig () |
| |
| void | setup (int argc, char **argv) |
| |
| virtual int | appStartup () |
| |
| virtual int | appLogic () |
| |
| virtual int | appShutdown () |
| |
| std::string | configPathGlobal () |
| |
| std::string | configPathUser () |
| |
| std::string | configPathLocal () |
| |
| std::string & | invokedName () |
| |
| bool & | doHelp () |
| |
| bool | configOnly () |
| |
| void | setPowerMgtEnabled (bool pme) |
| |
| void | setConfigName (const std::string &cn) |
| |
| void | setConfigBase (const std::string &cb) |
| |
| void | setAlert () |
| |
| void | doFSMClearAlert () |
| |
| std::string | powerDevice () |
| |
| std::string | powerChannel () |
| |
| std::string | powerElement () |
| |
| std::string | powerTargetElement () |
| |
| int | powerOnWait () |
| |
| int | onPowerOff () |
| |
| int | whilePowerOff () |
| |
| bool | powerOnWaitElapsed () |
| |
| int | powerState () |
| |
| void | configurePowerManagement (const std::string &device, const std::string &channel) |
| |
| void | configurePowerOnWait (unsigned long powerOnWait, int powerOnCounter, int loopPause) |
| |
| int | setPowerState (const std::string &state, const std::string target) |
| |
| int | setSigTermHandler () |
| |
| void | _handlerSigTerm (int signum, siginfo_t *siginf, void *ucont) |
| |
| int | setEuidReal () |
| |
| int | setEuidReal (int euidr, bool set=true) |
| |
| int | setEuidCalled () |
| |
| int | setEuidCalled (int euidc) |
| |
| int | lockPID () |
| |
| int | unlockPID () |
| |
| std::string | setPropertyKey (const pcf::IndiProperty &prop) |
| |
| void | resetSetPropertyRetry (const std::string &key) |
| |
| bool | shouldRequestSetProperty (const std::string &key, bool all, const std::chrono::steady_clock::time_point &now) |
| |
| void | noteSetPropertyRequested (const std::string &key, const std::chrono::steady_clock::time_point &now) |
| |
| uint32_t | setPropertyRetryCount (const std::string &key) |
| |
| std::chrono::steady_clock::duration | setPropertyRetryDelay (const std::string &key) |
| |
| std::chrono::steady_clock::time_point | setPropertyNextRetry (const std::string &key) |
| |
| bool | setPropertyMissingLogged (const std::string &key) |
| |
| void | markSetPropertyReceived (const std::string &key, bool received) |
| |
Definition at line 23 of file MagAOXApp_test.hpp.
◆ MagAOXApp_test()
| libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::MagAOXApp_test |
( |
bool |
gitmod = false | ) |
|
|
inline |
◆ _handlerSigTerm()
| void libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::_handlerSigTerm |
( |
int |
signum, |
|
|
siginfo_t * |
siginf, |
|
|
void * |
ucont |
|
) |
| |
|
inline |
◆ addUnusedConfig()
| void libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::addUnusedConfig |
( |
| ) |
|
|
inline |
◆ appLogic()
| virtual int libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::appLogic |
( |
| ) |
|
|
inlinevirtual |
◆ appShutdown()
| virtual int libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::appShutdown |
( |
| ) |
|
|
inlinevirtual |
◆ appStartup()
| virtual int libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::appStartup |
( |
| ) |
|
|
inlinevirtual |
◆ configOnly()
| bool libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::configOnly |
( |
| ) |
|
|
inline |
◆ configPathGlobal()
| std::string libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::configPathGlobal |
( |
| ) |
|
|
inline |
◆ configPathLocal()
| std::string libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::configPathLocal |
( |
| ) |
|
|
inline |
◆ configPathUser()
| std::string libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::configPathUser |
( |
| ) |
|
|
inline |
◆ configurePowerManagement()
| void libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::configurePowerManagement |
( |
const std::string & |
device, |
|
|
const std::string & |
channel |
|
) |
| |
|
inline |
◆ configurePowerOnWait()
| void libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::configurePowerOnWait |
( |
unsigned long |
powerOnWait, |
|
|
int |
powerOnCounter, |
|
|
int |
loopPause |
|
) |
| |
|
inline |
◆ doFSMClearAlert()
| void libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::doFSMClearAlert |
( |
| ) |
|
|
inline |
◆ doHelp()
| bool & libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::doHelp |
( |
| ) |
|
|
inline |
◆ invokedName()
| std::string & libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::invokedName |
( |
| ) |
|
|
inline |
◆ lockPID()
| int libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::lockPID |
( |
| ) |
|
|
inline |
◆ markSetPropertyReceived()
| void libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::markSetPropertyReceived |
( |
const std::string & |
key, |
|
|
bool |
received |
|
) |
| |
|
inline |
◆ noteSetPropertyRequested()
| void libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::noteSetPropertyRequested |
( |
const std::string & |
key, |
|
|
const std::chrono::steady_clock::time_point & |
now |
|
) |
| |
|
inline |
◆ onPowerOff()
| int libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::onPowerOff |
( |
| ) |
|
|
inline |
◆ powerChannel()
| std::string libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::powerChannel |
( |
| ) |
|
|
inline |
◆ powerDevice()
| std::string libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::powerDevice |
( |
| ) |
|
|
inline |
◆ powerElement()
| std::string libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::powerElement |
( |
| ) |
|
|
inline |
◆ powerOnWait()
| int libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::powerOnWait |
( |
| ) |
|
|
inline |
◆ powerOnWaitElapsed()
| bool libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::powerOnWaitElapsed |
( |
| ) |
|
|
inline |
◆ powerState()
| int libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::powerState |
( |
| ) |
|
|
inline |
◆ powerTargetElement()
| std::string libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::powerTargetElement |
( |
| ) |
|
|
inline |
◆ resetSetPropertyRetry()
| void libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::resetSetPropertyRetry |
( |
const std::string & |
key | ) |
|
|
inline |
◆ setAlert()
| void libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::setAlert |
( |
| ) |
|
|
inline |
◆ setConfigBase()
| void libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::setConfigBase |
( |
const std::string & |
cb | ) |
|
|
inline |
◆ setConfigName()
| void libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::setConfigName |
( |
const std::string & |
cn | ) |
|
|
inline |
◆ setEuidCalled() [1/2]
| int libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::setEuidCalled |
( |
| ) |
|
|
inline |
◆ setEuidCalled() [2/2]
| int libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::setEuidCalled |
( |
int |
euidc | ) |
|
|
inline |
◆ setEuidReal() [1/2]
| int libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::setEuidReal |
( |
| ) |
|
|
inline |
◆ setEuidReal() [2/2]
| int libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::setEuidReal |
( |
int |
euidr, |
|
|
bool |
set = true |
|
) |
| |
|
inline |
◆ setPowerMgtEnabled()
| void libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::setPowerMgtEnabled |
( |
bool |
pme | ) |
|
|
inline |
◆ setPowerState()
| int libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::setPowerState |
( |
const std::string & |
state, |
|
|
const std::string |
target |
|
) |
| |
|
inline |
◆ setPropertyKey()
| std::string libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::setPropertyKey |
( |
const pcf::IndiProperty & |
prop | ) |
|
|
inline |
◆ setPropertyMissingLogged()
| bool libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::setPropertyMissingLogged |
( |
const std::string & |
key | ) |
|
|
inline |
◆ setPropertyNextRetry()
| std::chrono::steady_clock::time_point libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::setPropertyNextRetry |
( |
const std::string & |
key | ) |
|
|
inline |
◆ setPropertyRetryCount()
| uint32_t libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::setPropertyRetryCount |
( |
const std::string & |
key | ) |
|
|
inline |
◆ setPropertyRetryDelay()
| std::chrono::steady_clock::duration libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::setPropertyRetryDelay |
( |
const std::string & |
key | ) |
|
|
inline |
◆ setSigTermHandler()
| int libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::setSigTermHandler |
( |
| ) |
|
|
inline |
◆ setup()
| void libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::setup |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
|
inline |
◆ shouldRequestSetProperty()
| bool libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::shouldRequestSetProperty |
( |
const std::string & |
key, |
|
|
bool |
all, |
|
|
const std::chrono::steady_clock::time_point & |
now |
|
) |
| |
|
inline |
◆ unlockPID()
| int libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::unlockPID |
( |
| ) |
|
|
inline |
◆ whilePowerOff()
| int libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::whilePowerOff |
( |
| ) |
|
|
inline |
◆ appLogicFail
| bool libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::appLogicFail { false } |
◆ appShutdownFail
| bool libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::appShutdownFail { false } |
◆ appStartupFail
| bool libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::appStartupFail { false } |
◆ called_back
| int libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::called_back { 0 } |
The documentation for this struct was generated from the following file: