source: molecuilder/src/Actions/AnalysisAction/PrincipalAxisSystemAction.hpp@ 2e06c4

Last change on this file since 2e06c4 was 2e06c4, checked in by Frederik Heber <heber@…>, 15 years ago

Added all commands defined in ParseCommandLineOptions() as Actions.

  • Actions are not yet used, except verbose, version and help.
  • Files are present and included in Makefile.am
  • not unit tests written so far
  • no action has been tested so far (except for MapOfActions)
  • structure introduced to to transition from ParseCommandLineOptions to actions.
  • program name and config file are fixed arguments.

Signed-off-by: Frederik Heber <heber@…>

  • Property mode set to 100644
File size: 687 bytes
Line 
1/*
2 * PrincipalAxisSystemAction.hpp
3 *
4 * Created on: May 12, 2010
5 * Author: heber
6 */
7
8#ifndef PRINCIPALAXISSYSTEMACTION_HPP_
9#define PRINCIPALAXISSYSTEMACTION_HPP_
10
11#include "Actions/Action.hpp"
12
13class AnalysisPrincipalAxisSystemAction : public Action {
14public:
15 AnalysisPrincipalAxisSystemAction();
16 virtual ~AnalysisPrincipalAxisSystemAction();
17
18 bool canUndo();
19 bool shouldUndo();
20
21 virtual const std::string getName();
22private:
23 virtual Action::state_ptr performCall();
24 virtual Action::state_ptr performUndo(Action::state_ptr);
25 virtual Action::state_ptr performRedo(Action::state_ptr);
26
27 static const char NAME[];
28};
29
30#endif /* PRINCIPALAXISSYSTEMACTION_HPP_ */
Note: See TracBrowser for help on using the repository browser.