neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
event.hpp File Reference
#include <neolib/neolib.hpp>
#include <vector>
#include <neolib/core/lifetime.hpp>
#include <neolib/core/scoped.hpp>
#include <neolib/task/i_async_task.hpp>
#include <neolib/task/i_event.hpp>

Go to the source code of this file.

Classes

class  neolib::async_event_queue
 
class  neolib::event< Args >
 

Namespaces

namespace  neolib
 

Macros

#define define_declared_event(name, declName, ...)
 
#define define_event(name, declName, ...)
 

Macro Definition Documentation

◆ define_declared_event

#define define_declared_event (   name,
  declName,
  ... 
)
Value:
const neolib::i_event<__VA_ARGS__>& ev_##declName() const final { return name; };\
neolib::i_event<__VA_ARGS__>& ev_##declName() final { return name; };

Definition at line 195 of file event.hpp.

◆ define_event

#define define_event (   name,
  declName,
  ... 
)
Value:
const neolib::i_event<__VA_ARGS__>& ev_##declName() const { return name; };\
neolib::i_event<__VA_ARGS__>& ev_##declName() { return name; };\
const neolib::i_event<__VA_ARGS__>& declName() const { return ev_##declName(); }\
neolib::i_event<__VA_ARGS__>& declName() { return ev_##declName(); }\
detail_event_subscribe(declName, __VA_ARGS__)

Definition at line 200 of file event.hpp.