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
OP_Output.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: OP_Output.h (C++)
7
*/
8
9
#ifndef _OP_Output_h_
10
#define _OP_Output_h_
11
12
#include "
OP_API.h
"
13
#include "
OP_ConnectorId.h
"
14
#include "
OP_DataTypes.h
"
15
16
#include <
UT/UT_String.h
>
17
#include <
UT/UT_ValArray.h
>
18
19
20
class
OP_NetworkBoxItem
;
21
22
class
OP_API
OP_Output
23
{
24
public
:
25
OP_Output
(
OP_ConnectorId
& new_id);
26
~
OP_Output
();
27
28
int64
getMemoryUsage
(
bool
inclusive)
const
29
{
30
int64
mem = inclusive ?
sizeof
(*this) : 0;
31
mem += myOutputs.getMemoryUsage(
false
);
32
return
mem;
33
}
34
35
int
getNumOutputs()
const
;
36
OP_NetworkBoxItem
*getOutput(
int
index
);
37
const
OP_NetworkBoxItem
*getOutput(
int
index
)
const
;
38
39
void
appendOutput(
OP_NetworkBoxItem
*item);
40
bool
remove
(
OP_NetworkBoxItem
*item);
41
42
void
getId(
int
&
id
);
43
44
OP_ConnectorId
getId
()
45
{
return
myId; }
46
47
private
:
48
OP_NetworkBoxItemList
myOutputs;
49
OP_ConnectorId
myId;
50
};
51
52
#endif
53
OP_Output::getMemoryUsage
int64 getMemoryUsage(bool inclusive) const
Definition:
OP_Output.h:28
OP_API.h
UT_ValArray< OP_NetworkBoxItem * >
OP_Output::getId
OP_ConnectorId getId()
Definition:
OP_Output.h:44
UT_String.h
OP_Output
Definition:
OP_Output.h:22
OP_NetworkBoxItem
Definition:
OP_NetworkBoxItem.h:40
UT_ValArray.h
int64
long long int64
Definition:
SYS_Types.h:116
OP_ConnectorId
Definition:
OP_ConnectorId.h:19
OP_DataTypes.h
OP_API
#define OP_API
Definition:
OP_API.h:10
index
GLuint index
Definition:
glcorearb.h:786
OP_ConnectorId.h
OP
OP_Output.h
Generated on Sat Nov 23 2024 02:46:14 for HDK by
1.8.6