Export (0) Print
Expand All

multi_link_registry Class

The multi_link_registry object is a network_link_registry that manages multiple source blocks or multiple target blocks.

template<
   class _Block
>
class multi_link_registry : public network_link_registry<_Block>;

_Block

The block data type being stored in the multi_link_registry object.

Public Constructors

Name

Description

multi_link_registry::multi_link_registry Constructor

Constructs a multi_link_registry object.

multi_link_registry::~multi_link_registry Destructor

Destroys the multi_link_registry object.

Public Methods

Name

Description

multi_link_registry::add Method

Adds a link to the multi_link_registry object. (Overrides network_link_registry::add.)

multi_link_registry::begin Method

Returns an iterator to the first element in the multi_link_registry object. (Overrides network_link_registry::begin.)

multi_link_registry::contains Method

Searches the multi_link_registry object for a specified block. (Overrides network_link_registry::contains.)

multi_link_registry::count Method

Counts the number of items in the multi_link_registry object. (Overrides network_link_registry::count.)

multi_link_registry::remove Method

Removes a link from the multi_link_registry object. (Overrides network_link_registry::remove.)

multi_link_registry::set_bound Method

Sets an upper bound on the number of links that the multi_link_registry object can hold.

Header: agents.h

Namespace: Concurrency

Community Additions

ADD
Show:
© 2014 Microsoft