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
Alert.hpp File Reference

An Alert to be sent to the server. More...

#include "iotcs_virtual_device.h"
#include <string>
#include <stdexcept>
#include <mutex>
#include <map>

Go to the source code of this file.

Structures

class  iotdcl::Alert
 

Namespaces

 iotdcl
 A name-value pair in an event.
 

Macros

#define MUTEX_TYPE   std::mutex
 

Detailed Description

An Alert to be sent to the server.

The alert is sent by calling the raise() method. The time of the alert is set when raise() is called, allowing raise() to be called more than once.

The set() method returns the Alert instance to allow the fields of the alert to be set in fluent style.

See Also
VirtualDevice::createAlert(const std::string &)