Class sh::actions::AbstractActionFactory¶
-
class
sh::actions
::
AbstractActionFactory
¶ Abstract base class for an action factory.
It creates an instance of a certain subclass of AbstractActionItem. It can also check if it is defined to be created in a given situation (e.g. not all actions are visible in toolbar).
Subclassed by sh::actions::ActionFactory< T >, sh::scripting::api::ApiActionFactory
Public Functions
Is (for subclasses) intended to be directly constructed and registered once.
-
~AbstractActionFactory
()¶
-
std::shared_ptr<ActionInstantiation>
actionAvailable
(ActionInstantiation *instantiation)¶