Spinnaker C++
2.6.0.0
Public Member Functions | Protected Attributes | List of all members
BasePtr< T, B > Class Template Reference

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

Public Member Functions

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

Protected Attributes

PointerData * m_pT
 Underlying raw pointer. More...
 

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 ( void  )
throw (
)

Default constructor.

virtual ~BasePtr ( void  )
virtual
BasePtr ( const BasePtr< T, B > &  other)
throw (
)

Copy constructor.

Member Function Documentation

virtual T* get ( ) const
virtual
virtual bool IsValid ( ) const
throw (
)
virtual

True if the pointer is valid.

virtual operator bool ( void  ) const
throw (
)
virtual

True if the pointer is valid.

virtual operator T * ( void  ) const
virtual

Dereferencing.

virtual T* operator-> ( void  ) const
virtual

Dereferencing.

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

Assign INode Pointer.

virtual BasePtr& operator= ( const int  nMustBeNull)
virtual
virtual BasePtr& operator= ( const long  nMustBeNull)
virtual
virtual BasePtr& operator= ( const std::nullptr_t  nullPtr)
virtual
virtual bool operator== ( const BasePtr< T, B > &  rT) const
virtual

Pointer equal.

virtual bool operator== ( std::nullptr_t  ) const
virtual

Pointer equal.

virtual bool operator== ( int  nMustBeNull) const
virtual

Pointer equal.

virtual bool operator== ( long  nMustBeNull) const
virtual

Pointer equal.

Member Data Documentation

PointerData* m_pT
protected

Underlying raw pointer.


The documentation for this class was generated from the following file:
Contact Support Spinnaker® SDK Programmer's Guide and API Reference