ADORe
ADORe is a modular open source software library and toolkit for decision making, planning, control and simulation of automated vehicles
adore::if_ROS::FactoryCollection Class Reference

#include <factorycollection.h>

Inheritance diagram for adore::if_ROS::FactoryCollection:
Inheritance graph
Collaboration diagram for adore::if_ROS::FactoryCollection:
Collaboration graph

Public Member Functions

 FactoryCollection (ros::NodeHandle *nh=nullptr)
 
void init (ros::NodeHandle *nh=nullptr, std::string param_namespace="")
 
template<typename T >
T * getFactory ()
 
PARAMS_FactorygetParamsFactory (std::string prefix="")
 

Private Attributes

ros::NodeHandle * nh_
 

Detailed Description

Base class for ros nodes to make factories available

Constructor & Destructor Documentation

◆ FactoryCollection()

adore::if_ROS::FactoryCollection::FactoryCollection ( ros::NodeHandle *  nh = nullptr)
inline

Member Function Documentation

◆ getFactory()

template<typename T >
T* adore::if_ROS::FactoryCollection::getFactory ( )
inline

getFactory - get Factory object

◆ getParamsFactory()

PARAMS_Factory* adore::if_ROS::FactoryCollection::getParamsFactory ( std::string  prefix = "")
inline
Here is the caller graph for this function:

◆ init()

void adore::if_ROS::FactoryCollection::init ( ros::NodeHandle *  nh = nullptr,
std::string  param_namespace = "" 
)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ nh_

ros::NodeHandle* adore::if_ROS::FactoryCollection::nh_
private

The documentation for this class was generated from the following file: