zeus::Future< void > Class Template Reference

#include <Future.hpp>

Inheritance diagram for zeus::Future< void >:
zeus::FutureBase

Public Member Functions

 Future (const zeus::FutureBase &_base)
 
zeus::Future< void > & operator= (const zeus::FutureBase &_base)
 
- 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 FutureBasewait () const
 
const FutureBasewaitFor (std::chrono::microseconds _delta=std::chrono::seconds(30)) const
 
const FutureBasewaitUntil (std::chrono::steady_clock::time_point _endTime) const
 
ememory::SharedPtr< zeus::BuffergetRaw ()
 
std::chrono::nanoseconds getTransmitionTime () const
 

Additional Inherited Members

- Public Attributes inherited from zeus::FutureBase
ememory::SharedPtr< zeus::FutureDatam_data
 

Detailed Description

template<>
class zeus::Future< void >

future template to cast type in a void methode (fallback)

Constructor & Destructor Documentation

§ Future()

zeus::Future< void >::Future ( const zeus::FutureBase _base)
inline

contructor of the Future with the basic FutureBase

Parameters
[in]_baseGeneric base Future

Member Function Documentation

§ operator=()

zeus::Future<void>& zeus::Future< void >::operator= ( const zeus::FutureBase _base)
inline

Asignement operator with an other future.

Parameters
[in]_baseGeneric base Future
Returns
the reference on the local element

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