decorator_pattern::ConcreteComponent

class ConcreteComponent : public decorator_pattern::Component

ConcreteComponent is a basic implementation of the Component interface.

Public Functions

inline virtual std::string getDescription() const override

Returns the description of the component.

Returns:

A string description.

inline virtual float cost() const override

Returns the cost of the component.

Returns:

A float representing the cost.