Skip to content

Class Spinnaker::GenApi::CPointer

template <class T, class B>

ClassList > GenApi > CPointer

Encapsulates a GenApi pointer dealing with the dynamic_cast automatically.

  • #include <Pointer.h>

Public Functions

Type Name
CPointer (void)
CPointer (B * pB)
bool IsValid () const
operator T* (void) const
operator bool (void) const
bool operator!= (const CPointer< T, B > & rT) const
bool operator!= (T * pT) const
bool operator!= (const long int nMustBeNull) const
bool operator!= (const int nMustBeNull) const
bool operator!= (const std::nullptr_t nullPtr) const
T & operator() (void) const
T & operator* (void) const
T * operator-> (void) const
void operator= (B * pB)
bool operator== (T * pT) const
bool operator== (const CPointer< T, B > & rT) const
bool operator== (int nMustBeNull) const
virtual ~CPointer (void)

Protected Attributes

Type Name
T * m_pT

Public Functions Documentation

function CPointer [1/2]

inline GenApi::CPointer::CPointer (
    void
) 

Default constructor.


function CPointer [2/2]

inline GenApi::CPointer::CPointer (
    B * pB
) 

Constructor from INode pointer type.


function IsValid

inline bool GenApi::CPointer::IsValid () const

true if the pointer is valid


function operator T*

inline GenApi::CPointer::operator T* (
    void
) const

Dereferencing


function operator bool

inline GenApi::CPointer::operator bool (
    void
) const

true if the pointer is valid


function operator!=

inline bool GenApi::CPointer::operator!= (
    const  CPointer < T , B > & rT
) const

pointer inequal


function operator!=

inline bool GenApi::CPointer::operator!= (
    T * pT
) const

pointer inequal


function operator!=

inline bool GenApi::CPointer::operator!= (
    const  long  int nMustBeNull
) const

pointer inequal


function operator!=

inline bool GenApi::CPointer::operator!= (
    const  int nMustBeNull
) const

pointer inequal


function operator!=

inline bool GenApi::CPointer::operator!= (
    const std::nullptr_t nullPtr
) const

pointer inequal


function operator()

inline T & GenApi::CPointer::operator() (
    void
) const

Dereferencing


function operator*

inline T & GenApi::CPointer::operator* (
    void
) const

Dereferencing


function operator->

inline T * GenApi::CPointer::operator-> (
    void
) const

Dereferencing


function operator=

inline void GenApi::CPointer::operator= (
    B * pB
) 

Assign INode Pointer


function operator==

inline bool GenApi::CPointer::operator== (
    T * pT
) const

pointer equal


function operator==

inline bool GenApi::CPointer::operator== (
    const  CPointer < T , B > & rT
) const

pointer equal


function operator==

inline bool GenApi::CPointer::operator== (
    int nMustBeNull
) const

pointer equal


function ~CPointer

inline virtual GenApi::CPointer::~CPointer (
    void
) 

Protected Attributes Documentation

variable m_pT

T* Spinnaker::GenApi::CPointer< T, B >::m_pT;

Underlying raw pointer.



The documentation for this class was generated from the following file C:/workspace/include/SpinGenApi/Pointer.h