ifw-fcf
5.0.0-pre2
|
Namespaces | |
actuator | |
adc | |
common | |
drot | |
iodev | |
lamp | |
motor | |
piezo | |
shutter | |
smaract | |
Functions | |
virtual bool | IsReady () const |
Check if controller is in Standby/Ready state. More... | |
virtual bool | IsOperational () const |
Check if controller is in Operational. More... | |
virtual std::string | GetRpcError (const short error_code) const |
Variables | |
const std::unordered_map< short, std::string > | hw_errors |
class { | |
} | capitalize ()}}LcsIf(std {{cookiecutter.device_name|capitalize()}}LcsIf() = default |
{{cookiecutter.device_name|capitalize()}} Local Control System (LCS) Interface (IF) class More... | |
const std::unordered_map< short, std::string > | rpc_errors |
|
virtual |
error_code | Error code |
|
virtual |
Check if controller is in Operational.
|
virtual |
Check if controller is in Standby/Ready state.
class { ... } virtual fcf::devmgr::capitalize()}}LcsIf(std |
{{cookiecutter.device_name|capitalize()}} Local Control System (LCS) Interface (IF) class
This class manages the {{cookiecutter.device_name|capitalize()}} connection to the LCS encapsulating all basic communication with the controller or the simulator.
Each RPC call is synchronous but it only starts the action in the controller. The controller will return successfully if the action can be started, not that the action was completed.
The completion of the action must be monitored by reading the status of the controller but this is out of the scope of this class.
{{cookiecutter.device_name}}LcsIf constructor.
[in,out] | config | Shared pointer to the device configuration. |
[in,out] | data_ctx | Reference to the data context object. |
[in] | initialise | Flag to control the initialization. This flag is used when using child classes. |
{{cookiecutter.device_name|capitalize()}} destructor
const std::unordered_map<short, std::string> fcf::devmgr::hw_errors |
const std::unordered_map<short, std::string> fcf::devmgr::rpc_errors |