Generic event structure for the event bus.
More...
#include <event_bus.h>
|
| | event ()=default |
| |
| | event (const std::string &type, const std::string &data="") |
| |
| void | set_type (const std::string &type) |
| |
| void | set_data (const std::string &data) |
| |
| std::string | get_type () const |
| |
| std::string | get_data () const |
| |
Generic event structure for the event bus.
Definition at line 111 of file event_bus.h.
◆ event() [1/2]
| kcenon::common::event::event |
( |
| ) |
|
|
default |
◆ event() [2/2]
| kcenon::common::event::event |
( |
const std::string & | type, |
|
|
const std::string & | data = "" ) |
|
inline |
◆ get_data()
| std::string kcenon::common::event::get_data |
( |
| ) |
const |
|
inline |
◆ get_type()
| std::string kcenon::common::event::get_type |
( |
| ) |
const |
|
inline |
◆ set_data()
| void kcenon::common::event::set_data |
( |
const std::string & | data | ) |
|
|
inline |
◆ set_type()
| void kcenon::common::event::set_type |
( |
const std::string & | type | ) |
|
|
inline |
◆ data_
| std::string kcenon::common::event::data_ |
◆ type_
| std::string kcenon::common::event::type_ |
The documentation for this struct was generated from the following file: