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