libqi-api
2.0.6.8
|
#include <future.hpp>
Public Types | |
enum | ExceptionState { ExceptionState_FutureTimeout, ExceptionState_FutureCanceled, ExceptionState_FutureNotCancelable, ExceptionState_FutureHasNoError, ExceptionState_FutureUserError, ExceptionState_PromiseAlreadySet } |
Public Member Functions | |
FutureException (const ExceptionState &es, const std::string &str=std::string()) | |
ExceptionState | state () const |
std::string | stateToString (const ExceptionState &es) |
virtual | ~FutureException () throw () |
base exception raised for all future error.
Definition at line 81 of file future.hpp.
ExceptionState_FutureTimeout | |
ExceptionState_FutureCanceled | |
ExceptionState_FutureNotCancelable | |
ExceptionState_FutureHasNoError | |
ExceptionState_FutureUserError | |
ExceptionState_PromiseAlreadySet |
Definition at line 83 of file future.hpp.
qi::FutureException::FutureException | ( | const ExceptionState & | es, |
const std::string & | str = std::string() |
||
) | [inline, explicit] |
Definition at line 98 of file future.hpp.
virtual qi::FutureException::~FutureException | ( | ) | throw () [inline, virtual] |
Definition at line 107 of file future.hpp.
ExceptionState qi::FutureException::state | ( | ) | const [inline] |
Definition at line 103 of file future.hpp.
std::string qi::FutureException::stateToString | ( | const ExceptionState & | es | ) |