24 #ifndef __GLIP_COMPONENT_HPP__
25 #define __GLIP_COMPONENT_HPP__
39 using namespace CoreGL;
41 namespace CorePipeline
44 class ComponentLayout;
55 std::string layoutName;
56 std::vector<std::string> inputPorts;
57 std::vector<std::string> outputPorts;
64 AbstractComponentLayout(
const std::string& _layoutName,
const std::vector<std::string>& _inputPorts,
const std::vector<std::string>& _outputPorts);
71 void checkInputPort(
int i)
const;
72 void checkOutputPort(
int i)
const;
73 virtual std::string getFullName(
void)
const;
74 const std::string& getLayoutName(
void)
const;
75 int getNumInputPort(
void)
const;
76 const std::string& getInputPortName(
int i)
const;
77 int getInputPortID(
const std::string& name)
const;
78 bool doesInputPortExist(
const std::string& name)
const;
79 int getNumOutputPort(
void)
const;
80 const std::string& getOutputPortName(
int i)
const;
81 int getOutputPortID(
const std::string& name)
const;
82 bool doesOutputPortExist(
const std::string& name)
const;
93 int addOutputPort(
const std::string& name);
94 int addInputPort(
const std::string& name);
102 void setInputPortName(
int i,
const std::string& newName);
103 void setOutputPortName(
int i,
const std::string& newName);
113 std::string instanceName;
117 Component(
const std::string& _layoutName,
const std::vector<std::string>& _inputPorts,
const std::vector<std::string>& _outputPorts,
const std::string& _instanceName);
123 std::string getFullName(
void)
const;
124 const std::string& getName(
void)
const;
Layout of a component template.
Definition: Component.hpp:89
Definition: Component.hpp:32
Element of a pipeline.
Definition: Component.hpp:110
Layout of a component template (Read Only)
Definition: Component.hpp:51