SpiecsEngine
 
Loading...
Searching...
No Matches

◆ DELEGATE_ONE_PARAM

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

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

Definition at line 150 of file DelegateBasic.h.

150#define DELEGATE_ONE_PARAM(name, p0) \
151 class Delegate##name : public Spices::Delegate_Basic<##p0> \
152 { \
153 public: \
154 Delegate##name() : Spices::Delegate_Basic<##p0>() {} \
155 virtual ~Delegate##name() = default; \
156 };