Public Member Functions | 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 ()=default
 

Resource management

std::set< std::string > claims_
 
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...
 

Detailed Description

Abstract Hardware Interface.

Definition at line 46 of file hardware_interface.h.

Constructor & Destructor Documentation

◆ ~HardwareInterface()

virtual hardware_interface::HardwareInterface::~HardwareInterface ( )
virtualdefault

Member Function Documentation

◆ claim()

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

Claim a resource by name.

Definition at line 55 of file hardware_interface.h.

◆ clearClaims()

void hardware_interface::HardwareInterface::clearClaims ( )
inline

Clear the resources this interface is claiming.

Definition at line 58 of file hardware_interface.h.

◆ getClaims()

std::set<std::string> hardware_interface::HardwareInterface::getClaims ( ) const
inline

Get the list of resources this interface is currently claiming.

Definition at line 61 of file hardware_interface.h.

Member Data Documentation

◆ claims_

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

Definition at line 66 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 Tue Oct 15 2024 02:08:19