Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Secure .gov websites use HTTPS
A lock ( ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

Isis Developer Reference
restincurl::Worker Class Reference

#include <restincurl.h>

Collaboration diagram for restincurl::Worker:
Collaboration graph

Public Member Functions

 Worker ()=default
 
 ~Worker ()
 
void PrepareThread ()
 
void Enqueue (Request::ptr_t req)
 
void Join () const
 
void CloseWhenFinished ()
 
void Close ()
 
bool IsDone () const
 
bool HaveThread () const noexcept
 
size_t GetNumActiveRequests () const
 

Static Public Member Functions

static std::unique_ptr< WorkerCreate ()
 

Constructor & Destructor Documentation

◆ Worker()

restincurl::Worker::Worker ( )
default

◆ ~Worker()

restincurl::Worker::~Worker ( )
inline

References Close(), and Join().

Member Function Documentation

◆ Close()

void restincurl::Worker::Close ( )
inline

Referenced by ~Worker().

◆ CloseWhenFinished()

void restincurl::Worker::CloseWhenFinished ( )
inline

◆ Create()

static std::unique_ptr< Worker > restincurl::Worker::Create ( )
inlinestatic

◆ Enqueue()

void restincurl::Worker::Enqueue ( Request::ptr_t req)
inline

◆ GetNumActiveRequests()

size_t restincurl::Worker::GetNumActiveRequests ( ) const
inline

◆ HaveThread()

bool restincurl::Worker::HaveThread ( ) const
inlinenoexcept

◆ IsDone()

bool restincurl::Worker::IsDone ( ) const
inline

◆ Join()

void restincurl::Worker::Join ( ) const
inline

Referenced by ~Worker().

◆ PrepareThread()

void restincurl::Worker::PrepareThread ( )
inline

References RESTINCURL_LOG.

Referenced by Enqueue().


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