OpenLexocad  27.1
CmdAddStructuralMember.h
Go to the documentation of this file.
1 #pragma once
2 #include <Core/Command.h>
3 #include <OpenLxApp/Element.h>
4 
5 #include <memory>
6 #include <vector>
7 
8 namespace OpenLxCmd
9 {
16 class LX_OPENLXCMD_EXPORT CmdAddBeamStandardCaseAxis : public Core::Command
17 {
18 public:
20  ~CmdAddBeamStandardCaseAxis() = default;
21 
22  bool redo() override;
23  bool undo() override;
24 
25 private:
26  std::unique_ptr<Core::Command> _cmd;
27 };
28 
35 class LX_OPENLXCMD_EXPORT CmdAddColumnStandardCaseAxis : public Core::Command
36 {
37 public:
39  ~CmdAddColumnStandardCaseAxis() = default;
40 
41  bool redo() override;
42  bool undo() override;
43 
44 private:
45  std::unique_ptr<Core::Command> _cmd;
46 };
47 
54 class LX_OPENLXCMD_EXPORT CmdAddMemberStandardCaseAxis : public Core::Command
55 {
56 public:
58  ~CmdAddMemberStandardCaseAxis() = default;
59 
60  bool redo() override;
61  bool undo() override;
62 
63 private:
64  std::unique_ptr<Core::Command> _cmd;
65 };
66 }
Definition: CmdAddStructuralMember.h:16
Definition: CmdAddStructuralMember.h:35
Definition: CmdAddStructuralMember.h:54
bool undo(int id=0)
Will UNDO one step, returns False if no undo was done (Undos == 0).
bool redo(int id=0)
Will REDO one step, returns False if no redo was done (Redos == 0).
Definition: CmdAddBolt.h:7
Definition: Command.h:34