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
UT_UndoWorkerFinderTable.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: UT_UndoWorkerFinderTable.h
7
*
8
* COMMENTS:
9
* This class maintains a table of undo worker finders. See
10
* UT_UndoWorkerFinder.h for comments on how this class works.
11
*/
12
13
#ifndef __UT_UndoWorkerFinderTable_h__
14
#define __UT_UndoWorkerFinderTable_h__
15
16
#include "
UT_API.h
"
17
#include "
UT_Map.h
"
18
#include "
UT_NonCopyable.h
"
19
20
class
UT_UndoWorkerFinderBase
;
21
22
class
UT_API
UT_UndoWorkerFinderTable
23
{
24
public
:
25
static
UT_UndoWorkerFinderTable
&instance();
26
27
void
addWorkerFinder(
UT_UndoWorkerFinderBase
&worker_finder);
28
void
removeWorkerFinder(
UT_UndoWorkerFinderBase
&worker_finder);
29
void
*findOpaqueWorker(
int
undo_worker_id);
30
31
protected
:
32
UT_UndoWorkerFinderTable
();
33
~
UT_UndoWorkerFinderTable
();
34
UT_NON_COPYABLE
(
UT_UndoWorkerFinderTable
)
35
36
static
UT_UndoWorkerFinderTable
*ourInstance;
37
38
UT_Map
<
int
,
UT_UndoWorkerFinderBase
*> myTable;
39
int
myNextUniqueId;
40
};
41
42
#endif
UT_Map
Unsorted map container.
Definition:
UT_Map.h:107
UT_API.h
UT_API
#define UT_API
Definition:
UT_API.h:14
UT_UndoWorkerFinderTable
Definition:
UT_UndoWorkerFinderTable.h:22
UT_Map.h
UT_NON_COPYABLE
#define UT_NON_COPYABLE(CLASS)
Define deleted copy constructor and assignment operator inside a class.
Definition:
UT_NonCopyable.h:31
UT_NonCopyable.h
UT_UndoWorkerFinderBase
Definition:
UT_UndoWorkerFinder.h:39
UT
UT_UndoWorkerFinderTable.h
Generated on Fri Nov 8 2024 03:42:06 for HDK by
1.8.6