GenApi::CPointer#
Encapsulates a GenApi pointer dealing with the dynamic_cast automatically. More…
#include <GenApi/Pointer.h>
Public Functions#
| Name | |
|---|---|
| CPointer(void ) Default constructor. | |
| CPointer(B * pB) Constructor from INode pointer type. | |
| void | operator=(B * pB) Assign INode Pointer. |
| operator T *(void ) const Dereferencing. | |
| T & | operator*(void ) const Dereferencing. |
| T & | operator())(void ) const Dereferencing. |
| T * | operator->(void ) const Dereferencing. |
| bool | IsValid() const true if the pointer is valid |
| operator bool(void ) const true if the pointer is valid | |
| bool | operator==(T * pT) const pointer equal |
| bool | operator==(const CPointer< T, B > & rT) const pointer equal |
| bool | operator==(int nMustBeNull) const pointer equal |
Protected Attributes#
| Name | |
|---|---|
| T * | m_pT Underlying raw pointer. |
Detailed Description#
Encapsulates a GenApi pointer dealing with the dynamic_cast automatically.
Public Functions Documentation#
function CPointer#
Default constructor.
function CPointer#
Constructor from INode pointer type.
function operator=#
Assign INode Pointer.
function operator T *#
Dereferencing.
function operator*#
Dereferencing.
function operator()#
Dereferencing.
function operator->#
Dereferencing.
function IsValid#
true if the pointer is valid
function operator bool#
true if the pointer is valid
function operator==#
pointer equal
function operator==#
pointer equal
function operator==#
pointer equal
Protected Attributes Documentation#
variable m_pT#
Underlying raw pointer.