#include <modules.h>
Public Member Functions | |
Iface * | clone (CloneMethod method=DeepCopy) const |
Works like abstractClone(), but is public and returns the correct type. | |
Static Public Member Functions | |
static const std::vector< int > & | getCompMods () |
Returns a reference to compMods_ (initializes it if empty). | |
static const Iface & | compatiblePrototype (int index=0) |
Returns a reference to the index-th prototype implementing this interface. | |
static Iface * | newCompatibleModule (int index=0) |
Creates a new instance of the index-th compatible module (deep copy of the prototype). | |
Static Private Attributes | |
static std::vector< int > | compMods_ |
IDs of modules derived from this interface. |
Definition at line 301 of file modules.h.