dpyHealth Namespace Reference

Deepsy HEALTH namespace that includes the different enums, structs or method signatures that should be used.

Classes

struct  DeviceInformation
 Device information. More...
 
class  ServiceAvailabilityObserver
 Service Availability observer class. More...
 
struct  Status
 Status type. More...
 

Typedefs

typedef boost::function< void(boost::system::error_code &ec)> handler_function
 Handler for status function callback. More...
 
typedef boost::function< void(boost::system::error_code error_code, std::vector< dpyHealth::Status > &)> status_handler_function
 Handler for getStatusList function callback. More...
 
typedef boost::function< void(boost::system::error_code error_code, std::vector< dpyHealth::DeviceInformation > &)> device_handler_function
 Handler for getDeviceList function callback. More...
 

Enumerations

enum  Priority { NA = 0, LOW = 1, NORMAL = 2, HIGH = 3 }
 Priority of the message. More...
 

Typedef Documentation

◆ device_handler_function

typedef boost::function<void(boost::system::error_code error_code, std::vector<dpyHealth::DeviceInformation>&)> device_handler_function
Parameters
error_codeerror code (if any)
Devicevector of the current devices

◆ handler_function

typedef boost::function<void(boost::system::error_code &ec)> handler_function

This type of function is called when the status callback is done.

Parameters
error_codeerror code (if any)
infovector with the status of the processes Result of an operation handler function.

◆ status_handler_function

typedef boost::function<void(boost::system::error_code error_code, std::vector<dpyHealth::Status>&)> status_handler_function
Parameters
error_codeerror code (if any)
Statusvector with the pair (key, value) of the current status

Enumeration Type Documentation

◆ Priority

enum Priority
Enumerator
NA 

Not Available.

LOW 

Low.

NORMAL 

Normal.

HIGH 

High.