libknx
Public Member Functions | Public Attributes | Static Public Attributes | Friends | List of all members
knx::dpt_10::data Class Reference

Data container for this dpt. More...

#include <dpt_types.hpp>

Public Member Functions

bool operator== (const data &other)
 Comparison for time objects.
 
 data ()
 creates a current time value
 

Public Attributes

uint8_t day
 day of the week monday (1) till sunday (7)
 
uint8_t hour
 From 0 to 23.
 
uint8_t minutes
 From 0 to 59.
 
uint8_t seconds
 From 0 to 59.
 

Static Public Attributes

static const uint8_t NODAY = 0
 No day assigned or unknown.
 
static const uint8_t MONDAY = 1
 Monday.
 
static const uint8_t TUESDAY = 2
 Tuesday.
 
static const uint8_t WEDNESDAY = 3
 Wednesday.
 
static const uint8_t THURSDAY = 4
 Thursday.
 
static const uint8_t FRIDAY = 5
 Friday.
 
static const uint8_t SATURDAY = 6
 Saturday.
 
static const uint8_t SUNDAY = 7
 Sunday.
 

Friends

KNX_IMPORT_EXPORT friend std::ostream & operator<< (std::ostream &os, const data &time)
 Output formatting.
 

Detailed Description

Data container for this dpt.


The documentation for this class was generated from the following file: