libknx
Public Types | Public Member Functions | Static Public Member Functions | Friends | List of all members
knx::dpt< MAJOR, MINOR > Class Template Reference

Template definition of each dpt. More...

#include <dpt.hpp>

Public Types

typedef MappingMajor< MAJOR >::set_type set_type
 Fetching the set value type from mapping.
 
typedef dpt< MAJOR, MINOR > own_type
 Assigning the type for later access.
 
typedef dpt_private< MAJOR, MINOR > private_type
 Assigning type of private implementation.
 

Public Member Functions

 dpt ()
 Constructor usually setting all values to zero.
 
 ~dpt ()
 Destructor for the dpt.
 
template<class TYPE >
void set (const TYPE value)
 Major function to set the value of a dpt.
 
template<class TYPE >
void get (TYPE &value) const
 Major function to get the value of a dpt.
 

Static Public Member Functions

static unsigned int get_index ()
 Function returning an index of the class for quick type access.
 

Friends

template<int MAJOR2, int MINOR2>
std::ostream & operator<< (std::ostream &os, dpt< MAJOR2, MINOR2 > &data)
 Major function to output the value of a dpt.
 

Detailed Description

template<int MAJOR, int MINOR>
class knx::dpt< MAJOR, MINOR >

Template definition of each dpt.


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