CPP Device Virtualization API Reference for Oracle Internet of Things Cloud Service Client Software Library. Release 21.1.1.0.0-3. E92477-09
|
Callback interface for actions in the device model. More...
#include <VirtualDevice.hpp>
Public Member Functions | |
virtual void | call (VirtualDevice *virtualDevice, const NamedValue &data) const =0 |
The method called for handling a device model action. More... | |
virtual | ~Callable () |
Desctructor. | |
Callback interface for actions in the device model.
|
pure virtual |
The method called for handling a device model action.
For an execute action, the generic type should be
. The client library will pass NULL to the call() method if the action is executable. For a write-only action, the generic type should match the expected data type of the action.
virtualDevice | the VirtualDevice on which the action is being invoked |
data | the data |