Porytiles
Loading...
Searching...
No Matches
Command Class Referenceabstract

Command is an abstract class that provides basic command functionality for the Porytiles CLI driver. More...

#include <command.hpp>

Inheritance diagram for Command:
[legend]

Public Member Functions

virtual ~Command ()=default
 
 Command (CLI::App &parent_app, const std::string &name, const std::string &desc, const std::string &group)
 
 Command (const Command &)=delete
 
Commandoperator= (const Command &)=delete
 
 Command (Command &&)=delete
 
Commandoperator= (Command &&)=delete
 
CLI::App & get_app () const
 

Protected Member Functions

virtual void Run ()=0
 

Detailed Description

Command is an abstract class that provides basic command functionality for the Porytiles CLI driver.

Definition at line 15 of file command.hpp.

Constructor & Destructor Documentation

◆ ~Command()

virtual Command::~Command ( )
virtualdefault

◆ Command() [1/3]

Command::Command ( CLI::App &  parent_app,
const std::string &  name,
const std::string &  desc,
const std::string &  group 
)
inline

Definition at line 19 of file command.hpp.

◆ Command() [2/3]

Command::Command ( const Command )
delete

◆ Command() [3/3]

Command::Command ( Command &&  )
delete

Member Function Documentation

◆ get_app()

CLI::App & Command::get_app ( ) const
inline

Definition at line 41 of file command.hpp.

◆ operator=() [1/2]

Command & Command::operator= ( Command &&  )
delete

◆ operator=() [2/2]

Command & Command::operator= ( const Command )
delete

◆ Run()


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