A specific command to send to the driver. More...
#include <cvb/driver/device_control.hpp>
Public Member Functions | |
| template<class PARAM> | |
| DeviceControlCommand (PARAM parameter, DeviceControlOperation operation) noexcept | |
| Creates a command from the given operation and command parameter. | |
| template<class PARAM = std::uint32_t> | |
| PARAM | Parameter () const noexcept |
| Gets the parameter part of the command. | |
| template<class PARAM = std::uint32_t> | |
| void | SetParameter (PARAM parameter) noexcept |
| Sets the parameter part of the command. | |
| DeviceControlOperation | Operation () const noexcept |
| Gets the operation part of the command. | |
| void | SetOperation (DeviceControlOperation operation) noexcept |
| Sets the operation part of the command. | |
A specific command to send to the driver.
|
inlinenoexcept |
Creates a command from the given operation and command parameter.
| [in] | parameter | Driver specific command parameter. |
| [in] | operation | Operation to perform on parameter. |
| Does | not throw any exception. |
|
inlinenoexcept |
Gets the operation part of the command.
| Does | not throw any exception. |
|
inlinenoexcept |
Gets the parameter part of the command.
| Does | not throw any exception. |
|
inlinenoexcept |
Sets the operation part of the command.
| [in] | operation | The new operation. |
| Does | not throw any exception. |
|
inlinenoexcept |
Sets the parameter part of the command.
| [in] | parameter | The new parameter. Basically driver specific raw byte data. |
| Does | not throw any exception. |