// Declaration of the interface ID ( interface id, major version, minor version)
static const InterfaceID IID_IExampleTool("IExampleTool", 1 , 0);
The convention is to name the identifier variable as:
IID_NameOfInterfaceClass
Each Interface is assigned its own unique ID. Gaudi has already defined IDs for each of its own interfaces. You do not want to re-use an existing ID.
Add a public method to the Interface class:
static const InterfaceID& interfaceID() { return IID_IExampleTool; }