25 #ifndef WFIBERACTIONTOGGLE_H
26 #define WFIBERACTIONTOGGLE_H
33 #include "../WFiberHandler.h"
34 #include "WFiberAction.h"
46 typedef std::shared_ptr< WFiberActionToggle >
SPtr;
The action when toggling a fiber.
WFiberHandler * m_fiberHandler
The WFiberHandler of the action.
WFiberActionToggle(size_t position, WFiberHandler *fiberHandler)
Creates this action.
~WFiberActionToggle()
Empty destructor.
virtual void redo()
Redos this action.
size_t m_position
The position of this fiber in the fibers vector.
std::shared_ptr< WFiberActionToggle > SPtr
A shared_ptr to this class.
virtual void undo()
Undos this action.
Super class for the actions.
Handles the fibers of the WMPointsConnector.