Isis 3 Programmer Reference
|
#include <ViewportBufferAction.h>
Public Types | |
enum | ActionType { none, transform, fill, stretch } |
This uniquely identifies which child is instantiated. More... | |
Public Member Functions | |
ViewportBufferAction () | |
Creates a new viewport buffer action. More... | |
virtual | ~ViewportBufferAction () |
Destructor. More... | |
virtual ActionType | getActionType () |
Returns the instantiated type. More... | |
bool | started () |
Returns true if this is an action that takes time and has begun. More... | |
void | started (bool started) |
Sets started. More... | |
virtual void | stop () |
Cancels the process, used if reinitialize requested for example. More... | |
Private Member Functions | |
ViewportBufferAction (const ViewportBufferAction &other) | |
No copying these. More... | |
ViewportBufferAction & | operator= (const ViewportBufferAction &other) |
No assigning these. More... | |
Private Attributes | |
bool | p_started |
True if this action has begun. More... | |
Definition at line 18 of file ViewportBufferAction.h.
This uniquely identifies which child is instantiated.
Enumerator | |
---|---|
none | Parent was instantiated. |
transform | |
fill | |
stretch |
Definition at line 26 of file ViewportBufferAction.h.
Isis::ViewportBufferAction::ViewportBufferAction | ( | ) |
Creates a new viewport buffer action.
Definition at line 15 of file ViewportBufferAction.cpp.
References p_started.
|
virtual |
Destructor.
Definition at line 22 of file ViewportBufferAction.cpp.
|
private |
No copying these.
other |
|
inlinevirtual |
Returns the instantiated type.
Reimplemented in Isis::ViewportBufferTransform, Isis::ViewportBufferStretch, and Isis::ViewportBufferFill.
Definition at line 34 of file ViewportBufferAction.h.
References none.
Referenced by Isis::ViewportBuffer::actionsPreserveData(), Isis::ViewportBuffer::DataReady(), Isis::ViewportBuffer::doQueuedActions(), Isis::ViewportBuffer::enqueueAction(), Isis::ViewportBuffer::reinitialize(), Isis::ViewportBuffer::reinitializeActionExists(), and Isis::ViewportBuffer::totalUnfilledArea().
|
private |
|
inline |
Returns true if this is an action that takes time and has begun.
Definition at line 39 of file ViewportBufferAction.h.
References p_started.
Referenced by Isis::ViewportBuffer::DataReady(), Isis::ViewportBuffer::doQueuedActions(), Isis::ViewportBuffer::reinitialize(), started(), and Isis::ViewportBuffer::startFillAction().
|
inline |
Sets started.
started | True if starting |
Definition at line 48 of file ViewportBufferAction.h.
|
inlinevirtual |
Cancels the process, used if reinitialize requested for example.
Reimplemented in Isis::ViewportBufferFill.
Definition at line 53 of file ViewportBufferAction.h.
|
private |
True if this action has begun.
Definition at line 73 of file ViewportBufferAction.h.
Referenced by started(), and ViewportBufferAction().