libgpiod  2.0.1
Public Member Functions
gpiod::chip_closed Class Referencefinal

Exception thrown when an already closed chip is used. More...

#include <exception.hpp>

Inheritance diagram for gpiod::chip_closed:
Inheritance graph
[legend]
Collaboration diagram for gpiod::chip_closed:
Collaboration graph
[legend]

Public Member Functions

 chip_closed (const ::std::string &what)
 Constructor. More...
 
 chip_closed (const chip_closed &other) noexcept
 Copy constructor. More...
 
 chip_closed (chip_closed &&other) noexcept
 Move constructor. More...
 
chip_closedoperator= (const chip_closed &other) noexcept
 Assignment operator. More...
 
chip_closedoperator= (chip_closed &&other) noexcept
 Move assignment operator. More...
 

Detailed Description

Exception thrown when an already closed chip is used.

Definition at line 28 of file exception.hpp.

Constructor & Destructor Documentation

◆ chip_closed() [1/3]

gpiod::chip_closed::chip_closed ( const ::std::string &  what)
explicit

Constructor.

Parameters
whatHuman readable reason for error.

◆ chip_closed() [2/3]

gpiod::chip_closed::chip_closed ( const chip_closed other)
noexcept

Copy constructor.

Parameters
otherObject to copy from.

◆ chip_closed() [3/3]

gpiod::chip_closed::chip_closed ( chip_closed &&  other)
noexcept

Move constructor.

Parameters
otherObject to move.

Member Function Documentation

◆ operator=() [1/2]

chip_closed& gpiod::chip_closed::operator= ( chip_closed &&  other)
noexcept

Move assignment operator.

Parameters
otherObject to move.
Returns
Reference to self.

◆ operator=() [2/2]

chip_closed& gpiod::chip_closed::operator= ( const chip_closed other)
noexcept

Assignment operator.

Parameters
otherObject to copy from.
Returns
Reference to self.

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