21 return &singleInstance_;
24 std::unique_ptr<Presence>
29 if(sp.get()==
nullptr) {
31 <<
"Presence Factory:\n" 32 <<
"Cannot find presence type: " 33 << presence_type <<
"\n" 34 <<
"Perhaps the name is misspelled or is not a Plugin?\n" 35 <<
"Try running EdmPluginDump to obtain a list of available Plugins.";
38 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)