YggdrasilWM  0.1.1
A tiny window manager coded in C++
CommandBase Class Referenceabstract

#include <CommandBase.hpp>

Inheritance diagram for CommandBase:
Inheritance graph
Collaboration diagram for CommandBase:
Collaboration graph

Public Member Functions

 CommandBase ()=default
 
virtual ~CommandBase ()=default
 
virtual void execute (const std::string &args)=0
 Each child class must implement this interface. More...
 

Detailed Description

@Brief it's the Abstract Class for command Classes

Constructor & Destructor Documentation

◆ CommandBase()

CommandBase::CommandBase ( )
default

◆ ~CommandBase()

virtual CommandBase::~CommandBase ( )
virtualdefault

Member Function Documentation

◆ execute()

void CommandBase::execute ( const std::string &  args)
pure virtual

Each child class must implement this interface.

Parameters
argsarguments to the command

Implemented in Spawn, Quit, Grow, and FocusGroup.

Referenced by Binding::execute().

Here is the caller graph for this function:

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