Otawa
0.10
|
Class dedicated to the registering of the processors. More...
#include <otawa/proc/Registry.h>
Classes | |
class | Iter |
Public Member Functions | |
void | record (AbstractRegistration *object) |
void | startup (void) |
Static Public Member Functions | |
static const AbstractRegistration * | find (CString name) |
Look for a processor matching the given name. More... | |
Private Types | |
typedef genstruct::HashTable < String, const AbstractRegistration * > | htab_t |
Private Member Functions | |
Registry (void) | |
To ensure that no other registry is built. More... | |
Private Attributes | |
htab_t | procs |
Static Private Attributes | |
static Registry | _ |
Default registry. More... | |
Friends | |
class | AbstractRegistration |
Class dedicated to the registering of the processors.
A registration contains:
The registration may be used to write processor scripts or for GUI to provide list of processors to the user.
|
private |
|
private |
To ensure that no other registry is built.
References elm::Initializer< AbstractRegistration >::startup().
|
static |
Look for a processor matching the given name.
name | Name of the processor to look for. |
References _, elm::genstruct::HashTable< K, T, H >::get(), and procs.
Referenced by otawa::ProcessorPlugin::getProcessor().
|
inherited |
|
inherited |
Referenced by Registry().
|
friend |
|
staticprivate |
Default registry.
Referenced by find(), otawa::AbstractRegistration::initialize(), and otawa::AbstractRegistration::record().
|
private |
Referenced by find(), and otawa::AbstractRegistration::initialize().