Udostępnij za pośrednictwem


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>;

Parameters

  • _Block
    The block data type being stored in the multi_link_registry object.

Members

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.

Inheritance Hierarchy

network_link_registry

multi_link_registry

Requirements

Header: agents.h

Namespace: Concurrency

See Also

Reference

Concurrency Namespace

single_link_registry Class