ZCL library
4.3
ZCL library to manage a Zigbee network
|
This Class is the super-class of all attributes. More...
#include <Attribute.h>
Public Member Functions | |
dbyte | getIdentifier () const |
Get the identifier of this attribute. | |
void | setIdentifier (dbyte attrId) |
Set the identifier of this attribute. | |
virtual Attribute * | clone () const |
Clone this attribute. | |
virtual const byte * | toBytes (int &size) |
Return this attribute as array of bytes. |
This Class is the super-class of all attributes.
virtual Attribute* Attribute::clone | ( | ) | const [virtual] |
Clone this attribute.
dbyte Attribute::getIdentifier | ( | ) | const |
Get the identifier of this attribute.
Reimplemented in ClusterSpecCmdAttribute.
void Attribute::setIdentifier | ( | dbyte | attrId | ) |
Set the identifier of this attribute.
attrId | the attribute identifier. |
Reimplemented in ReadReportingConfigAttribute, ClusterSpecCmdAttribute, and ReportingConfigurationAttribute.
virtual const byte* Attribute::toBytes | ( | int & | size | ) | [virtual] |
Return this attribute as array of bytes.
[out] | size | the returned array size. |
Reimplemented in ReportingConfigurationAttribute, ClusterSpecCmdAttribute, ReadAttribute, WriteAttribute, DiscoveredAttribute, ReadReportingConfigAttribute, ReadReportingConfigAttributeResponse, WriteAttributeResponse, ReadAttributeResponse, ReportingConfigurationAttributeResponse, and ReportAttribute.