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>
|
| | scheduler_ptr (std::shared_ptr< scheduler_interface > scheduler) |
| | Creates a scheduler pointer from shared_ptr to scheduler More...
|
| |
| | scheduler_ptr (_In_opt_ scheduler_interface *pScheduler) |
| | Creates a scheduler pointer from raw pointer to scheduler More...
|
| |
| scheduler_interface * | operator-> () const |
| | Behave like a pointer More...
|
| |
| scheduler_interface * | get () const |
| | Returns the raw pointer to the scheduler More...
|
| |
| | operator bool () const |
| | Test whether the scheduler pointer is non-null More...
|
| |
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.
| 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
| 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: