Synopsis Types Type Aliases Static Member Functions Private Member Functions Private Static Member Functions Private Static Data Members Friends
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.
Type Aliases Static Member Functions Name beginstatic iterator begin(); endstatic iterator end(); entriesstatic iterator_range<iterator> entries();
Private Member Functions Name Description RegistryRegistry(); [constructor] Default constructor
Private Static Member Functions Name Announcestatic void Announce(entry const& E);
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