1 #ifndef PORTMUX_GENERATOR_HPP 
    2 #define PORTMUX_GENERATOR_HPP 
    4 #include "yarpcodegenerator.hpp" 
   19     PortMuxGenerator(
int numMuxes, std::string outputName, 
bool toRos, std::string & output_port_name_, std::string & ros_message_name, 
bool fromRos);
 
   28     std::string getOutputName();
 
   29     std::string getRosMessageName();
 
   34     std::vector<int> getNumPorts();
 
   36     std::vector<std::string> getPorts();
 
   38     void addMuxNumPorts(
int numPorts);
 
   78 #endif //PORTMUX_GENERATOR_HPP 
std::string extractPortFromString(int muxIndex, int portIndex)
 
int getMuxNumPorts(int muxIndex)
 
std::string output_port_name
 
std::vector< std::string > ports_
 
void addMuxPorts(std::string ports)
 
std::vector< int > numPorts_
 
std::string rosMessageName_
 
PortMuxGenerator(int numMuxes, std::string outputName, bool toRos, std::string &output_port_name_, std::string &ros_message_name, bool fromRos)
 
std::string getMuxPorts(int muxIndex)
 
std::string generateCode()