ifw-fcf 8.0.2
 
Loading...
Searching...
No Matches
testActuatorLcsIf.cpp File Reference

Classes

class  testActuatorLcsIf::TestActuatorConfig
 The TestActuatorConfig class. More...
 
class  testActuatorLcsIf::TestActuatorLcsIf
 

Namespaces

namespace  testActuatorLcsIf
 

Functions

void testActuatorLcsIf::ApplyState (ifw::fcf::devmgr::actuator::ActuatorLcsIf &, std::shared_ptr< testActuatorLcsIf::TestActuatorConfig > &, int, int)
 
void testActuatorLcsIf::ExpectRead (std::shared_ptr< MockICommAdapter > comm_if, std::shared_ptr< testActuatorLcsIf::TestActuatorConfig > &, int, int)
 
void testActuatorLcsIf::FeedStat (ifw::fnd::defs::SubscriptionHandler &handler, std::shared_ptr< testActuatorLcsIf::TestActuatorConfig > &dev_cfg, const std::string &stat_node, int value)
 
 testActuatorLcsIf::TEST_F (TestActuatorLcsIf, Ctor)
 
 testActuatorLcsIf::TEST_F (TestActuatorLcsIf, Connect)
 
 testActuatorLcsIf::TEST_F (TestActuatorLcsIf, SwitchOn)
 
 testActuatorLcsIf::TEST_F (TestActuatorLcsIf, SwitchOff)
 
 testActuatorLcsIf::TEST_F (TestActuatorLcsIf, StateQueries)
 
 testActuatorLcsIf::TEST_F (TestActuatorLcsIf, ReadStatus)
 
ifw::fnd::defs::CallResult MakeRpcReply (short code, ifw::fnd::defs::Status batch_status=ifw::fnd::defs::Status::Ok)
 Build a CallResult that carries a single short reply code, matching the convention every FCF RPC uses (RPC reply in output_arguments[0].data.value as short).
 
ifw::fnd::defs::Result MakeOk ()
 Build a generic "Ok" Result.
 

Variables

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

Function Documentation

◆ MakeOk()

ifw::fnd::defs::Result ifw::fcf::devmgr::test::MakeOk ( )
inline

Build a generic "Ok" Result.

◆ MakeRpcReply()

ifw::fnd::defs::CallResult ifw::fcf::devmgr::test::MakeRpcReply ( short code,
ifw::fnd::defs::Status batch_status = ifw::fnd::defs::Status::Ok )
inline

Build a CallResult that carries a single short reply code, matching the convention every FCF RPC uses (RPC reply in output_arguments[0].data.value as short).