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

This file contains the definitions for the Level Control interface. More...

#include "hanfun/protocol.h"
#include "hanfun/interface.h"
+ Include dependency graph for level_control.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::LevelControl::Level
 Helper class to handle the Level attribute for the Level Control interface. More...
 
struct  HF::Interfaces::LevelControl::Base
 Level Control Interface : Parent. More...
 
class  HF::Interfaces::LevelControl::Server
 Level Control Interface : Server side implementation. More...
 
class  HF::Interfaces::LevelControl::Client
 Level Control 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::LevelControl
 This namespace contains the implementation of the Level Control interface.
 

Enumerations

enum  HF::Interfaces::LevelControl::CMD { HF::Interfaces::LevelControl::SET_LEVEL_CMD = 0x01, HF::Interfaces::LevelControl::INCREASE_LEVEL_CMD = 0x02, HF::Interfaces::LevelControl::DECREASE_LEVEL_CMD = 0x03 }
 Command IDs. More...
 
enum  HF::Interfaces::LevelControl::Attributes { HF::Interfaces::LevelControl::LEVEL_ATTR = 0x01 }
 Attributes. More...
 

Functions

HF::Attributes::IAttributeHF::Interfaces::create_attribute (HF::Interfaces::LevelControl::Server *server, uint8_t uid)
 Create an attribute object that can hold the attribute with the given uid. More...
 
HF::Attributes::IAttributeHF::Interfaces::LevelControl::create_attribute (uint8_t uid)
 Create an attribute object that can hold the attribute with the given uid. (HF::Interfaces::LevelControl::Server *,uint8_t) More...
 
std::ostream & operator<< (std::ostream &stream, const HF::Interfaces::LevelControl::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::LevelControl::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 Level Control 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 level_control.h.