CPP Device Virtualization API Reference for Oracle Internet of Things Cloud Service Client Software Library. Release 21.1.1.0.0-3. E92477-09
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Pages
iotdcl::ActionEvent< V > Class Template Referenceabstract

An event passed to the onChange callback. More...

#include <AbstractVirtualDevice.hpp>

+ Inheritance diagram for iotdcl::ActionEvent< V >:

Public Member Functions

virtual const std::string getName () const =0
 Get the name of the action. More...
 
virtual ~ActionEvent ()
 Destructor.
 
- Public Member Functions inherited from iotdcl::Event< V >
virtual ~Event ()
 Destructor.
 
virtual V * getVirtualDevice ()=0
 Get the virtual device that is the source of the event. More...
 
virtual NamedValuegetNamedValue () const =0
 Get the name-value pair from the event. More...
 

Protected Member Functions

 ActionEvent (VirtualDevice *vd, NamedValue *value)
 
- Protected Member Functions inherited from iotdcl::Event< V >
 Event (VirtualDevice *vd, NamedValue *value)
 

Additional Inherited Members

- Protected Attributes inherited from iotdcl::Event< V >
VirtualDevicevd
 
NamedValuevalue
 

Detailed Description

template<class V>
class iotdcl::ActionEvent< V >

An event passed to the onChange callback.

See Also
iotdcl::ChangeCallback
iotdcl::Event

Member Function Documentation

template<class V>
virtual const std::string iotdcl::ActionEvent< V >::getName ( ) const
pure virtual

Get the name of the action.

Returns
the name of the action

The documentation for this class was generated from the following file: