Vuo
2.0.0
base
VuoPortClass.hh
Go to the documentation of this file.
1
10
#pragma once
11
12
#include "
VuoBase.hh
"
13
14
class
VuoCompilerNodeArgumentClass
;
15
21
class
VuoPortClass
:
public
VuoBase
<VuoCompilerNodeArgumentClass,void>
22
{
23
public
:
27
enum
PortType
28
{
29
notAPort
,
30
dataAndEventPort
,
31
eventOnlyPort
,
32
triggerPort
33
};
34
38
enum
EventBlocking
39
{
40
EventBlocking_None
,
41
EventBlocking_Door
,
42
EventBlocking_Wall
43
};
44
48
enum
EventThrottling
49
{
50
EventThrottling_Enqueue
,
51
EventThrottling_Drop
52
};
53
54
VuoPortClass
(
string
name,
enum
PortType
portType);
55
string
getName
(
void
);
56
void
setName
(
string
name);
57
PortType
getPortType
(
void
);
58
EventBlocking
getEventBlocking
(
void
);
59
void
setEventBlocking
(
EventBlocking
eventBlocking);
60
bool
hasPortAction
(
void
);
61
void
setPortAction
(
bool
portAction);
62
EventThrottling
getDefaultEventThrottling
(
void
);
63
void
setDefaultEventThrottling
(
EventThrottling
eventThrottling);
64
65
void
print
(
void
);
66
67
private
:
68
string
name;
69
enum
PortType
portType;
70
enum
EventBlocking
eventBlocking;
71
bool
portAction;
72
enum
EventThrottling
defaultEventThrottling;
73
};
Generated on Wed Feb 26 2020 23:19:29 for Vuo by
1.8.17