HAN-FUN API  1.5.3
This project provides the common implementation of ULE Alliance's HAN-FUN application protocol.
base.h File Reference

This file contains the definition of the Base class that represents the HAN-FUN Concentrator on the application. More...

#include "hanfun.h"
#include "common.h"
#include "json/json.h"
+ Include dependency graph for base.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  DeviceManagement::Entries
 Custom Device Management Entries class. More...
 
struct  DeviceManagement::Server
 Custom Device Management class. More...
 
struct  BindManagement::Entries
 Custom Bind Management Entries class. More...
 
struct  BindManagement::Server
 Custom Bind Management class. More...
 
struct  Base
 This class represents a HAN-FUN Concentrator. More...
 

Typedefs

typedef HF::Devices::Concentrator::Unit0< HF::Core::DeviceInformation::Server, ::DeviceManagement::Server, HF::Core::AttributeReporting::Server, ::BindManagement::ServerUnit0
 Custom Unit0 declaration.
 

Functions

void to_json (const HF::Common::Interface &interface, Json::Value &node)
 Serialize a HF::Common::Interface to the given Json::Value. More...
 
void to_json (HF::UID::UID *uid, Json::Value &node)
 Serialize a HF::UID::UID pointer to the given Json::Value. More...
 
void to_json (const HF::Core::DeviceManagement::Unit &unit, Json::Value &node)
 Serialize a HF::Core::DeviceManagement::Unit to the given Json::Value. More...
 
void to_json (const HF::Core::DeviceManagement::Device &device, Json::Value &node)
 Serialize a HF::Core::DeviceManagement::Device to the given Json::Value. More...
 
void to_json (const HF::Protocol::Address &address, Json::Value &node)
 Serialize a HF::Protocol::Address to the given Json::Value. More...
 
void to_json (const HF::Core::BindManagement::Entry &entry, Json::Value &node)
 Serialize a HF::Core::BindManagement::Entry to the given Json::Value. More...
 
void from_json (Json::Value &node, HF::Common::Interface &interface)
 Fill a HF::Common::Interface from the given Json::Value object. More...
 
void from_json (Json::Value &node, HF::UID::UID *&uid)
 Create a new HF::UID::UID based on the fields present in the given Json::Value object. More...
 
void from_json (Json::Value &node, HF::Core::DeviceManagement::Unit &unit)
 Fill a HF::Core::DeviceManagement::Unit from the given Json::Value object. More...
 
void from_json (Json::Value &node, HF::Core::DeviceManagement::Device &device)
 Fill a HF::Core::DeviceManagement::Device from the given Json::Value object. More...
 
void from_json (Json::Value &node, HF::Protocol::Address &address)
 Fill a HF::Protocol::Address from the given Json::Value object. More...
 
void from_json (Json::Value &node, HF::Core::BindManagement::Entry &entry)
 Fill a HF::Core::BindManagement::Entry from the given Json::Value object. More...
 

Detailed Description

This file contains the definition of the Base class that represents the HAN-FUN Concentrator on the application.

Version
1.5.3

For licensing information, please see the file 'LICENSE' in the root folder.

Initial development by Bithium S.A. [http://www.bithium.com]

Definition in file base.h.