Isis 3.0 Developer's Reference (API) |
Home |
00001 #ifndef ViewportBufferAction_h 00002 #define ViewportBufferAction_h 00003 00004 00005 namespace Isis { 00011 class ViewportBufferAction { 00012 public: 00013 ViewportBufferAction(); 00014 virtual ~ViewportBufferAction(); 00015 00019 enum ActionType { 00020 none, 00021 transform, 00022 fill, 00023 stretch 00024 }; 00025 00027 virtual ActionType getActionType() { 00028 return none; 00029 } 00030 00032 bool started() { 00033 return p_started; 00034 }; 00035 00041 void started(bool started) { 00042 p_started = started; 00043 }; 00044 00046 virtual void stop() {}; 00047 00048 private: 00054 ViewportBufferAction(const ViewportBufferAction &other); 00055 00063 ViewportBufferAction &operator=(const ViewportBufferAction &other); 00064 00065 private: 00066 bool p_started; 00067 }; 00068 } 00069 00070 #endif