Public Member Functions | Private Attributes | List of all members
rm_control::GpioStateHandle Class Reference

#include <gpio_interface.h>

Public Member Functions

std::string getName () const
 
GpioType getType () const
 
bool getValue () const
 
 GpioStateHandle ()=default
 
 GpioStateHandle (std::string name, GpioType type, bool *value)
 

Private Attributes

std::string name_
 
GpioType type_
 
bool * value_ = { nullptr }
 

Detailed Description

Definition at line 25 of file gpio_interface.h.

Constructor & Destructor Documentation

◆ GpioStateHandle() [1/2]

rm_control::GpioStateHandle::GpioStateHandle ( )
default

◆ GpioStateHandle() [2/2]

rm_control::GpioStateHandle::GpioStateHandle ( std::string  name,
GpioType  type,
bool *  value 
)
inline

Definition at line 29 of file gpio_interface.h.

Member Function Documentation

◆ getName()

std::string rm_control::GpioStateHandle::getName ( ) const
inline

Definition at line 35 of file gpio_interface.h.

◆ getType()

GpioType rm_control::GpioStateHandle::getType ( ) const
inline

Definition at line 39 of file gpio_interface.h.

◆ getValue()

bool rm_control::GpioStateHandle::getValue ( ) const
inline

Definition at line 43 of file gpio_interface.h.

Member Data Documentation

◆ name_

std::string rm_control::GpioStateHandle::name_
private

Definition at line 50 of file gpio_interface.h.

◆ type_

GpioType rm_control::GpioStateHandle::type_
private

Definition at line 51 of file gpio_interface.h.

◆ value_

bool* rm_control::GpioStateHandle::value_ = { nullptr }
private

Definition at line 52 of file gpio_interface.h.


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


rm_common
Author(s):
autogenerated on Tue May 6 2025 02:23:36