rili::service::Compute Class Referencefinal
Inheritance diagram for rili::service::Compute:
[legend]
Collaboration diagram for rili::service::Compute:
[legend]

Static Public Member Functions

static Computeget () noexcept
 

Additional Inherited Members

- Public Types inherited from rili::service::ComputeBase
typedef std::exception_ptr FailureType
 
- Public Member Functions inherited from rili::service::ComputeBase
template<typename PromisedType >
rili::Promise< PromisedType > schedule (typename rili::Promise< PromisedType >::ComplexInitializer const &initializer) noexcept
 
template<typename PromisedType >
rili::Promise< PromisedType > schedule (typename rili::Promise< PromisedType >::BasicInitializer const &initializer) noexcept
 
rili::Promise< void > schedule (typename rili::Promise< void >::BasicInitializer const &initializer) noexcept
 
rili::Promise< void > schedule (typename rili::Promise< void >::ComplexInitializer const &initializer) noexcept
 

Member Function Documentation

static Compute& rili::service::Compute::get ( )
staticnoexcept

Get or create rili::service::Compute instance.

New rili::service::Compute is created if was not created earlier. If rili::service::Compute was created previously return existing instance.

Remarks
This function is thread safe.
This function is not blocking.
Returns
Instance of rili::service::Compute

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