Abstract Hardware Interface. More...
#include <hardware_interface.h>
Public Member Functions | |
virtual | ~HardwareInterface () |
Resource management | |
virtual void | claim (std::string resource) |
Claim a resource by name. | |
void | clearClaims () |
Clear the resources this interface is claiming. | |
std::set< std::string > | getClaims () const |
Get the list of resources this interface is currently claiming. | |
Private Attributes | |
std::set< std::string > | claims_ |
Abstract Hardware Interface.
Definition at line 47 of file hardware_interface.h.
virtual hardware_interface::HardwareInterface::~HardwareInterface | ( | ) | [inline, virtual] |
Definition at line 50 of file hardware_interface.h.
virtual void hardware_interface::HardwareInterface::claim | ( | std::string | resource | ) | [inline, virtual] |
Claim a resource by name.
Definition at line 56 of file hardware_interface.h.
void hardware_interface::HardwareInterface::clearClaims | ( | ) | [inline] |
Clear the resources this interface is claiming.
Definition at line 59 of file hardware_interface.h.
std::set<std::string> hardware_interface::HardwareInterface::getClaims | ( | ) | const [inline] |
Get the list of resources this interface is currently claiming.
Definition at line 62 of file hardware_interface.h.
std::set<std::string> hardware_interface::HardwareInterface::claims_ [private] |
Definition at line 67 of file hardware_interface.h.