|
| MockSlave (uint16_t id) |
|
uint16_t | get_device_id () const override |
| Get the device ID. More...
|
|
uint16_t | get_hardware_id () const override |
| Get the hardware ID. More...
|
|
Protocol | get_protocol () const override |
| Get the protocol the device uses. More...
|
|
Type | get_device_type () const override |
| Get the device type. More...
|
|
std::list< VirtualParameter * > | get_all_virtual_parameters () override |
| Get all available configuration parameters on the virtual device. More...
|
|
VirtualParameter * | get_virtual_parameter (uint16_t index, uint8_t subindex) override |
| Get a configuration parameter. More...
|
|
std::variant< MotionMasterError, std::list< std::string > > | get_file_list () override |
| Get the list of available files on the device. More...
|
|
std::variant< MotionMasterError, std::vector< uint8_t > > | read_file (const std::string &file_name) override |
| Get the file content from a file from the flash memory. More...
|
|
MotionMasterError | write_file (const std::string &file_name, const std::vector< uint8_t > &content, std::function< void(uint8_t)> progress_callback) override |
| Write the file to the flash memory. More...
|
|
MotionMasterError | remove_file (const std::string &file_name) override |
| Remove the file from the flash memory. More...
|
|
bool | is_operational () const override |
| Check if the device is operational. More...
|
|
virtual | ~VirtualDevice ()=default |
|
virtual uint16_t | get_device_id () const =0 |
| Get the device ID. More...
|
|
virtual uint16_t | get_hardware_id () const =0 |
| Get the hardware ID. More...
|
|
virtual Protocol | get_protocol () const |
| Get the protocol the device uses. More...
|
|
virtual Type | get_device_type () const |
| Get the device type. More...
|
|
virtual std::list< VirtualParameter * > | get_all_virtual_parameters ()=0 |
| Get all available configuration parameters on the virtual device. More...
|
|
virtual VirtualParameter * | get_virtual_parameter (uint16_t index, uint8_t subindex)=0 |
| Get a configuration parameter. More...
|
|
virtual std::variant< MotionMasterError, std::list< std::string > > | get_file_list ()=0 |
| Get the list of available files on the device. More...
|
|
virtual std::variant< MotionMasterError, std::vector< uint8_t > > | read_file (const std::string &file_name)=0 |
| Get the file content from a file from the flash memory. More...
|
|
virtual MotionMasterError | write_file (const std::string &file_name, const std::vector< uint8_t > &content, std::function< void(uint8_t)> progress_callback)=0 |
| Write the file to the flash memory. More...
|
|
virtual MotionMasterError | remove_file (const std::string &file_name)=0 |
| Remove the file from the flash memory. More...
|
|
virtual bool | is_operational () const =0 |
| Check if the device is operational. More...
|
|