载入中...
搜索中...
未找到
eve::platform_event::Message类 参考
A named event carrying an ordered list of Variant payloads. Pushed messages are heap-allocated; the queue owns them until polled, after which the caller is responsible for deleting them. 更多...
#include <PlatformEvent.h>
Public 成员函数 | |
| Message (const std::string &name, const std::vector< Variant > &vargs={}) | |
| Creates an event message. | |
| ~Message () | |
| Message. | |
Public 属性 | |
| const std::string | name |
| const std::vector< Variant > | args |
详细描述
A named event carrying an ordered list of Variant payloads. Pushed messages are heap-allocated; the queue owns them until polled, after which the caller is responsible for deleting them.
在文件 PlatformEvent.h 第 77 行定义.
构造及析构函数说明
◆ Message()
| eve::platform_event::Message::Message | ( | const std::string & | name, |
| const std::vector< Variant > & | vargs = {} |
||
| ) |
Creates an event message.
- 参数
-
name Event name/type. vargs Optional payload values.
在文件 PlatformEvent.cpp 第 10 行定义.
◆ ~Message()
| eve::platform_event::Message::~Message | ( | ) |
在文件 PlatformEvent.cpp 第 11 行定义.
类成员变量说明
◆ args
| const std::vector<Variant> eve::platform_event::Message::args |
在文件 PlatformEvent.h 第 89 行定义.
◆ name
| const std::string eve::platform_event::Message::name |
在文件 PlatformEvent.h 第 88 行定义.
该类的文档由以下文件生成:
- src/modules/platform_event/PlatformEvent.h
- src/modules/platform_event/PlatformEvent.cpp