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

This file contains the definitions for the OnOff interface. More...

#include "hanfun/protocol.h"
#include "hanfun/interface.h"
+ Include dependency graph for on_off.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  HF::Interfaces::OnOff::State
 Helper class to handle the State attribute for the On-Off interface. More...
 
struct  HF::Interfaces::OnOff::Base
 On-Off Interface : Parent. More...
 
class  HF::Interfaces::OnOff::Server
 On-Off Interface : Server side implementation. More...
 
struct  HF::Interfaces::OnOff::Client
 On-Off Interface : Client side implementation. More...
 

Namespaces

 HF
 Top-level namespace for the HAN-FUN library.
 
 HF::Interfaces
 This is the top-level namespace for the implemented Interfaces.
 
 HF::Interfaces::OnOff
 This namespace contains the implementation of the On-Off interface.
 

Enumerations

enum  HF::Interfaces::OnOff::CMD { HF::Interfaces::OnOff::ON_CMD = 0x01, HF::Interfaces::OnOff::OFF_CMD = 0x02, HF::Interfaces::OnOff::TOGGLE_CMD = 0x03 }
 Command IDs. More...
 
enum  HF::Interfaces::OnOff::Attributes { HF::Interfaces::OnOff::STATE_ATTR = 0x01 }
 Attributes. More...
 

Functions

HF::Attributes::IAttributeHF::Interfaces::create_attribute (OnOff::Server *server, uint8_t uid)
 Create an attribute object that can hold the attribute with the given uid. More...
 
HF::Attributes::IAttributeHF::Interfaces::OnOff::create_attribute (uint8_t uid)
 Create an attribute object that can hold the attribute with the given uid. (HF::Interfaces::OnOff::Server *,uint8_t) More...
 
std::ostream & operator<< (std::ostream &stream, const HF::Interfaces::OnOff::CMD command)
 Convert the given command into a string and write it to the given stream. More...
 
std::ostream & operator<< (std::ostream &stream, const HF::Interfaces::OnOff::Attributes attribute)
 Convert the given attribute into a string and write it to the given stream. More...
 

Detailed Description

This file contains the definitions for the OnOff interface.

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 on_off.h.