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

An event passed to the setOnSync(SyncCallback) SyncCallback when content referred to by an attribute value has been successfully synchronized, or has failed to be synchronized. More...

#include <StorageObject.hpp>

Public Member Functions

virtual V * getVirtualDevice () const =0
 Get the virtual device that is the source of the event. More...
 
virtual const std::string & getName () const =0
 Get the name of the attribute, action, or format that this event is associated with. More...
 
virtual StorageObjectgetSource () const =0
 Get the iotdcl::StorageObject} that is the source of this event. More...
 
virtual ~SyncEvent ()
 Destructor.
 

Detailed Description

template<class V>
class iotdcl::SyncEvent< V >

An event passed to the setOnSync(SyncCallback) SyncCallback when content referred to by an attribute value has been successfully synchronized, or has failed to be synchronized.

Parameters
<V>the type of AbstractVirtualDevice

Member Function Documentation

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

Get the name of the attribute, action, or format that this event is associated with.

Returns
the name independently
template<class V>
virtual StorageObject* iotdcl::SyncEvent< V >::getSource ( ) const
pure virtual

Get the iotdcl::StorageObject} that is the source of this event.

Returns
the storageObject
template<class V>
virtual V* iotdcl::SyncEvent< V >::getVirtualDevice ( ) const
pure virtual

Get the virtual device that is the source of the event.

Returns
the virtual device, or NULL if StorageObject.sync() was called independently

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