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