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

This file contains the definitions for the Simple Light Sensor interface. More...

#include "hanfun/protocol.h"
#include "hanfun/interface.h"
+ Include dependency graph for simple_light_sensor.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::SimpleLightSensor::Value
 Helper class to handle the Value attribute for the Simple Light Sensor interface. More...
 
struct  HF::Interfaces::SimpleLightSensor::Minimum
 Helper class to handle the Minimum attribute for the Simple Light Sensor interface. More...
 
struct  HF::Interfaces::SimpleLightSensor::Maximum
 Helper class to handle the Maximum attribute for the Simple Light Sensor interface. More...
 
struct  HF::Interfaces::SimpleLightSensor::Tolerance
 Helper class to handle the Tolerance attribute for the Simple Light Sensor interface. More...
 
struct  HF::Interfaces::SimpleLightSensor::Base
 Simple Light Sensor Interface : Parent. More...
 
class  HF::Interfaces::SimpleLightSensor::Server
 Simple Light Sensor Interface : Server side implementation. More...
 
struct  HF::Interfaces::SimpleLightSensor::Client
 Simple Light Sensor 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::SimpleLightSensor
 This namespace contains the implementation of the Simple Light Sensor interface.
 

Enumerations

enum  HF::Interfaces::SimpleLightSensor::Attributes { HF::Interfaces::SimpleLightSensor::VALUE_ATTR = 0x01, HF::Interfaces::SimpleLightSensor::MINIMUM_ATTR = 0x02, HF::Interfaces::SimpleLightSensor::MAXIMUM_ATTR = 0x03, HF::Interfaces::SimpleLightSensor::TOLERANCE_ATTR = 0x04 }
 Attributes. More...
 

Functions

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