DesignPattern::Command🔗
#include <action.hpp>
Public Functions🔗
Name | |
---|---|
void | operator()(Arg & arg) |
virtual | ~Command() |
Protected Functions🔗
Name | |
---|---|
virtual void | exec(Arg & arg) |
Detailed Description🔗
template <typename Arg >
class DesignPattern::Command;
Todo: : variadic arguments and perfect forwarding
variant with return value and other nice features (in essence, a generic functor in contrast to lambdas)
Public Functions Documentation🔗
function operator()🔗
inline void operator()(
Arg & arg
)
function ~Command🔗
inline virtual ~Command()
Protected Functions Documentation🔗
function exec🔗
inline virtual void exec(
Arg & arg
)
Updated on 31 May 2022 at 15:29:15 CEST