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
TAKE_Event.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: TAKE_Event.h ( TAK Library, C++)
7
*
8
* COMMENTS: Take events
9
*/
10
11
#ifndef __TAKE_Event__
12
#define __TAKE_Event__
13
14
#include "
TAKE_API.h
"
15
#include <
UT/UT_Notifier.h
>
16
17
class
TAKE_Take
;
18
19
class
TAKE_API
TAKE_Event
{
20
public
:
21
enum
TAKE_EventType
{
22
TAKE_SWITCH
,
// Current take was switched
23
TAKE_ADDED
,
// New take was created
24
TAKE_DELETED
,
// Take was deleted
25
TAKE_RENAME
,
// Take was re-named
26
TAKE_RELABEL
,
// Take was re-labelled
27
TAKE_MOVED
,
// Take was moved in the hierarchy
28
TAKE_INCLUDE
,
// Parameter included/excluded
29
TAKE_DEFNAME
,
// Default take name changed
30
TAKE_MODECHANGE
,
// Auto include mode was changed
31
};
32
33
TAKE_Event
(
TAKE_EventType
type
,
const
char
*
name
,
const
TAKE_Take
*take=0)
34
: myEventType(type), myTakeName(name), myTake(take) { }
35
36
const
char
*
getTakeName
()
const
{
return
myTakeName; }
37
const
TAKE_Take
*
getTake
()
const
{
return
myTake; }
38
TAKE_EventType
getType
()
const
{
return
myEventType; }
39
40
static
const
char
*getEventName(TAKE_EventType
type
);
41
42
private
:
43
TAKE_EventType myEventType;
44
const
TAKE_Take
*myTake;
45
const
char
*myTakeName;
46
};
47
48
49
#endif
UT_Notifier.h
TAKE_Event::getType
TAKE_EventType getType() const
Definition:
TAKE_Event.h:38
TAKE_Event::TAKE_EventType
TAKE_EventType
Definition:
TAKE_Event.h:21
TAKE_Event::TAKE_RENAME
Definition:
TAKE_Event.h:25
TAKE_Event::TAKE_DEFNAME
Definition:
TAKE_Event.h:29
TAKE_Event
Definition:
TAKE_Event.h:19
TAKE_Event::TAKE_ADDED
Definition:
TAKE_Event.h:23
TAKE_Event::TAKE_RELABEL
Definition:
TAKE_Event.h:26
TAKE_Event::TAKE_MOVED
Definition:
TAKE_Event.h:27
TAKE_Event::getTakeName
const char * getTakeName() const
Definition:
TAKE_Event.h:36
name
GLuint const GLchar * name
Definition:
glcorearb.h:786
TAKE_Event::TAKE_DELETED
Definition:
TAKE_Event.h:24
TAKE_Event::TAKE_Event
TAKE_Event(TAKE_EventType type, const char *name, const TAKE_Take *take=0)
Definition:
TAKE_Event.h:33
TAKE_Event::TAKE_MODECHANGE
Definition:
TAKE_Event.h:30
TAKE_Event::TAKE_SWITCH
Definition:
TAKE_Event.h:22
TAKE_Event::getTake
const TAKE_Take * getTake() const
Definition:
TAKE_Event.h:37
TAKE_Event::TAKE_INCLUDE
Definition:
TAKE_Event.h:28
type
type
Definition:
core.h:1059
TAKE_Take
Definition:
TAKE_Take.h:29
TAKE_API.h
TAKE_API
#define TAKE_API
Definition:
TAKE_API.h:10
TAKE
TAKE_Event.h
Generated on Thu Nov 21 2024 02:45:51 for HDK by
1.8.6