23 #pragma message "C++ support is required for extras module" 27 #ifndef MCR_EXTRAS_DISPATCH_RECEIVER_SET_H_ 28 #define MCR_EXTRAS_DISPATCH_RECEIVER_SET_H_ 30 #include "mcr/extras/base_cpp.h" 35 class DispatchReceiverSetPrivate;
42 friend class DispatchReceiverSetPrivate;
45 size_t *applyCountPt =
nullptr);
52 virtual void remove(
void *remReceiver);
57 virtual size_t count()
const;
58 inline size_t size()
const 62 inline bool empty()
const 74 *_applyReceiversPt = receivers;
75 *_applyCountPt = count;
81 return _applyReceiversPt;
84 virtual size_t *applyCountPt()
const 88 virtual void setApplyCountPt(
size_t *applyCountPt);
89 inline bool applicable()
const 91 return _applyReceiversPt && _applyCountPt;
94 size_t *applyCountPt);
97 size_t *_applyCountPt;
99 DispatchReceiverSetPrivate *_private;
bool(* mcr_dispatch_receive_fnc)(struct mcr_DispatchReceiver *dispatchReceiver, struct mcr_Signal *dispatchSignal, unsigned int mods)
Raise a compiler error. Usage: #include "mcr/err.h"
Libmacro, by Jonathan Pelletier, New Paradigm Software. Alpha version.
virtual void apply(mcr_DispatchReceiver *receivers, size_t count)