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

Classes

class  testIODev::MyDeviceConfig
 Test SensorConfig class used for testing purposes. More...
 
class  testIODev::MyIODev
 Test sensor class used for testing purposes. More...
 
class  testIODev::TestIODev
 

Namespaces

namespace  testIODev
 

Functions

 testIODev::TEST_F (TestIODev, Ctor)
 Test Sensor constructor.
 
 testIODev::TEST_F (TestIODev, Ignore)
 Test the device ignore functionality.
 
 testIODev::TEST_F (TestIODev, Simulate)
 Test the device simulation functionality.
 
 testIODev::TEST_F (TestIODev, DISABLED_Status)
 
 testIODev::TEST_F (TestIODev, EndAcq)
 Test the end of an acquisition.
 
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 testIODev::CONFIG_CFG = std::string("config/config.yaml")
 
std::string const testIODev::IODEV_CFG = std::string("config/testSensor.yaml")
 
std::string const testIODev::IODEV_MAP_CFG = std::string("config/testMapIODev.yaml")
 
std::string const testIODev::SENSOR_MAP_CFG = std::string("config/testMapSensor.yaml")
 

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).