Spinnaker SDK C++
4.2.0.21
 
 

 
Loading...
Searching...
No Matches
InterfacePtr Class Reference

A reference tracked pointer to the interface object. More...

#include <InterfacePtr.h>

Inheritance diagram for InterfacePtr:
BasePtr< IInterface >

Public Member Functions

 InterfacePtr () throw ()
 Default Constructor.
 
 InterfacePtr (const int) throw ()
 Default Constructor with argument.
 
 InterfacePtr (const long) throw ()
 
 InterfacePtr (const std::nullptr_t) throw ()
 
- Public Member Functions inherited from BasePtr< IInterface >
 BasePtr (void) throw ()
 Default constructor.
 
 BasePtr (const BasePtr &other) throw ()
 Copy constructor.
 
virtual ~BasePtr (void)
 
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 IInterface * (void) const
 Dereferencing.
 
virtual IInterfaceoperator-> (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 IInterfaceget () const
 get()
 

Additional Inherited Members

- Protected Attributes inherited from BasePtr< IInterface >
PointerData * m_pT
 Underlying raw pointer.
 

Detailed Description

A reference tracked pointer to the interface object.

Examples
NodeMapInfo_QuickSpin.cpp.

Constructor & Destructor Documentation

◆ InterfacePtr() [1/4]

InterfacePtr ( )
throw (
)
inline

Default Constructor.

◆ InterfacePtr() [2/4]

InterfacePtr ( const int  )
throw (
)
inline

Default Constructor with argument.

◆ InterfacePtr() [3/4]

InterfacePtr ( const long  )
throw (
)
inline

◆ InterfacePtr() [4/4]

InterfacePtr ( const std::nullptr_t  )
throw (
)
inline

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