Isis Developer Reference
ViewportBufferAction.h
Go to the documentation of this file.
1#ifndef ViewportBufferAction_h
2#define ViewportBufferAction_h
3
10/* SPDX-License-Identifier: CC0-1.0 */
11
12namespace Isis {
19 public:
21 virtual ~ViewportBufferAction();
22
32
35 return none;
36 }
37
39 bool started() {
40 return p_started;
41 };
42
48 void started(bool started) {
49 p_started = started;
50 };
51
53 virtual void stop() {};
54
55 private:
62
70 ViewportBufferAction &operator=(const ViewportBufferAction &other);
71
72 private:
73 bool p_started;
74 };
75}
76
77#endif
Definition ViewportBufferAction.h:18
ActionType
This uniquely identifies which child is instantiated.
Definition ViewportBufferAction.h:26
@ fill
ViewportBufferFill.
Definition ViewportBufferAction.h:29
@ transform
ViewportBufferTransform.
Definition ViewportBufferAction.h:28
@ none
Parent was instantiated.
Definition ViewportBufferAction.h:27
@ stretch
ViewportBufferStretch.
Definition ViewportBufferAction.h:30
virtual ~ViewportBufferAction()
Destructor.
Definition ViewportBufferAction.cpp:22
bool started()
Returns true if this is an action that takes time and has begun.
Definition ViewportBufferAction.h:39
ViewportBufferAction()
Creates a new viewport buffer action.
Definition ViewportBufferAction.cpp:15
virtual ActionType getActionType()
Returns the instantiated type.
Definition ViewportBufferAction.h:34
virtual void stop()
Cancels the process, used if reinitialize requested for example.
Definition ViewportBufferAction.h:53
void started(bool started)
Sets started.
Definition ViewportBufferAction.h:48
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16