#include <eventitem.h>
|
template<EventClass< RoomEvent > EventT> |
EventT * | getAs () |
|
Definition at line 40 of file eventitem.h.
◆ value_type
◆ EventItemBase()
◆ event()
const RoomEvent* Quotient::EventItemBase::event |
( |
| ) |
const |
|
inline |
◆ get()
const RoomEvent* Quotient::EventItemBase::get |
( |
| ) |
const |
|
inline |
◆ getAs()
template<EventClass< RoomEvent > EventT>
EventT* Quotient::EventItemBase::getAs |
( |
| ) |
|
|
inlineprotected |
◆ operator*()
const RoomEvent& Quotient::EventItemBase::operator* |
( |
| ) |
const |
|
inline |
◆ operator->()
const RoomEventPtr& Quotient::EventItemBase::operator-> |
( |
| ) |
const |
|
inline |
◆ replaceEvent()
◆ setUserData()
void Quotient::EventItemBase::setUserData |
( |
std::any |
userData | ) |
|
|
inline |
Store arbitrary data with the event item.
Definition at line 66 of file eventitem.h.
◆ userData()
std::any& Quotient::EventItemBase::userData |
( |
| ) |
|
|
inline |
◆ userdata()
const std::any& Quotient::EventItemBase::userdata |
( |
| ) |
const |
|
inline |
Obtain custom data previously stored with the event item.
Definition at line 68 of file eventitem.h.
◆ viewAs()
template<EventClass< RoomEvent > EventT>
const EventT* Quotient::EventItemBase::viewAs |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: