![]() |
![]() |
The Universal grab result smart pointer. More...
#include <pylon/BaslerUniversalGrabResultPtr.h>
Public Member Functions | |
CBaslerUniversalGrabResultPtr () | |
Creates a smart pointer. More... | |
CBaslerUniversalGrabResultPtr (const CGrabResultPtr &rhs) | |
Creates a copy of a smart pointer. More... | |
CBaslerUniversalGrabResultPtr (const CBaslerUniversalGrabResultPtr &rhs) | |
Creates a copy of a smart pointer. More... | |
virtual | ~CBaslerUniversalGrabResultPtr () |
Destroys the smart pointer. More... | |
CBaslerUniversalGrabResultData * | operator-> () const |
Allows accessing the referenced data. More... | |
bool | IsValid () const |
Check whether data is referenced. More... | |
operator bool () const | |
Check whether data is referenced. More... | |
operator IImage & () const | |
Provides an IImage interface to the grab result. More... | |
bool | IsUnique () const |
Indicates that the held grab result data and buffer are only referenced by this grab result. More... | |
void | Release () |
The currently referenced data is released. More... | |
The Universal grab result smart pointer.
|
inline |
Creates a smart pointer.
|
inline |
Creates a copy of a smart pointer.
[in] | rhs | Another smart pointer, source of the result data to reference. |
The data itself is not copied.
|
inline |
Creates a copy of a smart pointer.
[in] | rhs | Another smart pointer, source of the result data to reference. |
The data itself is not copied.
|
inlinevirtual |
Destroys the smart pointer.
|
inherited |
Indicates that the held grab result data and buffer are only referenced by this grab result.
|
inherited |
Check whether data is referenced.
|
inherited |
Check whether data is referenced.
The overloaded bool operator can be used to check whether data is referenced. Example:
|
inherited |
Provides an IImage interface to the grab result.
This cast operator allows passing the grab result to saving functions or image format converter. The returned image is invalid if the grab was not successful. See CGrabResultData::GrabSucceeded().
|
inherited |
Allows accessing the referenced data.
|
inherited |
The currently referenced data is released.