Isis 3 Developer Reference
ViewportBufferAction.h
Go to the documentation of this file.
1 #ifndef ViewportBufferAction_h
2 #define ViewportBufferAction_h
3 
4 
5 namespace Isis {
12  public:
14  virtual ~ViewportBufferAction();
15 
19  enum ActionType {
20  none,
22  fill,
24  };
25 
28  return none;
29  }
30 
32  bool started() {
33  return p_started;
34  };
35 
41  void started(bool started) {
42  p_started = started;
43  };
44 
46  virtual void stop() {};
47 
48  private:
55 
63  ViewportBufferAction &operator=(const ViewportBufferAction &other);
64 
65  private:
66  bool p_started;
67  };
68 }
69 
70 #endif
ViewportBufferTransform.
Definition: ViewportBufferAction.h:21
virtual ~ViewportBufferAction()
Destructor.
Definition: ViewportBufferAction.cpp:14
ViewportBufferStretch.
Definition: ViewportBufferAction.h:23
virtual ActionType getActionType()
Returns the instantiated type.
Definition: ViewportBufferAction.h:27
void started(bool started)
Sets started.
Definition: ViewportBufferAction.h:41
bool started()
Returns true if this is an action that takes time and has begun.
Definition: ViewportBufferAction.h:32
ActionType
This uniquely identifies which child is instantiated.
Definition: ViewportBufferAction.h:19
Parent was instantiated.
Definition: ViewportBufferAction.h:20
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
ViewportBufferFill.
Definition: ViewportBufferAction.h:22
ViewportBufferAction()
Creates a new viewport buffer action.
Definition: ViewportBufferAction.cpp:7
virtual void stop()
Cancels the process, used if reinitialize requested for example.
Definition: ViewportBufferAction.h:46
Definition: ViewportBufferAction.h:11