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. More... | |
void | clearClaims () |
Clear the resources this interface is claiming. More... | |
std::set< std::string > | getClaims () const |
Get the list of resources this interface is currently claiming. More... | |
Private Attributes | |
std::set< std::string > | claims_ |
Abstract Hardware Interface.
Definition at line 47 of file hardware_interface.h.
|
inlinevirtual |
Definition at line 50 of file hardware_interface.h.
|
inlinevirtual |
Claim a resource by name.
Definition at line 56 of file hardware_interface.h.
|
inline |
Clear the resources this interface is claiming.
Definition at line 59 of file hardware_interface.h.
|
inline |
Get the list of resources this interface is currently claiming.
Definition at line 62 of file hardware_interface.h.
|
private |
Definition at line 67 of file hardware_interface.h.