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