Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
The message_processor class is the abstract base class for processing of message objects. There is no guarantee on the ordering of the messages.
template<
class _Type
>
class message_processor;
Parameters
- _Type
The data type of the payload within messages handled by this message_processor object.
Members
Public Typedefs
Name |
Description |
|---|---|
type |
A type alias for _Type. |
Public Methods
Name |
Description |
|---|---|
When overridden in a derived class, places messages into the block asynchronously. |
|
When overridden in a derived class, places messages into the block synchronously. |
|
When overridden in a derived class, waits for all asynchronous operations to complete. |
Protected Methods
Name |
Description |
|---|---|
When overridden in a derived class, performs the forward processing of messages into the block. Called once every time a new message is added and the queue is found to be empty. |
Inheritance Hierarchy
message_processor
Requirements
Header: agents.h
Namespace: concurrency