27 #include "WModuleFactory.h"
29 #include "WPrototypeRequirement.h"
33 m_prototype( prototype )
49 return ( proto->checkRequirements() == NULL );
56 return "Module depends upon the module \"" +
m_prototype +
"\".";
static SPtr getModuleFactory()
Returns instance of the module factory to use to create modules.
std::shared_ptr< WModule > SPtr
Shared pointer to a WModule.
virtual std::string getDescription() const
Return a nice description of the requirement.
WPrototypeRequirement(std::string prototype)
Create instance.
std::string m_prototype
The required prototype.
virtual ~WPrototypeRequirement()
Destructor.
virtual bool isComplied() const
Checks if the requirement is fulfilled on the system.
Base class for all possible kinds of requirements.