载入中...
搜索中...
未找到
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.

参数
nameEvent name/type.
vargsOptional payload values.

在文件 PlatformEvent.cpp 第 10 行定义.

◆ ~Message()

eve::platform_event::Message::~Message ( )

Message.

在文件 PlatformEvent.cpp 第 11 行定义.

类成员变量说明

◆ args

const std::vector<Variant> eve::platform_event::Message::args

在文件 PlatformEvent.h 第 89 行定义.

被这些函数引用 eve::dev::ScenarioRecorder::onEventConsumed().

◆ name

const std::string eve::platform_event::Message::name

在文件 PlatformEvent.h 第 88 行定义.

被这些函数引用 eve::dev::ScenarioRecorder::onEventConsumed().


该类的文档由以下文件生成: