#include <aravis_raii.hpp>
Public Member Functions | |
| GObjectGuard ()=default | |
| GObjectGuard (T *p) | |
| ~GObjectGuard () | |
| GObjectGuard (const GObjectGuard &)=delete | |
| GObjectGuard & | operator= (const GObjectGuard &)=delete |
| GObjectGuard (GObjectGuard &&o) noexcept | |
| GObjectGuard & | operator= (GObjectGuard &&o) noexcept |
| T * | get () const |
| T * | release () |
| void | reset (T *p=nullptr) |
| operator bool () const | |
RAII wrapper for GObject-derived types (g_object_unref on destruction). Works with ArvDevice, ArvStream, ArvBuffer, GInetAddress, etc.
|
default |
|
inlineexplicit |
| camcom::genicam::GObjectGuard< T >::~GObjectGuard | ( | ) |
|
delete |
|
inlinenoexcept |
|
inline |
|
inlineexplicit |
|
delete |
|
inlinenoexcept |
|
inline |
| void camcom::genicam::GObjectGuard< T >::reset | ( | T * | p = nullptr | ) |