OpenZWave Library  1.6.914
Public Member Functions | List of all members
OpenZWave::Internal::CompatOptionManager Class Reference

#include <CompatOptionManager.h>

Public Member Functions

 CompatOptionManager (CompatOptionType type, Internal::CC::CommandClass *cc)
 
virtual ~CompatOptionManager ()
 
void SetNodeAndCC (uint8_t node, uint8_t cc)
 
void EnableFlag (CompatOptionFlags flag, uint32_t defaultval)
 
void ReadXML (TiXmlElement const *_ccElement)
 
void WriteXML (TiXmlElement *_ccElement)
 
bool GetFlagBool (CompatOptionFlags flag, uint32_t index=-1) const
 
uint8_t GetFlagByte (CompatOptionFlags flag, uint32_t index=-1) const
 
uint16_t GetFlagShort (CompatOptionFlags flag, uint32_t index=-1) const
 
uint32_t GetFlagInt (CompatOptionFlags flag, uint32_t index=-1) const
 
bool SetFlagBool (CompatOptionFlags flag, bool value, uint32_t index=-1)
 
bool SetFlagByte (CompatOptionFlags flag, uint8_t value, uint32_t index=-1)
 
bool SetFlagShort (CompatOptionFlags flag, uint16_t value, uint32_t index=-1)
 
bool SetFlagInt (CompatOptionFlags flag, uint32_t value, uint32_t index=-1)
 

Constructor & Destructor Documentation

◆ CompatOptionManager()

OpenZWave::Internal::CompatOptionManager::CompatOptionManager ( CompatOptionType  type,
Internal::CC::CommandClass cc 
)

◆ ~CompatOptionManager()

OpenZWave::Internal::CompatOptionManager::~CompatOptionManager ( )
virtual

Member Function Documentation

◆ EnableFlag()

void OpenZWave::Internal::CompatOptionManager::EnableFlag ( CompatOptionFlags  flag,
uint32_t  defaultval 
)

◆ GetFlagBool()

bool OpenZWave::Internal::CompatOptionManager::GetFlagBool ( CompatOptionFlags  flag,
uint32_t  index = -1 
) const

◆ GetFlagByte()

uint8_t OpenZWave::Internal::CompatOptionManager::GetFlagByte ( CompatOptionFlags  flag,
uint32_t  index = -1 
) const

◆ GetFlagInt()

uint32_t OpenZWave::Internal::CompatOptionManager::GetFlagInt ( CompatOptionFlags  flag,
uint32_t  index = -1 
) const

◆ GetFlagShort()

uint16_t OpenZWave::Internal::CompatOptionManager::GetFlagShort ( CompatOptionFlags  flag,
uint32_t  index = -1 
) const

◆ ReadXML()

void OpenZWave::Internal::CompatOptionManager::ReadXML ( TiXmlElement const *  _ccElement)

◆ SetFlagBool()

bool OpenZWave::Internal::CompatOptionManager::SetFlagBool ( CompatOptionFlags  flag,
bool  value,
uint32_t  index = -1 
)

◆ SetFlagByte()

bool OpenZWave::Internal::CompatOptionManager::SetFlagByte ( CompatOptionFlags  flag,
uint8_t  value,
uint32_t  index = -1 
)

◆ SetFlagInt()

bool OpenZWave::Internal::CompatOptionManager::SetFlagInt ( CompatOptionFlags  flag,
uint32_t  value,
uint32_t  index = -1 
)

◆ SetFlagShort()

bool OpenZWave::Internal::CompatOptionManager::SetFlagShort ( CompatOptionFlags  flag,
uint16_t  value,
uint32_t  index = -1 
)

◆ SetNodeAndCC()

void OpenZWave::Internal::CompatOptionManager::SetNodeAndCC ( uint8_t  node,
uint8_t  cc 
)

◆ WriteXML()

void OpenZWave::Internal::CompatOptionManager::WriteXML ( TiXmlElement *  _ccElement)

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