TazGraph Project v0.1.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
Command Class Reference

Public Types

using Callback = std::function< void()>
 

Public Member Functions

 Command (const std::string &name, Callback executeFunc, Callback undoFunc=nullptr)
 
void execute ()
 
void undo ()
 
const std::string & getName () const
 
bool canUndo () const
 

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