RAII guard for GError* — auto-frees on destruction.
More...
#include <aravis_raii.hpp>
RAII guard for GError* — auto-frees on destruction.
◆ GErrorGuard() [1/2]
| camcom::genicam::GErrorGuard::GErrorGuard |
( |
| ) |
|
|
default |
◆ ~GErrorGuard()
| camcom::genicam::GErrorGuard::~GErrorGuard |
( |
| ) |
|
◆ GErrorGuard() [2/2]
| camcom::genicam::GErrorGuard::GErrorGuard |
( |
const GErrorGuard & | | ) |
|
|
delete |
◆ message()
| std::string camcom::genicam::GErrorGuard::message |
( |
| ) |
const |
Extract error message (empty if no error)
◆ operator bool()
| camcom::genicam::GErrorGuard::operator bool |
( |
| ) |
const |
|
inlineexplicit |
◆ operator=()
◆ ptr()
| GError ** camcom::genicam::GErrorGuard::ptr |
( |
| ) |
|
|
inline |
Pass to Aravis functions expecting GError**.
◆ error
| GError* camcom::genicam::GErrorGuard::error {nullptr} |
The documentation for this struct was generated from the following files: