HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
CH_Types.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 library (C++)
7  *
8  * COMMENTS: Convenient types used by the channel library.
9  *
10  */
11 
12 #ifndef __CH_Types_h__
13 #define __CH_Types_h__
14 
15 #include "CH_API.h"
16 #include <UT/UT_Array.h>
17 #include <UT/UT_ValArray.h>
18 
19 class CH_Group;
20 class CH_Segment;
21 class CH_Channel;
22 class CH_ChannelRef;
24 
31 typedef int (*CHfindCallBack)(CH_Collection *grp, CH_Channel *chp, void *);
32 
33 typedef enum {
35 
36  CH_SCOPED = 0x1,
37  CH_SELECTED = 0x2,
38  CH_PINNED = 0x4,
39  CH_DISPLAY = 0x8,
40  CH_TEMPLATE = 0x10,
41 
46 
47  CH_HIDDEN = 0x200,
49 
51  CH_ALL_FLAGS = ((1<<11)-1)
52 
54 
55 CH_API extern const char *const
57 
58 //
59 // This enum is used when calling the changeSegLength method and provides
60 // a hint as to how the change is to be done. This is currently only
61 // necessary when changing the length of raw segments and the channel
62 // manager raw interpolation option is turned off.
63 //
64 typedef enum {
65  CH_SCALE_ANY, // Don't care.
66  CH_SCALE_START, // Adjusting the segment start time.
67  CH_SCALE_END // Adjusting the segment end time.
69 
70 typedef enum {
71  CH_VALUE = 0,
76 
77 #endif
int(* CHfindCallBack)(CH_Collection *grp, CH_Channel *chp, void *)
Definition: CH_Types.h:31
CH_API const char *const chScopeFlagNames[]
UT_ValArray< CH_Group * > CH_GroupList
Definition: CH_Types.h:23
UT_ValArray< CH_Collection * > CH_CollectionList
Definition: CH_Types.h:29
UT_Array< CH_ChannelRef > CH_ChannelRefList
Definition: CH_Types.h:28
CH_ValueTypes
Definition: CH_Types.h:70
typedef int
Definition: png.h:1175
CH_ScopeMasks
Definition: CH_Types.h:33
#define CH_API
Definition: CH_API.h:10
UT_ValArray< CH_Segment * > CH_SegmentList
Definition: CH_Types.h:26
CH_SegmentScale
Definition: CH_Types.h:64
UT_ValArray< CH_Channel * > CH_ChannelList
Definition: CH_Types.h:27
UT_ValArray< const char * > CH_NameList
Definition: CH_Types.h:30