Abstract Hardware Interface. More...
#include <hardware_interface.h>
Public Member Functions | |
virtual | ~HardwareInterface ()=default |
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 46 of file hardware_interface.h.
|
virtualdefault |
|
inlinevirtual |
Claim a resource by name.
Definition at line 55 of file hardware_interface.h.
|
inline |
Clear the resources this interface is claiming.
Definition at line 58 of file hardware_interface.h.
|
inline |
Get the list of resources this interface is currently claiming.
Definition at line 61 of file hardware_interface.h.
|
private |
Definition at line 66 of file hardware_interface.h.