Skip to content

File NPVPlugin.h

File List > core > NPVPlugin.h

Go to the documentation of this file

#ifndef NPVPlugin_h
#define NPVPlugin_h
#include <string>
#include <vector>

namespace nptool {
  class VPlugin {
   public:
    VPlugin(){};
    ~VPlugin(){};

   public:
    // return true if this plugin is a service
    virtual bool IsService() { return false; };
    // return true if this plugin is a detector
    virtual bool IsDetector() { return false; };

   public:
    // Return the list of other plugin necessary for correct operation
    virtual std::vector<std::string> GetDependencies() = 0;
  };
} // namespace nptool
#endif