Public Member Functions | Protected Attributes
GENAPI_NAMESPACE::CPointer< T, B > Class Template Reference

Encapsulates a GenApi pointer dealing with the dynamic_cast automatically. More...

#include <Pointer.h>

List of all members.

Public Member Functions

 CPointer (void) throw ()
 Default constructor.
 CPointer (B *pB)
 Constructor from INode pointer type.
bool IsValid () const throw ()
 true if the pointer is valid
 operator bool (void) const throw ()
 true if the pointer is valid
 operator T * (void) const
 Dereferencing.
Toperator() (void) const
 Dereferencing.
Toperator* (void) const
 Dereferencing.
Toperator-> (void) const
 Dereferencing.
void operator= (B *pB)
 Assign INode Pointer.
bool operator== (T *pT) const
 pointer equal
bool operator== (const CPointer< T, B > &rT) const
 pointer equal
bool operator== (int nMustBeNull) const
 pointer equal
virtual ~CPointer (void)

Protected Attributes

Tm_pT
 Underlying raw pointer.

Detailed Description

template<class T, class B = IBase>
class GENAPI_NAMESPACE::CPointer< T, B >

Encapsulates a GenApi pointer dealing with the dynamic_cast automatically.

Definition at line 51 of file Pointer.h.


Constructor & Destructor Documentation

template<class T, class B = IBase>
GENAPI_NAMESPACE::CPointer< T, B >::CPointer ( void  ) throw () [inline]

Default constructor.

Definition at line 56 of file Pointer.h.

template<class T, class B = IBase>
GENAPI_NAMESPACE::CPointer< T, B >::CPointer ( B *  pB) [inline]

Constructor from INode pointer type.

Definition at line 62 of file Pointer.h.

template<class T, class B = IBase>
virtual GENAPI_NAMESPACE::CPointer< T, B >::~CPointer ( void  ) [inline, virtual]

Definition at line 67 of file Pointer.h.


Member Function Documentation

template<class T, class B = IBase>
bool GENAPI_NAMESPACE::CPointer< T, B >::IsValid ( void  ) const throw () [inline]

true if the pointer is valid

Definition at line 110 of file Pointer.h.

template<class T, class B = IBase>
GENAPI_NAMESPACE::CPointer< T, B >::operator bool ( void  ) const throw () [inline]

true if the pointer is valid

Definition at line 116 of file Pointer.h.

template<class T, class B = IBase>
GENAPI_NAMESPACE::CPointer< T, B >::operator T * ( void  ) const [inline]

Dereferencing.

Definition at line 78 of file Pointer.h.

template<class T, class B = IBase>
T& GENAPI_NAMESPACE::CPointer< T, B >::operator() ( void  ) const [inline]

Dereferencing.

Definition at line 94 of file Pointer.h.

template<class T, class B = IBase>
T& GENAPI_NAMESPACE::CPointer< T, B >::operator* ( void  ) const [inline]

Dereferencing.

Definition at line 86 of file Pointer.h.

template<class T, class B = IBase>
T* GENAPI_NAMESPACE::CPointer< T, B >::operator-> ( void  ) const [inline]

Dereferencing.

Definition at line 102 of file Pointer.h.

template<class T, class B = IBase>
void GENAPI_NAMESPACE::CPointer< T, B >::operator= ( B *  pB) [inline]

Assign INode Pointer.

Reimplemented in GENAPI_NAMESPACE::CFloatPtr.

Definition at line 72 of file Pointer.h.

template<class T, class B = IBase>
bool GENAPI_NAMESPACE::CPointer< T, B >::operator== ( T pT) const [inline]

pointer equal

Definition at line 122 of file Pointer.h.

template<class T, class B = IBase>
bool GENAPI_NAMESPACE::CPointer< T, B >::operator== ( const CPointer< T, B > &  rT) const [inline]

pointer equal

Definition at line 128 of file Pointer.h.

template<class T, class B = IBase>
bool GENAPI_NAMESPACE::CPointer< T, B >::operator== ( int  nMustBeNull) const [inline]

pointer equal

Definition at line 134 of file Pointer.h.


Member Data Documentation

template<class T, class B = IBase>
T* GENAPI_NAMESPACE::CPointer< T, B >::m_pT [protected]

Underlying raw pointer.

Definition at line 145 of file Pointer.h.


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


rc_genicam_api
Author(s): Heiko Hirschmueller
autogenerated on Thu Jun 6 2019 18:42:49