API
 
Loading...
Searching...
No Matches
libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test Struct Reference

#include <MagAOXApp_test.hpp>

Inheritance diagram for libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test:
Inheritance graph
Collaboration diagram for libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test:
Collaboration graph

Public Member Functions

 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)
 
int setEuidCalled ()
 
int setEuidCalled (int euidc)
 
int lockPID ()
 
int unlockPID ()
 

Public Attributes

int called_back { 0 }
 

Detailed Description

Definition at line 23 of file MagAOXApp_test.hpp.

Constructor & Destructor Documentation

◆ MagAOXApp_test()

libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::MagAOXApp_test ( bool  gitmod = false)
inline

Definition at line 25 of file MagAOXApp_test.hpp.

Member Function Documentation

◆ _handlerSigTerm()

void libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::_handlerSigTerm ( int  signum,
siginfo_t *  siginf,
void *  ucont 
)
inline

Definition at line 199 of file MagAOXApp_test.hpp.

Referenced by libXWCTest::appTest::MagAOXAppTest::TEST_CASE().

◆ addUnusedConfig()

void libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::addUnusedConfig ( )
inline

Definition at line 29 of file MagAOXApp_test.hpp.

◆ appLogic()

virtual int libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::appLogic ( )
inlinevirtual

Definition at line 44 of file MagAOXApp_test.hpp.

◆ appShutdown()

virtual int libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::appShutdown ( )
inlinevirtual

Definition at line 48 of file MagAOXApp_test.hpp.

◆ appStartup()

virtual int libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::appStartup ( )
inlinevirtual

Definition at line 40 of file MagAOXApp_test.hpp.

◆ configOnly()

bool libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::configOnly ( )
inline

Definition at line 78 of file MagAOXApp_test.hpp.

◆ configPathGlobal()

std::string libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::configPathGlobal ( )
inline

Definition at line 53 of file MagAOXApp_test.hpp.

Referenced by libXWCTest::appTest::MagAOXAppTest::TEST_CASE().

◆ configPathLocal()

std::string libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::configPathLocal ( )
inline

Definition at line 63 of file MagAOXApp_test.hpp.

Referenced by libXWCTest::appTest::MagAOXAppTest::TEST_CASE().

◆ configPathUser()

std::string libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::configPathUser ( )
inline

Definition at line 58 of file MagAOXApp_test.hpp.

Referenced by libXWCTest::appTest::MagAOXAppTest::TEST_CASE().

◆ configurePowerManagement()

void libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::configurePowerManagement ( const std::string &  device,
const std::string &  channel 
)
inline

Definition at line 163 of file MagAOXApp_test.hpp.

Referenced by libXWCTest::appTest::MagAOXAppTest::TEST_CASE().

◆ configurePowerOnWait()

void libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::configurePowerOnWait ( unsigned long  powerOnWait,
int  powerOnCounter,
int  loopPause 
)
inline

Definition at line 173 of file MagAOXApp_test.hpp.

Referenced by libXWCTest::appTest::MagAOXAppTest::TEST_CASE().

◆ doFSMClearAlert()

void libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::doFSMClearAlert ( )
inline

Definition at line 107 of file MagAOXApp_test.hpp.

Referenced by libXWCTest::appTest::MagAOXAppTest::TEST_CASE().

◆ doHelp()

bool & libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::doHelp ( )
inline

Definition at line 73 of file MagAOXApp_test.hpp.

Referenced by libXWCTest::appTest::MagAOXAppTest::TEST_CASE().

◆ invokedName()

std::string & libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::invokedName ( )
inline

◆ lockPID()

int libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::lockPID ( )
inline

Definition at line 226 of file MagAOXApp_test.hpp.

Referenced by libXWCTest::appTest::MagAOXAppTest::TEST_CASE().

◆ onPowerOff()

int libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::onPowerOff ( )
inline

Definition at line 143 of file MagAOXApp_test.hpp.

Referenced by libXWCTest::appTest::MagAOXAppTest::TEST_CASE().

◆ powerChannel()

std::string libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::powerChannel ( )
inline

Definition at line 123 of file MagAOXApp_test.hpp.

◆ powerDevice()

std::string libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::powerDevice ( )
inline

Definition at line 118 of file MagAOXApp_test.hpp.

◆ powerElement()

std::string libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::powerElement ( )
inline

Definition at line 128 of file MagAOXApp_test.hpp.

◆ powerOnWait()

int libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::powerOnWait ( )
inline

Definition at line 138 of file MagAOXApp_test.hpp.

◆ powerOnWaitElapsed()

bool libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::powerOnWaitElapsed ( )
inline

Definition at line 153 of file MagAOXApp_test.hpp.

Referenced by libXWCTest::appTest::MagAOXAppTest::TEST_CASE().

◆ powerState()

int libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::powerState ( )
inline

Definition at line 158 of file MagAOXApp_test.hpp.

Referenced by libXWCTest::appTest::MagAOXAppTest::TEST_CASE().

◆ powerTargetElement()

std::string libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::powerTargetElement ( )
inline

Definition at line 133 of file MagAOXApp_test.hpp.

◆ setAlert()

void libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::setAlert ( )
inline

Definition at line 102 of file MagAOXApp_test.hpp.

Referenced by libXWCTest::appTest::MagAOXAppTest::TEST_CASE().

◆ setConfigBase()

void libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::setConfigBase ( const std::string &  cb)
inline

Definition at line 95 of file MagAOXApp_test.hpp.

Referenced by libXWCTest::appTest::MagAOXAppTest::TEST_CASE().

◆ setConfigName()

void libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::setConfigName ( const std::string &  cn)
inline

◆ setEuidCalled() [1/2]

int libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::setEuidCalled ( )
inline

Definition at line 215 of file MagAOXApp_test.hpp.

Referenced by libXWCTest::appTest::MagAOXAppTest::TEST_CASE().

◆ setEuidCalled() [2/2]

int libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::setEuidCalled ( int  euidc)
inline

Definition at line 220 of file MagAOXApp_test.hpp.

◆ setEuidReal() [1/2]

int libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::setEuidReal ( )
inline

Definition at line 204 of file MagAOXApp_test.hpp.

Referenced by libXWCTest::appTest::MagAOXAppTest::TEST_CASE().

◆ setEuidReal() [2/2]

int libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::setEuidReal ( int  euidr)
inline

Definition at line 209 of file MagAOXApp_test.hpp.

◆ 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

Definition at line 180 of file MagAOXApp_test.hpp.

Referenced by libXWCTest::appTest::MagAOXAppTest::TEST_CASE().

◆ setSigTermHandler()

int libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::setSigTermHandler ( )
inline

Definition at line 194 of file MagAOXApp_test.hpp.

Referenced by libXWCTest::appTest::MagAOXAppTest::TEST_CASE().

◆ setup()

void libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::setup ( int  argc,
char **  argv 
)
inline

Definition at line 35 of file MagAOXApp_test.hpp.

◆ unlockPID()

int libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::unlockPID ( )
inline

Definition at line 231 of file MagAOXApp_test.hpp.

Referenced by libXWCTest::appTest::MagAOXAppTest::TEST_CASE().

◆ whilePowerOff()

int libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::whilePowerOff ( )
inline

Definition at line 148 of file MagAOXApp_test.hpp.

Referenced by libXWCTest::appTest::MagAOXAppTest::TEST_CASE().

Member Data Documentation

◆ called_back

int libXWCTest::appTest::MagAOXAppTest::MagAOXApp_test::called_back { 0 }

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