[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
The ISource class is the interface for all Source blocks. Source blocks have messages to pass to Target blocks.
template< class _Type > class ISource;
Name
Description
source_type
ISource::~ISource Destructor
Destroys the source.
ISource::accept Method
Accepts an offered message by the source, transferring ownership to the caller.
ISource::acquire_ref Method
Acquire a reference count to prevent deletion. This method is called by a target that is being linked to the source during link_target.
ISource::consume Method
Consumes a message previously offered by the source and reserved by the target, transferring ownership to the caller.
ISource::link_target Method
Links a target to the source.
ISource::release Method
Releases a previous message reservation.
ISource::release_ref Method
Release the reference count. This method is called by a target that is being unlinked. The source block is allowed to release any resource reserved for the target.
ISource::reserve Method
Reserves a message previously offered by the source.
ISource::unlink_target Method
Unlinks a target from the source, if found to be previously linked.
ISource::unlink_targets Method
Unlinks all targets of the source block.
ISource::_Invoke_link_source Method
Links this source to a target.
ISource::_Invoke_unlink_source Method
Unlinks this source from a target.
For more information, see Asynchronous Message Blocks.
Concurrency::ISource<_Type>
Header: agents.h