2#ifndef UTILITY_REGISTRY_H 
    3#define UTILITY_REGISTRY_H 
   18    using PLUGIN_MAP = std::map<std::string, KI_TEST::UTILITY_PROGRAM>;
 
   33        if( map.find( aProgInfo.
m_name ) == map.end() )
 
   35            map[aProgInfo.
m_name] = aProgInfo;
 
 
 
A class to handle the registration of utility programs.
 
std::map< std::string, KI_TEST::UTILITY_PROGRAM > PLUGIN_MAP
 
static bool Register(const KI_TEST::UTILITY_PROGRAM &aProgInfo)
Register a utility program factory function against an ID string.
 
static PLUGIN_MAP & GetInfoMap()
Accessor for the static registry map.
 
Description of a "utility program", which is a program that takes some command line and does "somethi...
 
std::string m_name
The name of the program (this is used to select one)