All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Attributes | List of all members
GenApi::CPointer< T, B > Class Template Reference

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

#include <GenApi/Pointer.h>

Public Member Functions

 CPointer (void) throw ()
 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 throw ()
 true if the pointer is valid
 
 operator bool (void) const throw ()
 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

T * m_pT
 Underlying raw pointer.
 

Detailed Description

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

Encapsulates a GenApi pointer dealing with the dynamic_cast automatically.


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

pylon 5.0.9
Copyright © 2006-2017 Basler AG (Tue May 30 2017 17:24:58)