Logo Search packages:      
Sourcecode: condor version File versions  Download package

CollectorPlugin::CollectorPlugin (  ) 

The default constructor registers the plug-in with CollectorPluginManager::registerPlugin

All plugins should subclass CollectorPlugin and provide a statically initialized instance of itself, so that it will be registered when its object file is loaded

Definition at line 71 of file CollectorPlugin.cpp.

{
    if (PluginManager<CollectorPlugin>::registerPlugin(this)) {
            dprintf(D_ALWAYS, "Plugin registration succeeded\n");
      } else {
            dprintf(D_ALWAYS, "Plugin registration failed\n");
      }
}


Generated by  Doxygen 1.6.0   Back to index