25 const Port *addPort(
const int moduleID,
const std::string &name,
const std::string &description,
26 const Port::Type type,
int flags = 0);
27 const Port *addPort(
const Port &port);
28 virtual std::vector<message::Buffer> removePort(
const Port &port);
30 bool addConnection(
const Port &out,
const Port &in);
31 bool addConnection(
const int a,
const std::string &na,
const int b,
const std::string &nb);
33 bool removeConnection(
const Port &from,
const Port &to);
34 bool removeConnection(
const int a,
const std::string &na,
const int b,
const std::string &nb);
39 const Port::ConstPortSet *getConnectionList(
const int moduleID,
const std::string &name)
const;
41 virtual const Port *getPort(
const int moduleID,
const std::string &name);
43 Port *findPort(
const int moduleID,
const std::string &name)
const;
45 std::vector<std::string> getPortNames(
const int moduleID, Port::Type type)
const;
46 std::vector<std::string> getInputPortNames(
const int moduleID)
const;
47 std::vector<std::string> getOutputPortNames(
const int moduleID)
const;
48 std::vector<Port *> getPorts(
const int moduleID, Port::Type type,
bool connectedOnly =
false)
const;
49 std::vector<Port *> getInputPorts(
const int moduleID)
const;
50 std::vector<Port *> getConnectedInputPorts(
const int moduleID)
const;
51 std::vector<Port *> getOutputPorts(
const int moduleID)
const;
52 std::vector<Port *> getConnectedOutputPorts(
const int moduleID)
const;
54 virtual std::vector<message::Buffer> removeModule(
int moduleId);
62 typedef std::map<std::string, Port *>
PortMap;
Definition: porttracker.h:18
std::map< std::string, Port * > PortMap
Definition: porttracker.h:62
StateTracker * m_stateTracker
Definition: porttracker.h:60
std::map< int, PortMap * > ModulePortMap
Definition: porttracker.h:64
ModulePortMap m_ports
Definition: porttracker.h:65
std::vector< const Port * > ConnectionList
Definition: porttracker.h:36
std::map< int, std::string > PortOrder
Definition: porttracker.h:67
std::map< int, PortOrder * > m_portOrders
Definition: porttracker.h:68
std::set< const Port *, detail::deref_compare< Port > > ConstPortSet
Definition: port.h:54
Definition: statetracker.h:94
#define V_COREEXPORT
Definition: export.h:9
Definition: allobjects.cpp:30