Enzo
Loading...
Searching...
No Matches
src
Engine
Operator
Context.h
1
#pragma once
2
3
#include "
Engine/Types.h
"
4
#include "Engine/Operator/NodePacket.h"
5
6
namespace
enzo::nt
7
{
8
class
NetworkManager;
9
}
10
11
namespace
enzo::op
12
{
19
class
Context
20
{
21
public
:
22
Context
(
enzo::nt::OpId
opId,
enzo::nt::NetworkManager
& networkManager);
23
enzo::NodePacket
cloneInputPacket(
unsigned
int
inputIndex);
24
bool
hasInput(
unsigned
int
inputIndex);
25
bt::floatT evalFloatParm(
const
char
* parmName,
const
unsigned
int
index=0)
const
;
26
bt::intT evalIntParm(
const
char
* parmName,
const
unsigned
int
index=0)
const
;
27
bt::boolT evalBoolParm(
const
char
* parmName,
const
unsigned
int
index=0)
const
;
28
bt::String evalStringParm(
const
char
* parmName,
const
unsigned
int
index=0)
const
;
29
private
:
30
enzo::nt::OpId
opId_;
31
enzo::nt::NetworkManager
& networkManager_;
32
33
};
34
}
Types.h
Basic attribute, parameter, and node types for Enzo.
enzo::nt::OpId
uint64_t OpId
The unique ID assigned to each node in the network.
Definition
Types.h:87
enzo::NodePacket
Definition
NodePacket.h:8
enzo::nt::NetworkManager
The central coordinator of the engine's node system.
Definition
NetworkManager.h:27
enzo::op::Context
Provides network context for the cookOp function.
Definition
Context.h:20
Generated by
1.12.0