#include <event.h>
Definition at line 128 of file event.h.
◆ Object()
Event::Object::Object | ( | const char * | nam | ) | |
◆ ~Object()
Event::Object::~Object | ( | void | | ) | |
◆ getName()
const char* Event::Object::getName | ( | void | | ) | const |
| inline |
Obtains the name of the event object that was emitted.
- Returns
- A string containing the name of event
Definition at line 141 of file event.h.
◆ getParam()
void * Event::Object::getParam | ( | const char * | nam | ) | const |
Retrieves the paramaters values attached to the event
- Parameters
Name | The parameter name for which to retrieve the value of event |
- Returns
- The value connected with the input key
Definition at line 81 of file event.cpp.
◆ setParam()
void Event::Object::setParam | ( | const char * | nam, |
| | void * | val |
| ) | | |
Stores a key and value inside event object
- Parameters
Key | The name of the parameter to store inside event object |
Value | The value to store |
Definition at line 89 of file event.cpp.
◆ MAX_PARAMS
const static size_t Event::Object::MAX_PARAMS = 8 |
| static |
The agreed maximum number of parameters event objects are allowed to have
Definition at line 165 of file event.h.
◆ value
void* Event::Object::value |
The documentation for this class was generated from the following files: