nl::Weave::Profiles::StatusReporting::StatusReport

摘要

继承

直接已知的子类:
  nl::Weave::Profiles::BDX_Current::ReceiveReject
  nl::Weave::Profiles::BDX_Current::SendReject
  nl::Weave::Profiles::BDX_Current::TransferError
  nl::Weave::Profiles::BDX_Development::ReceiveReject
  nl::Weave::Profiles::BDX_Development::SendReject
  nl::Weave::Profiles::BDX_Development::TransferError

构造函数和析构函数

StatusReport(void)
~StatusReport(void)

公共属性

mAdditionalInfo
mError
mProfileId
uint32_t
mStatusCode
uint16_t

公共函数

init(uint32_t aProfileId, uint16_t aCode, ReferencedTLVData *aInfo)
init(WEAVE_ERROR aError)
operator==(const StatusReport & another) const
bool
pack(PacketBuffer *aBuffer, uint32_t maxLen)
packedLength(void)
uint16_t
success(void)
bool

公共静态函数

AddErrorCode(nl::Weave::TLV::TLVWriter & aWriter, WEAVE_ERROR aError)
EndMetaData(nl::Weave::TLV::TLVWriter & aWriter)
StartMetaData(nl::Weave::TLV::TLVWriter & aWriter)
parse(PacketBuffer *aBuffer, StatusReport & aDestination)

公共属性

mAdditionalInfo

ReferencedTLVData mAdditionalInfo

mError

WEAVE_ERROR mError

mProfileId

uint32_t mProfileId

mStatusCode

uint16_t mStatusCode

公共函数

StatusReport

 StatusReport(
  void
)

init

WEAVE_ERROR init(
  uint32_t aProfileId,
  uint16_t aCode,
  ReferencedTLVData *aInfo
)

init

WEAVE_ERROR init(
  WEAVE_ERROR aError
)

运算符==

bool operator==(
  const StatusReport & another
) const 

WEAVE_ERROR pack(
  PacketBuffer *aBuffer,
  uint32_t maxLen
)

packedLength

uint16_t packedLength(
  void
)

成功

bool success(
  void
)

~状态报告

 ~StatusReport(
  void
)

公共静态函数

AddErrorCode

WEAVE_ERROR AddErrorCode(
  nl::Weave::TLV::TLVWriter & aWriter,
  WEAVE_ERROR aError
)

EndMetaData

WEAVE_ERROR EndMetaData(
  nl::Weave::TLV::TLVWriter & aWriter
)

StartMetaData

WEAVE_ERROR StartMetaData(
  nl::Weave::TLV::TLVWriter & aWriter
)

parse

WEAVE_ERROR parse(
  PacketBuffer *aBuffer,
  StatusReport & aDestination
)