HDK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
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
24
enum
CH_UndoTimeGroupOperation
25
{
26
CH_UNDO_CREATE
,
27
CH_UNDO_MODIFY
,
28
CH_UNDO_DELETE
29
};
30
31
class
CH_API
CH_UndoTimeGroup
:
public
UT_Undo
32
{
33
public
:
34
CH_UndoTimeGroup
(
CH_TimeGroup
*,
CH_UndoTimeGroupOperation
);
35
~
CH_UndoTimeGroup
()
override
;
36
37
void
undo
()
override
;
38
void
redo
()
override
;
39
40
private
:
41
void
swap
();
42
43
UT_String
myGroupName;
44
fpreal
myTime;
45
CH_UndoTimeGroupOperation
myOperation;
46
};
47
48
#endif
49
UT_Undo::redo
virtual void redo()=0
UT_Undo
Definition:
UT_Undo.h:23
CH_UNDO_DELETE
Definition:
CH_UndoTimeGroup.h:28
swap
void swap(T &lhs, T &rhs)
Definition:
pugixml.cpp:7172
CH_UndoTimeGroupOperation
CH_UndoTimeGroupOperation
Definition:
CH_UndoTimeGroup.h:24
SYS_Types.h
UT_Undo::undo
virtual void undo()=0
CH_TimeGroup
Definition:
CH_TimeGroup.h:23
CH_API.h
UT_Undo.h
fpreal
fpreal64 fpreal
Definition:
SYS_Types.h:277
CH_API
#define CH_API
Definition:
CH_API.h:10
CH_UNDO_MODIFY
Definition:
CH_UndoTimeGroup.h:27
UT_String
Definition:
UT_String.h:73
CH_UNDO_CREATE
Definition:
CH_UndoTimeGroup.h:26
CH_UndoTimeGroup
Definition:
CH_UndoTimeGroup.h:31
CH
CH_UndoTimeGroup.h
Generated on Fri Nov 8 2024 03:39:05 for HDK by
1.8.6