ActiveLib
Loading...
Searching...
No Matches
Public Member Functions | List of all members
active::event::PostBox Class Reference

#include <PostBox.h>

Inheritance diagram for active::event::PostBox:
Inheritance graph
[legend]
Collaboration diagram for active::event::PostBox:
Collaboration graph
[legend]

Public Member Functions

virtual ~PostBox ()=default
 
virtual void receive (Message &&message)
 
- Public Member Functions inherited from active::container::List< Message >
 List ()
 
 List (const std::initializer_list< Derived > &items)
 
 List (const List &source)
 
 List (List &&source)
 
virtual ~List ()=default
 
auto operator= (const List &source)
 
auto operator= (List &&source)
 
void push_back (Message *item)
 
void push_back (Message &item)
 
void emplace_back (Message &&item)
 
void emplace_back (const Message &item)
 
void emplace_back (value_t &&item)
 
void emplace_back (value_t &item)
 
void push_front (Message *item)
 
void emplace_front (Message &&item)
 
void emplace_front (value_t &&item)
 
auto release (iterator &pos)
 

Additional Inherited Members

- Public Types inherited from active::container::List< Message >
using value_t
 Stored type.
 
using base
 Base container type.
 
using size_type
 Container size (index) type.
 
using iterator
 Container iterator type.
 
using const_iterator
 Container const iterator type.
 

Detailed Description

Base class to receive messages from event subscribers to the published event author

This is essentially an interface that makes no assumptions about the message content etc. and should be implemented as required

Constructor & Destructor Documentation

◆ ~PostBox()

virtual active::event::PostBox::~PostBox ( )
virtualdefault

Destructor

Member Function Documentation

◆ receive()

virtual void active::event::PostBox::receive ( Message && message)
inlinevirtual

Receive a message from an event subscriber for the published event author

Parameters
messageThe message incoming message
Here is the call graph for this function:
Here is the caller graph for this function:

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