ledger-core
Public Member Functions | Friends | List of all members
ledger::core::EventBus Class Reference
+ Inheritance diagram for ledger::core::EventBus:
+ Collaboration diagram for ledger::core::EventBus:

Public Member Functions

void subscribe (const std::shared_ptr< api::ExecutionContext > &context, const std::shared_ptr< api::EventReceiver > &receiver) override
 
void unsubscribe (const std::shared_ptr< api::EventReceiver > &receiver) override
 
- Public Member Functions inherited from ledger::core::api::EventBus
virtual void subscribe (const std::shared_ptr< ExecutionContext > &context, const std::shared_ptr< EventReceiver > &receiver)=0
 
virtual void unsubscribe (const std::shared_ptr< EventReceiver > &receiver)=0
 
- Public Member Functions inherited from ledger::core::DedicatedContext
 DedicatedContext (const std::shared_ptr< api::ExecutionContext > &context)
 
template<typename T >
Future< T > async (std::function< T()> f)
 
template<typename T >
Future< T > async (std::function< T()> f) const
 
Future< Unitrun (std::function< void()> f)
 
std::shared_ptr< api::ExecutionContextgetContext () const
 

Friends

class EventPublisher
 

Additional Inherited Members

- Protected Attributes inherited from ledger::core::DedicatedContext
std::shared_ptr< api::ExecutionContext_executionContext
 

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