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

Public 成员函数

 Message (const std::string &name, const std::vector< Variant > &vargs={})
 Creates an event message.
 
 ~Message ()
 

Public 属性

const std::string name
 
const std::vector< Variantargs
 

详细描述

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.

在文件 Event.h56 行定义.

构造及析构函数说明

◆ Message()

eve::event::Message::Message ( const std::string &  name,
const std::vector< Variant > &  vargs = {} 
)

Creates an event message.

参数
nameEvent name/type.
vargsOptional payload values.

在文件 Event.cpp10 行定义.

◆ ~Message()

eve::event::Message::~Message ( )

在文件 Event.cpp11 行定义.

类成员变量说明

◆ args

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

在文件 Event.h67 行定义.

被这些函数引用 eve::event::Event::pollData(), eve::event::Event::pollName() , 以及 eve::rx::Rx::pump().

◆ name

const std::string eve::event::Message::name

在文件 Event.h66 行定义.

被这些函数引用 eve::event::Event::pollName() , 以及 eve::rx::Rx::pump().


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