#include <interface_manager.h>
Definition at line 116 of file interface_manager.h.
template<class T >
T* hardware_interface::InterfaceManager::get |
( |
| ) |
|
|
inline |
Get an interface.
Since this class only stores one interface per type, this returns a pointer to the requested interface type. If the interface type is not registered, it will return NULL
.
- Template Parameters
-
- Returns
- A pointer to the stored interface of type
T
or NULL
Definition at line 156 of file interface_manager.h.
std::vector<std::string> hardware_interface::InterfaceManager::getInterfaceResources |
( |
std::string |
iface_type | ) |
const |
|
inline |
Get the resource names registered to an interface, specified by type (as this class only stores one interface per type)
- Parameters
-
iface_type | A string with the demangled type name of the interface |
- Returns
- A vector of resource names registered to this interface
Definition at line 236 of file interface_manager.h.
std::vector<std::string> hardware_interface::InterfaceManager::getNames |
( |
| ) |
const |
|
inline |
- Returns
- Vector of interface names registered to this instance.
Definition at line 218 of file interface_manager.h.
template<class T >
void hardware_interface::InterfaceManager::registerInterface |
( |
T * |
iface | ) |
|
|
inline |
Register an interface.
This associates the name of the type of interface to be registered with the given pointer.
- Template Parameters
-
- Parameters
-
iface | A pointer to the interface to store |
Definition at line 129 of file interface_manager.h.
void hardware_interface::InterfaceManager::registerInterfaceManager |
( |
InterfaceManager * |
iface_man | ) |
|
|
inline |
boost::ptr_vector<ResourceManagerBase> hardware_interface::InterfaceManager::interface_destruction_list_ |
|
protected |
InterfaceMap hardware_interface::InterfaceManager::interfaces_ |
|
protected |
InterfaceMap hardware_interface::InterfaceManager::interfaces_combo_ |
|
protected |
SizeMap hardware_interface::InterfaceManager::num_ifaces_registered_ |
|
protected |
ResourceMap hardware_interface::InterfaceManager::resources_ |
|
protected |
This will allow us to check the resources based on the demangled type name of the interface.
Definition at line 259 of file interface_manager.h.
The documentation for this class was generated from the following file: