#include <ddtRemoteControl.hpp>
◆ DdtRemoteControl()
DdtRemoteControl::DdtRemoteControl |
( |
const std::string | server_uri, |
|
|
DdtLogger * | ddt_logger ) |
|
explicit |
Constructor
- Parameters
-
server_uri | The URI of the MAL server. |
ddt_logger | A DDT logger object (no transfer of ownership). |
◆ ~DdtRemoteControl()
DdtRemoteControl::~DdtRemoteControl |
( |
| ) |
|
|
virtual |
◆ HandleRemoteCommand()
mal::future< std::string > DdtRemoteControl::HandleRemoteCommand |
( |
const std::string & | image_widget_name, |
|
|
const std::string & | command_name, |
|
|
const std::vector< std::string > & | command_arguments ) |
|
override |
Handles the command sent by remote clients.
- Parameters
-
image_widget_name | Name of the image widget. |
command_name | Name of the command. |
command_arguments | Arguments of the command. |
- Returns
- Future object which retrieves the server response.
◆ ProcessResponse()
void DdtRemoteControl::ProcessResponse |
( |
const std::string & | response | ) |
|
Processes the received response.
- Parameters
-
response | The received response. |
◆ StartRemoteControlServer()
void DdtRemoteControl::StartRemoteControlServer |
( |
| ) |
|
Starts the ServerThread() function.
◆ logger
◆ remote_command_signal
Boost signal to send the remote command which was received via MALrr.
The documentation for this class was generated from the following files: