Public Member Functions | Private Attributes | List of all members
hardware_interface::HardwareInterface Class Reference

Abstract Hardware Interface. More...

#include <hardware_interface.h>

Inheritance diagram for hardware_interface::HardwareInterface:
Inheritance graph
[legend]

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_
 

Detailed Description

Abstract Hardware Interface.

Definition at line 47 of file hardware_interface.h.

Constructor & Destructor Documentation

virtual hardware_interface::HardwareInterface::~HardwareInterface ( )
inlinevirtual

Definition at line 50 of file hardware_interface.h.

Member Function Documentation

virtual void hardware_interface::HardwareInterface::claim ( std::string  resource)
inlinevirtual

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.

Member Data Documentation

std::set<std::string> hardware_interface::HardwareInterface::claims_
private

Definition at line 67 of file hardware_interface.h.


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


hardware_interface
Author(s): Wim Meeussen, Adolfo Rodriguez Tsouroukdissian
autogenerated on Mon Apr 20 2020 03:52:05