Design Patterns
operational::command::SimpleCommand< Receiver > Class Template Reference

#include <simple_command.h>

Inheritance diagram for operational::command::SimpleCommand< Receiver >:
Collaboration diagram for operational::command::SimpleCommand< Receiver >:

Public Types

typedef void(Receiver::* Action) ()
 

Public Member Functions

 SimpleCommand (Receiver *r, Action a)
 
virtual void Execute () override
 
- Public Member Functions inherited from operational::command::CommandInterface
virtual ~CommandInterface ()
 

Member Typedef Documentation

template<class Receiver>
typedef void(Receiver::* operational::command::SimpleCommand< Receiver >::Action) ()

Constructor & Destructor Documentation

template<class Receiver >
operational::command::SimpleCommand< Receiver >::SimpleCommand ( Receiver *  r,
Action  a 
)

Member Function Documentation

template<class Receiver >
void operational::command::SimpleCommand< Receiver >::Execute ( )
overridevirtual

Implements operational::command::CommandInterface.

Here is the caller graph for this function:


The documentation for this class was generated from the following file: