Represents a pointer to a scheduler. This class exists to allow the the specification of a shared lifetime by using shared_ptr or just a plain reference by using raw pointer.
More...
#include <pplxinterface.h>
Public Member Functions
Creates a scheduler pointer from shared_ptr to scheduler
More...
Creates a scheduler pointer from raw pointer to scheduler
More...
scheduler_interface *
get () const
Returns the raw pointer to the scheduler
More...
Test whether the scheduler pointer is non-null
More...
Detailed Description
Represents a pointer to a scheduler. This class exists to allow the the specification of a shared lifetime by using shared_ptr or just a plain reference by using raw pointer.
Constructor & Destructor Documentation
pplx::scheduler_ptr::scheduler_ptr
(
std::shared_ptr< scheduler_interface >
scheduler )
inlineexplicit
Creates a scheduler pointer from shared_ptr to scheduler
pplx::scheduler_ptr::scheduler_ptr
(
_In_opt_ scheduler_interface *
pScheduler )
inlineexplicit
Creates a scheduler pointer from raw pointer to scheduler
Member Function Documentation
scheduler_interface* pplx::scheduler_ptr::get
(
)
const
inline
Returns the raw pointer to the scheduler
pplx::scheduler_ptr::operator bool
(
)
const
inline
Test whether the scheduler pointer is non-null
scheduler_interface* pplx::scheduler_ptr::operator->
(
)
const
inline
The documentation for this struct was generated from the following file: