Instantiate a processor given its Tag. More...
#include <keyvalue/mngt/ProcessorInstantiator.h>
Static Public Member Functions | |
static Processor & | getInstance () |
Gets the unique instance of the Processor assigned to Tag. |
Instantiate a processor given its Tag.
To each Processor there should be assigned a Tag which is a type that uniquely identifies the Builder or Calculator. Certain parts of KeyValue assume that a Tag is a (declared but no defined) class
member of namespace
tag. Additionally, Builders can also be instantiated from the type of object they build.