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

This file contains the definitions for the Time service. More...

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

Go to the source code of this file.

Data Structures

struct  HF::Core::Time::Value
 Helper class to handle the Time attribute for the Time service. More...
 
struct  HF::Core::Time::Date
 Helper class to parse the time value into a human readable string. More...
 
struct  HF::Core::Time::Base
 Time Service : Parent. More...
 
class  HF::Core::Time::Server
 Time Service : Server side implementation. More...
 
struct  HF::Core::Time::Client
 Time Service : Client side implementation. More...
 

Namespaces

 HF
 Top-level namespace for the HAN-FUN library.
 
 HF::Core
 This is the top-level namespace for the Core Services and Interfaces implementation.
 
 HF::Core::Time
 This namespace contains the implementation of the Time service.
 

Enumerations

enum  HF::Core::Time::Attributes { HF::Core::Time::TIME_ATTR = 1 }
 Attributes. More...
 

Functions

HF::Attributes::IAttributeHF::Core::create_attribute (Time::Server *server, uint8_t uid)
 Create an attribute object that can hold the attribute with the given uid. More...
 
uint32_t HF::Core::Time::convert (const Date &date)
 Convert the date given by date to the corresponding time value. More...
 
Date HF::Core::Time::convert (uint32_t time)
 Split the time given by value to the year, month, day, hour, minute and second values. More...
 
Date HF::Core::Time::convert (const Value &value)
 Split the time given by value to the year, month, day, hour, minute and second values. More...
 
HF::Attributes::IAttributeHF::Core::Time::create_attribute (uint8_t uid)
 Create an attribute object that can hold the attribute with the given uid. (HF::Interfaces::Time::Server *,uint8_t) More...
 
std::ostream & operator<< (std::ostream &stream, const HF::Core::Time::Attributes attribute)
 Convert the given attribute into a string and write it to the given stream. More...
 
std::ostream & operator<< (std::ostream &stream, const HF::Core::Time::Date &date)
 Convert the given attribute into a string and write it to the given stream. More...
 

Detailed Description

This file contains the definitions for the Time service.

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