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

Represents a set of custom data fields (key/value pair) 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::Data
 

Namespaces

 iotdcl
 A name-value pair in an event.
 

Macros

#define MUTEX_TYPE   std::mutex
 

Detailed Description

Represents a set of custom data fields (key/value pair) to be sent to the server.

The custom data is sent by calling the submit() method. The time of the data fields are set when submit() is called, allowing

submit()

to be called more than once.

The set() method returns the #Data instance to allow fields of data to be set in fluent style.

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