Spinnaker SDK C++
4.1.0.338
 
 

 
Loading...
Searching...
No Matches
BasePtr< T, B > Class Template Reference

The base class of the SystemPtr, CameraPtr, InterfacePtr, ImagePtr and LoggingEventDataPtr objects. More...

#include <BasePtr.h>

Public Member Functions

 BasePtr (void) throw ()
 Default constructor.
 
virtual ~BasePtr (void)
 
 BasePtr (const BasePtr &other) throw ()
 Copy constructor.
 
virtual BasePtroperator= (const BasePtr &rhs)
 Assign INode Pointer.
 
virtual BasePtroperator= (const int nMustBeNull)
 
virtual BasePtroperator= (const long nMustBeNull)
 
virtual BasePtroperator= (const std::nullptr_t nullPtr)
 
virtual operator T* (void) const
 Dereferencing.
 
virtual T * operator-> (void) const
 Dereferencing.
 
virtual bool IsValid () const throw ()
 True if the pointer is valid.
 
virtual operator bool (void) const throw ()
 True if the pointer is valid.
 
virtual bool operator== (const BasePtr &rT) const
 Pointer equal.
 
virtual bool operator== (std::nullptr_t) const
 Pointer equal.
 
virtual bool operator== (int nMustBeNull) const
 Pointer equal.
 
virtual bool operator== (long nMustBeNull) const
 Pointer equal.
 
virtual bool operator!= (const BasePtr &rT) const
 Pointer not equal.
 
virtual bool operator!= (std::nullptr_t) const
 Pointer not equal.
 
virtual bool operator!= (int nMustBeNull) const
 Pointer not equal.
 
virtual bool operator!= (long nMustBeNull) const
 Pointer not equal.
 
virtual T * get () const
 get()
 

Protected Attributes

PointerData * m_pT
 Underlying raw pointer.
 

Friends

class CameraListImpl
 
class InterfaceListImpl
 

Detailed Description

template<class T, class B = T>
class Spinnaker::BasePtr< T, B >

The base class of the SystemPtr, CameraPtr, InterfacePtr, ImagePtr and LoggingEventDataPtr objects.

Constructor & Destructor Documentation

◆ BasePtr() [1/2]

template<class T , class B = T>
BasePtr ( void  )
throw (
)

Default constructor.

◆ ~BasePtr()

template<class T , class B = T>
virtual ~BasePtr ( void  )
virtual

◆ BasePtr() [2/2]

template<class T , class B = T>
BasePtr ( const BasePtr< T, B > &  other)
throw (
)

Copy constructor.

Member Function Documentation

◆ get()

template<class T , class B = T>
virtual T * get ( ) const
virtual

◆ IsValid()

template<class T , class B = T>
virtual bool IsValid ( ) const
throw (
)
virtual

True if the pointer is valid.

◆ operator bool()

template<class T , class B = T>
virtual operator bool ( void  ) const
throw (
)
virtual

True if the pointer is valid.

◆ operator T*()

template<class T , class B = T>
virtual operator T* ( void  ) const
virtual

Dereferencing.

◆ operator!=() [1/4]

template<class T , class B = T>
virtual bool operator!= ( const BasePtr< T, B > &  rT) const
virtual

Pointer not equal.

◆ operator!=() [2/4]

template<class T , class B = T>
virtual bool operator!= ( int  nMustBeNull) const
virtual

Pointer not equal.

◆ operator!=() [3/4]

template<class T , class B = T>
virtual bool operator!= ( long  nMustBeNull) const
virtual

Pointer not equal.

◆ operator!=() [4/4]

template<class T , class B = T>
virtual bool operator!= ( std::nullptr_t  ) const
virtual

Pointer not equal.

◆ operator->()

template<class T , class B = T>
virtual T * operator-> ( void  ) const
virtual

Dereferencing.

◆ operator=() [1/4]

template<class T , class B = T>
virtual BasePtr & operator= ( const BasePtr< T, B > &  rhs)
virtual

Assign INode Pointer.

◆ operator=() [2/4]

template<class T , class B = T>
virtual BasePtr & operator= ( const int  nMustBeNull)
virtual

◆ operator=() [3/4]

template<class T , class B = T>
virtual BasePtr & operator= ( const long  nMustBeNull)
virtual

◆ operator=() [4/4]

template<class T , class B = T>
virtual BasePtr & operator= ( const std::nullptr_t  nullPtr)
virtual

◆ operator==() [1/4]

template<class T , class B = T>
virtual bool operator== ( const BasePtr< T, B > &  rT) const
virtual

Pointer equal.

◆ operator==() [2/4]

template<class T , class B = T>
virtual bool operator== ( int  nMustBeNull) const
virtual

Pointer equal.

◆ operator==() [3/4]

template<class T , class B = T>
virtual bool operator== ( long  nMustBeNull) const
virtual

Pointer equal.

◆ operator==() [4/4]

template<class T , class B = T>
virtual bool operator== ( std::nullptr_t  ) const
virtual

Pointer equal.

Friends And Related Symbol Documentation

◆ CameraListImpl

template<class T , class B = T>
friend class CameraListImpl
friend

◆ InterfaceListImpl

template<class T , class B = T>
friend class InterfaceListImpl
friend

Member Data Documentation

◆ m_pT

template<class T , class B = T>
PointerData* m_pT
protected

Underlying raw pointer.


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