boost::openmethod::registry

A collection of methods and their associated dispatch data.

Synopsis

template<class... Policies>
class registry;

Static Member Functions

Name

Description

initialize

Initializes the registry.

check_initialized

Checks if the registry is initialized.

finalize

Releases the resources held by the registry.

Static Data Members

Derived Classes

Name

Description

release_registry

Description

Methods exist in a registry, which also contains descriptions for all the classes that can appear in the methods, their overriders, and method calls.

Before calling a method, the initialize function must be called for its registry to set up the dispatch tables. This is typically done at the beginning of main.

Multiple registries can co‐exist in the same program. They must be initialized independently. Classes referenced by methods in different registries must be registered with each registry individually.

A registry contains a list of policies, which can be used to customize certain important aspects of the library.

See Also

Created with MrDocs