CoreComponents 3.0.0
A Modern C++ Toolkit
Loading...
Searching...
No Matches
HttpServiceInstance::State Struct Referenceabstract

Internal state More...

#include <HttpServiceInstance>

Inheritance diagram for HttpServiceInstance::State:

Public Member Functions

 State (const MetaObject &config)
 Initialize this instance with given config.
 
virtual HttpServiceDelegate createDelegate () const =0
 Create a HTTP service delegate.
 
const HttpLoggingServiceInstanceerrorLoggingInstance () const
 
const HttpLoggingServiceInstanceaccessLoggingInstance () const
 
- Public Member Functions inherited from Object::State
 State ()=default
 Default constructor.
 
 State (const State &)
 Copy constructor.
 
virtual ~State ()
 Virtual destructor.
 
long useCount () const
 Reference count.
 
const Stateoperator= (const State &) const
 
template<class T >
bool is () const
 Check if this state is of type T.
 
template<class T >
T & as ()
 Statically cast this state to a different type T.
 
template<class T >
const T & as () const
 Statically cast this state to a different type T.
 

Detailed Description

Internal state

Constructor & Destructor Documentation

◆ State()

State ( const MetaObject & config)
explicit

Initialize this instance with given config.

Member Function Documentation

◆ createDelegate()

virtual HttpServiceDelegate createDelegate ( ) const
pure virtual

Create a HTTP service delegate.