C++ Rest SDK
The C++ REST SDK is a Microsoft project for cloud-based client-server communication in native code using a modern asynchronous C++ API design. This project aims to help C++ developers connect to and interact with services.
Public Member Functions | List of all members
pplx::scheduler_ptr Struct Reference

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

 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...
 

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

Behave like a pointer


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