ifw-fcf 8.0.2
 
Loading...
Searching...
No Matches
testActuator Namespace Reference

Classes

class  MyActuator
 
class  MyDeviceConfig
 
class  TestActuator
 

Functions

void ApplyState (std::shared_ptr< ifw::fcf::devmgr::actuator::ActuatorLcsIf > dev_lcs, std::shared_ptr< testActuator::MyDeviceConfig > &dev_cfg, int state, int substate)
 
 TEST_F (TestActuator, Connect)
 Test the connection to the LCS.
 
 TEST_F (TestActuator, Setup)
 Test the device class Setup and IsSetupActive methods.
 
 TEST_F (TestActuator, Status)
 Test the device Status method.
 

Variables

std::string const CONFIG_CFG = std::string("config/config.yaml")
 
std::string const ACTUATOR_CFG = std::string("config/testActuator.yaml")
 
std::string const ACTUATOR_MAP_CFG = std::string("config/testMapActuator.yaml")
 
const short STATE_NOT_OPERATIONAL = ifw::fcf::devmgr::common::STATE_NOT_OPERATIONAL
 
const short STATE_OPERATIONAL = ifw::fcf::devmgr::common::STATE_OPERATIONAL
 
const short SUBSTATE_READY_OFF = ifw::fcf::devmgr::actuator::SUBSTATE_READY_OFF
 
const short SUBSTATE_READY_ON = ifw::fcf::devmgr::actuator::SUBSTATE_READY_ON
 
const short SUBSTATE_OP_OFF = ifw::fcf::devmgr::actuator::SUBSTATE_OP_OFF
 
const short SUBSTATE_OP_ON = ifw::fcf::devmgr::actuator::SUBSTATE_OP_ON
 
const short SUBSTATE_OP_SWITCHING_OFF = ifw::fcf::devmgr::actuator::SUBSTATE_OP_SWITCHING_OFF
 
const short SUBSTATE_OP_SWITCHING_ON = ifw::fcf::devmgr::actuator::SUBSTATE_OP_SWITCHING_ON
 

Function Documentation

◆ ApplyState()

void testActuator::ApplyState ( std::shared_ptr< ifw::fcf::devmgr::actuator::ActuatorLcsIf > dev_lcs,
std::shared_ptr< testActuator::MyDeviceConfig > & dev_cfg,
int state,
int substate )

◆ TEST_F() [1/3]

testActuator::TEST_F ( TestActuator ,
Connect  )

Test the connection to the LCS.

◆ TEST_F() [2/3]

testActuator::TEST_F ( TestActuator ,
Setup  )

Test the device class Setup and IsSetupActive methods.

◆ TEST_F() [3/3]

testActuator::TEST_F ( TestActuator ,
Status  )

Test the device Status method.

Variable Documentation

◆ ACTUATOR_CFG

std::string const testActuator::ACTUATOR_CFG = std::string("config/testActuator.yaml")

◆ ACTUATOR_MAP_CFG

std::string const testActuator::ACTUATOR_MAP_CFG = std::string("config/testMapActuator.yaml")

◆ CONFIG_CFG

std::string const testActuator::CONFIG_CFG = std::string("config/config.yaml")

◆ STATE_NOT_OPERATIONAL

const short testActuator::STATE_NOT_OPERATIONAL = ifw::fcf::devmgr::common::STATE_NOT_OPERATIONAL

◆ STATE_OPERATIONAL

const short testActuator::STATE_OPERATIONAL = ifw::fcf::devmgr::common::STATE_OPERATIONAL

◆ SUBSTATE_OP_OFF

const short testActuator::SUBSTATE_OP_OFF = ifw::fcf::devmgr::actuator::SUBSTATE_OP_OFF

◆ SUBSTATE_OP_ON

const short testActuator::SUBSTATE_OP_ON = ifw::fcf::devmgr::actuator::SUBSTATE_OP_ON

◆ SUBSTATE_OP_SWITCHING_OFF

const short testActuator::SUBSTATE_OP_SWITCHING_OFF = ifw::fcf::devmgr::actuator::SUBSTATE_OP_SWITCHING_OFF

◆ SUBSTATE_OP_SWITCHING_ON

const short testActuator::SUBSTATE_OP_SWITCHING_ON = ifw::fcf::devmgr::actuator::SUBSTATE_OP_SWITCHING_ON

◆ SUBSTATE_READY_OFF

const short testActuator::SUBSTATE_READY_OFF = ifw::fcf::devmgr::actuator::SUBSTATE_READY_OFF

◆ SUBSTATE_READY_ON

const short testActuator::SUBSTATE_READY_ON = ifw::fcf::devmgr::actuator::SUBSTATE_READY_ON