CoreComponents 3.0.0
A Modern C++ Toolkit
|
Internal state More...
#include <HttpServiceInstance>
Public Member Functions | |
State (const MetaObject &config) | |
Initialize this instance with given config. | |
virtual HttpServiceDelegate | createDelegate () const =0 |
Create a HTTP service delegate. | |
const HttpLoggingServiceInstance & | errorLoggingInstance () const |
const HttpLoggingServiceInstance & | accessLoggingInstance () const |
![]() | |
State ()=default | |
Default constructor. | |
State (const State &) | |
Copy constructor. | |
virtual | ~State () |
Virtual destructor. | |
long | useCount () const |
Reference count. | |
const State & | operator= (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. | |
Internal state
|
explicit |
Initialize this instance with given config.
|
pure virtual |
Create a HTTP service delegate.