Compartir a través de


network_link_registry Class

The network_link_registry abstract base class manages the links between source and target blocks.

template<
   class _Block
>
class network_link_registry;

Parameters

  • _Block
    The block data type being stored in the network_link_registry.

Members

Public Typedefs

Name

Description

const_pointer

A type that provides a pointer to a const element in a network_link_registry object.

const_reference

A type that provides a reference to a const element stored in a network_link_registry object for reading and performing const operations.

iterator

A type that provides an iterator that can read or modify any element in a network_link_registry object.

type

A type that represents the block type stored in the network_link_registry object.

Public Methods

Name

Description

network_link_registry::add Method

When overridden in a derived class, adds a link to the network_link_registry object.

network_link_registry::begin Method

When overridden in a derived class, returns an iterator to the first element in the network_link_registry object.

network_link_registry::contains Method

When overridden in a derived class, searches the network_link_registry object for a specified block.

network_link_registry::count Method

When overridden in a derived class, returns the number of items in the network_link_registry object.

network_link_registry::remove Method

When overridden in a derived class, removes a specified block from the network_link_registry object.

Remarks

The network link registry is not safe for concurrent access.

Inheritance Hierarchy

network_link_registry

Requirements

Header: agents.h

Namespace: concurrency

See Also

Reference

concurrency Namespace

single_link_registry Class

multi_link_registry Class