Skip to content

Rose::Registry

A global registry used in conjunction with static constructors to make pluggable components (like targets or garbage collectors) "just work" when linked with an executable.

Synopsis

Declared in <src/midend/astProcessing/plugin.h>

template<
    typename T,
    typename U = RegistryTraits<T>>
class Registry;

Types

Name

Description

Add

2. The registry entry type has a constructor compatible with this signature:

iterator

Iterators for registry entries.

listener

Abstract base class for registry listeners, which are informed when new entries are added to the registry. Simply subclass and instantiate:

node

Node in linked list of entries.

entry

traits

Static Member Functions

Private Member Functions

Name

Description

Registry [constructor]

Default constructor

Private Static Member Functions

Name

Announce

Private Static Data Members

Friends

Name

Description

Rose::Registry::listener

Abstract base class for registry listeners, which are informed when new entries are added to the registry. Simply subclass and instantiate:

Rose::Registry::node

Node in linked list of entries.

Created with MrDocs