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::ErrorEvent< V > Class Template Referenceabstract

An event passed to the. More...

#include <AbstractVirtualDevice.hpp>

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

Public Member Functions

virtual const std::string getMessage () const =0
 Get the error message. More...
 
- 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

 ErrorEvent (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::ErrorEvent< V >

An event passed to the.

onError

callback to indicate an error has occurred when setting one or more attributes.

Parameters
<V>the type of iotdcl::AbstractVirtualDevice
See Also
iotdcl::ErrorCallback
iotdcl::Event

Member Function Documentation

template<class V>
virtual const std::string iotdcl::ErrorEvent< V >::getMessage ( ) const
pure virtual

Get the error message.

Returns
An error message

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