Go to the source code of this file.
◆ DEFINE_SIMPLE_STATE_EVENT
#define DEFINE_SIMPLE_STATE_EVENT |
( |
|
Name_, |
|
|
|
TypeId_, |
|
|
|
ValueType_, |
|
|
|
GetterName_, |
|
|
|
JsonKey_ |
|
) |
| |
Value: constexpr inline auto Name_##Key = JsonKey_##_L1; \
class
QUOTIENT_API Name_ : public ::Quotient::KeylessStateEventBase< \
Name_, EventContent::SingleKeyValue<ValueType_, Name_##Key>> { \
public: \
using value_type = ValueType_; \
QUO_EVENT(Name_, TypeId_) \
using KeylessStateEventBase::KeylessStateEventBase; \
auto GetterName_() const { return content().value; } \
}; \
Definition at line 12 of file simplestateevents.h.