HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
CH_UndoTimeGroup.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  * NAME: CH_UndoTimeGroup.h ( OP Library, C++)
7  *
8  * COMMENTS: This class handles the undoing of time group
9  * operations.
10  *
11  * This class handles the updating of internal data
12  * when a channel group operation is undone/redone.
13  */
14 
15 #ifndef __CH_UndoTimeGroup__
16 #define __CH_UndoTimeGroup__
17 
18 #include "CH_API.h"
19 #include <UT/UT_Undo.h>
20 #include <SYS/SYS_Types.h>
21 
22 class CH_TimeGroup;
23 
25 {
29 };
30 
32 {
33 public:
35  virtual ~CH_UndoTimeGroup();
36 
37  virtual void undo();
38  virtual void redo();
39 
40 private:
41  void swap();
42 
43  UT_String myGroupName;
44  fpreal myTime;
45  CH_UndoTimeGroupOperation myOperation;
46 };
47 
48 #endif
49 
virtual void redo()=0
void swap(UT::ArraySet< Key, MULTI, MAX_LOAD_FACTOR_256, Clearer, Hash, KeyEqual > &a, UT::ArraySet< Key, MULTI, MAX_LOAD_FACTOR_256, Clearer, Hash, KeyEqual > &b)
Definition: UT_ArraySet.h:1561
CH_UndoTimeGroupOperation
virtual void undo()=0
double fpreal
Definition: SYS_Types.h:269
#define CH_API
Definition: CH_API.h:10