state_pattern::ConcreteStateA

class ConcreteStateA : public state_pattern::State

Public Functions

virtual void handle(Context &context) const override

Handle the request and optionally change the state.

Parameters:

context – Reference to the context object.

Public Static Functions

static std::string getName()

Get the name of this state.

Returns:

State name as a string.