ZCL library  4.3
ZCL library to manage a Zigbee network
Attribute Class Reference

This Class is the super-class of all attributes. More...

#include <Attribute.h>

Inheritance diagram for Attribute:
DiscoveredAttribute ReadReportingConfigAttribute WriteAttributeResponse ReadAttribute ReportingConfigurationAttribute ReportingConfigurationAttributeResponse ReportAttribute ReadReportingConfigAttributeResponse ClusterSpecCmdAttribute WriteAttribute ReadAttributeResponse

List of all members.

Public Member Functions

dbyte getIdentifier () const
 Get the identifier of this attribute.
void setIdentifier (dbyte attrId)
 Set the identifier of this attribute.
virtual Attributeclone () const
 Clone this attribute.
virtual const byte * toBytes (int &size)
 Return this attribute as array of bytes.

Detailed Description

This Class is the super-class of all attributes.


Member Function Documentation

virtual Attribute* Attribute::clone ( ) const [virtual]

Clone this attribute.

Returns:
clone of this attribute.
dbyte Attribute::getIdentifier ( ) const

Get the identifier of this attribute.

Returns:
the attribute identifier.

Reimplemented in ClusterSpecCmdAttribute.

void Attribute::setIdentifier ( dbyte  attrId)

Set the identifier of this attribute.

Parameters:
attrIdthe attribute identifier.

Reimplemented in ReadReportingConfigAttribute, ClusterSpecCmdAttribute, and ReportingConfigurationAttribute.

virtual const byte* Attribute::toBytes ( int &  size) [virtual]

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