25 #ifndef SAVEACTIONSTATE_H
26 #define SAVEACTIONSTATE_H
50 QString defaultSaveDirName, QTextStream*
logStream =
nullptr);
52 void setInput(QVector<saveComponentsInfo> inputComponentsInfo);
57 QString defaultSaveDirName;
65 QVector<saveComponentsInfo> inputComponentsInfo;
The state (in a state machine point of view) corresponding to the current processed action.
Definition: ActionState.h:48
QString name
Name of the state action (may not be the same as the action's name)
Definition: ActionState.h:105
QTextStream * logStream
Log stream to write report on logFile.
Definition: ActionState.h:140
QString description
Description of the state action may not be the same as the action's description but complementary.
Definition: ActionState.h:110
The asm application uses a state machine.
Definition: SaveActionState.h:37
virtual camitk::Action::ApplyStatus applyAction()
apply the action encapsulated by this action state
Definition: SaveActionState.cpp:51
SaveActionState(QState *parent, QString name, QString description, QString defaultSaveDirName, QTextStream *logStream=nullptr)
Definition: SaveActionState.cpp:40
void setInput(QVector< saveComponentsInfo > inputComponentsInfo)
Definition: SaveActionState.cpp:47
ApplyStatus
describes what happened during the application of an algorithm (i.e. results of the apply method)
Definition: Action.h:225
Definition: SaveActionState.h:40
QString directory
Definition: SaveActionState.h:44
QString type
Definition: SaveActionState.h:42
QString extension
Definition: SaveActionState.h:43
QString name
Definition: SaveActionState.h:41