RokubiminiFactory.hpp
Go to the documentation of this file.
3 
4 namespace rokubimini
5 {
6 typedef enum BusType
7 {
8  SERIAL = 1,
9  ETHERCAT = 2
10 } busType;
11 using NodeHandlePtr = std::shared_ptr<ros::NodeHandle>;
27 rokubimini::setup::SetupPtr loadBusSetup(std::vector<std::unique_ptr<RokubiminiBusManager>>& busManagers,
28  const NodeHandlePtr& nh);
29 
40 busType parseProductCode(const std::string& productCode, const NodeHandlePtr& nh);
41 
58 std::shared_ptr<rokubimini::Rokubimini>
59 createRokubiminiFactory(const std::shared_ptr<rokubimini::setup::Rokubimini>& rokubiminiSetup, const NodeHandlePtr& nh);
60 
70 
88  std::vector<std::unique_ptr<RokubiminiBusManager>>& busManagers,
89  const NodeHandlePtr& nh);
90 
123 std::shared_ptr<rokubimini::setup::Rokubimini>
124 createRokubiminiSetup(const std::string& rokubiminiName,
125  std::vector<std::unique_ptr<RokubiminiBusManager>>& busManagers, const NodeHandlePtr& nh);
126 } // namespace rokubimini
bool loadBusSetupFromParamServer(const rokubimini::setup::SetupPtr &setup, std::vector< std::unique_ptr< RokubiminiBusManager >> &busManagers, const NodeHandlePtr &nh)
busType parseProductCode(const std::string &productCode, const NodeHandlePtr &nh)
std::shared_ptr< Setup > SetupPtr
std::shared_ptr< ros::NodeHandle > NodeHandlePtr
rokubimini::setup::SetupPtr createSetup()
Creates an empty generic Setup. This will have in a list all the Rokubimini Setups.
enum rokubimini::BusType busType
std::shared_ptr< rokubimini::setup::Rokubimini > createRokubiminiSetup(const std::string &rokubiminiName, std::vector< std::unique_ptr< RokubiminiBusManager >> &busManagers, const NodeHandlePtr &nh)
std::shared_ptr< rokubimini::Rokubimini > createRokubiminiFactory(const std::shared_ptr< rokubimini::setup::Rokubimini > &rokubiminiSetup, const NodeHandlePtr &nh)
rokubimini::setup::SetupPtr loadBusSetup(std::vector< std::unique_ptr< RokubiminiBusManager >> &busManagers, const NodeHandlePtr &nh)


rokubimini_factory
Author(s):
autogenerated on Wed Mar 3 2021 03:09:19