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