zeus::Future< ZEUS_RETURN > Class Template Reference
#include <Future.hpp>
Inheritance diagram for zeus::Future< ZEUS_RETURN >:
Public Member Functions | |
Future (const zeus::FutureBase &_base) | |
zeus::Future< ZEUS_RETURN > & | operator= (const zeus::FutureBase &_base) |
ZEUS_RETURN | get () |
Public Member Functions inherited from zeus::FutureBase | |
FutureBase (const zeus::FutureBase &_base) | |
FutureBase () | |
FutureBase (uint32_t _transactionId, zeus::FutureData::ObserverFinish _callback=nullptr, uint32_t _clientId=0) | |
FutureBase (uint32_t _transactionId, ememory::SharedPtr< zeus::Buffer > _returnData, zeus::FutureData::ObserverFinish _callback=nullptr, uint32_t _clientId=0) | |
zeus::FutureBase | operator= (const zeus::FutureBase &_base) |
bool | appendData (ememory::SharedPtr< zeus::Buffer > _returnValue) |
void | setSynchronous () |
uint32_t | getTransactionId () const |
uint32_t | getClientId () const |
bool | hasError () const |
std::string | getErrorType () const |
std::string | getErrorHelp () const |
bool | isValid () const |
bool | isFinished () const |
const FutureBase & | wait () const |
const FutureBase & | waitFor (std::chrono::microseconds _delta=std::chrono::seconds(30)) const |
const FutureBase & | waitUntil (std::chrono::steady_clock::time_point _endTime) const |
ememory::SharedPtr< zeus::Buffer > | getRaw () |
std::chrono::nanoseconds | getTransmitionTime () const |
Additional Inherited Members | |
Public Attributes inherited from zeus::FutureBase | |
ememory::SharedPtr< zeus::FutureData > | m_data |
Detailed Description
template<class ZEUS_RETURN>
class zeus::Future< ZEUS_RETURN >
future template to cast type in a specific type
Constructor & Destructor Documentation
§ Future()
template<class ZEUS_RETURN >
|
inline |
contructor of the Future with the basic FutureBase
- Parameters
-
[in] _base Generic base Future
Member Function Documentation
§ get()
template<class ZEUS_RETURN >
ZEUS_RETURN zeus::Future< ZEUS_RETURN >::get | ( | ) |
Get the value Requested with the type.
- Returns
- requested value
§ operator=()
template<class ZEUS_RETURN >
|
inline |
Asignement operator with an other future.
- Parameters
-
[in] _base Generic base Future
- Returns
- the reference on the local element
The documentation for this class was generated from the following file:
- framework/atria-soft/zeus/zeus/Future.hpp