18 return &singleInstance_;
24 if (sp.get() ==
nullptr) {
26 <<
"Presence Factory:\n" 27 <<
"Cannot find presence type: " << presence_type <<
"\n" 28 <<
"Perhaps the name is misspelled or is not a Plugin?\n" 29 <<
"Try running EdmPluginDump to obtain a list of available Plugins.";
32 FDEBUG(1) <<
"PresenceFactory: created presence " << presence_type << std::endl;
#define EDM_REGISTER_PLUGINFACTORY(_factory_, _category_)
def create(alignables, pedeDump, additionalData, outputFile, config)
static PresenceFactory * get()
std::unique_ptr< Presence > makePresence(std::string const &presence_type) const
T get(const Candidate &c)