8#include "Arp/System/Core/Impl/IDelegateFunctor.hpp"
10namespace Arp {
namespace System {
namespace Core {
namespace Impl
15template<
class Derived>
16class DelegateFunctorBase :
public IDelegateFunctor
19 DelegateFunctorBase(
void) =
default;
20 DelegateFunctorBase(
const DelegateFunctorBase& arg) =
default;
21 DelegateFunctorBase& operator=(
const DelegateFunctorBase& arg) =
default;
22 virtual ~DelegateFunctorBase(
void)
noexcept =
default;
25 bool operator==(
const IDelegateFunctor& rhs)
override
27 const Derived* pDerived =
dynamic_cast<const Derived*
>(&rhs);
28 if (pDerived ==
nullptr)
33 return this->
Equals(*pDerived);
37 virtual bool Equals(
const Derived& other) = 0;
@ Equals
Start recording if TriggerVariable1 is equal to TriggerVariable2.
Root namespace for the PLCnext API