nl:: Weave:: Profiles:: Time:: TimeChangeNotification
#include <src/lib/profiles/time/WeaveTime.h>
用于时间变化通知消息的编解码器
摘要
构造函数和析构函数 |
|
---|---|
TimeChangeNotification(void)
默认构造函数应与解码一起使用,因为所有成员都将通过解码来初始化
|
公共函数 |
|
---|---|
Encode(PacketBuffer *const aMsg)
|
将时间变化通知编码到 PacketBuffer 中。
|
公共静态函数 |
|
---|---|
Decode(TimeChangeNotification *const aObject, PacketBuffer *const aMsg)
|
解码来自 PacketBuffer 的时间变化通知。
|
公共函数
编码
WEAVE_ERROR Encode( PacketBuffer *const aMsg )
将时间变化通知编码到 PacketBuffer 中。
具体说明 | |||
---|---|---|---|
参数 |
|
||
返回值 |
成功时返回 WEAVE_NO_ERROR
|
TimeChangeNotification
TimeChangeNotification( void )
默认构造函数应与解码一起使用,因为所有成员都将通过解码来初始化
公共静态函数
Decode
WEAVE_ERROR Decode( TimeChangeNotification *const aObject, PacketBuffer *const aMsg )
解码来自 PacketBuffer 的时间变化通知。
具体说明 | |||||
---|---|---|---|---|---|
参数 |
|
||||
返回值 |
成功时返回 WEAVE_NO_ERROR
|