OpenPit C++ SDK
C++17 SDK for the OpenPit pre-trade risk engine
Loading...
Searching...
No Matches
future.hpp File Reference

Classes

class  openpit::asyncengine::Error
 Async dispatch failure carried by a future or lifecycle API. More...
class  openpit::asyncengine::Future< T >
 Consumer side of an async operation returning one value. More...
class  openpit::asyncengine::PairFuture< A, B >
 Consumer side of an async operation returning two values. More...
class  openpit::asyncengine::PairPromise< A, B >
 Producer side for PairFuture<A, B>. More...
class  openpit::asyncengine::Promise< T >
 Producer side used by the dispatcher to resolve a Future<T>. More...
class  openpit::asyncengine::Result< T >
 Resolved payload of a future: either a value or an async error. More...

Namespaces

namespace  openpit
namespace  openpit::asyncengine

Typedefs

template<typename T>
using openpit::asyncengine::Payload

Enumerations

enum class  openpit::asyncengine::ErrorCode : std::uint8_t {
  openpit::asyncengine::Stopped , openpit::asyncengine::QueueLimit , openpit::asyncengine::MissingAccountId , openpit::asyncengine::SubmitCancelled ,
  openpit::asyncengine::TaskFailed
}