SpiecsEngine
 
Loading...
Searching...
No Matches

◆ DELEGATE_TWO_PARAM

#define DELEGATE_TWO_PARAM ( name,
p0,
p1 )
Value:
class Delegate##name : public Spices::Delegate_Basic<##p0, ##p1> \
{ \
public: \
Delegate##name() : Spices::Delegate_Basic<##p0, ##p1>() {} \
virtual ~Delegate##name() = default; \
};
Basic Class of Delegate. Instance inherited from it and use delegate feature.

Use this macro to instance a Delegate Class. Two Parameter Specific.

Definition at line 162 of file DelegateBasic.h.

162#define DELEGATE_TWO_PARAM(name, p0, p1) \
163 class Delegate##name : public Spices::Delegate_Basic<##p0, ##p1> \
164 { \
165 public: \
166 Delegate##name() : Spices::Delegate_Basic<##p0, ##p1>() {} \
167 virtual ~Delegate##name() = default; \
168 };