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

Classes

class  TestActuatorConfig
 The TestActuatorConfig class. More...
 
class  TestActuatorLcsIf
 

Functions

void ApplyState (ifw::fcf::devmgr::actuator::ActuatorLcsIf &, std::shared_ptr< testActuatorLcsIf::TestActuatorConfig > &, int, int)
 
void ExpectRead (std::shared_ptr< MockICommAdapter > comm_if, std::shared_ptr< testActuatorLcsIf::TestActuatorConfig > &, int, int)
 
void FeedStat (ifw::fnd::defs::SubscriptionHandler &handler, std::shared_ptr< testActuatorLcsIf::TestActuatorConfig > &dev_cfg, const std::string &stat_node, int value)
 
 TEST_F (TestActuatorLcsIf, Ctor)
 
 TEST_F (TestActuatorLcsIf, Connect)
 
 TEST_F (TestActuatorLcsIf, SwitchOn)
 
 TEST_F (TestActuatorLcsIf, SwitchOff)
 
 TEST_F (TestActuatorLcsIf, StateQueries)
 
 TEST_F (TestActuatorLcsIf, ReadStatus)
 

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 testActuatorLcsIf::ApplyState ( ifw::fcf::devmgr::actuator::ActuatorLcsIf & ,
std::shared_ptr< testActuatorLcsIf::TestActuatorConfig > & ,
int ,
int  )

◆ ExpectRead()

void testActuatorLcsIf::ExpectRead ( std::shared_ptr< MockICommAdapter > comm_if,
std::shared_ptr< testActuatorLcsIf::TestActuatorConfig > & ,
int ,
int  )

◆ FeedStat()

void testActuatorLcsIf::FeedStat ( ifw::fnd::defs::SubscriptionHandler & handler,
std::shared_ptr< testActuatorLcsIf::TestActuatorConfig > & dev_cfg,
const std::string & stat_node,
int value )

◆ TEST_F() [1/6]

testActuatorLcsIf::TEST_F ( TestActuatorLcsIf ,
Connect  )

◆ TEST_F() [2/6]

testActuatorLcsIf::TEST_F ( TestActuatorLcsIf ,
Ctor  )

◆ TEST_F() [3/6]

testActuatorLcsIf::TEST_F ( TestActuatorLcsIf ,
ReadStatus  )

◆ TEST_F() [4/6]

testActuatorLcsIf::TEST_F ( TestActuatorLcsIf ,
StateQueries  )

◆ TEST_F() [5/6]

testActuatorLcsIf::TEST_F ( TestActuatorLcsIf ,
SwitchOff  )

◆ TEST_F() [6/6]

testActuatorLcsIf::TEST_F ( TestActuatorLcsIf ,
SwitchOn  )

Variable Documentation

◆ ACTUATOR_CFG

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

◆ ACTUATOR_MAP_CFG

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

◆ CONFIG_CFG

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

◆ STATE_NOT_OPERATIONAL

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

◆ STATE_OPERATIONAL

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

◆ SUBSTATE_OP_OFF

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

◆ SUBSTATE_OP_ON

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

◆ SUBSTATE_OP_SWITCHING_OFF

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

◆ SUBSTATE_OP_SWITCHING_ON

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

◆ SUBSTATE_READY_OFF

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

◆ SUBSTATE_READY_ON

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