omni::core::Inherits

Defined in omni/core/IObject.h

template<typename BASE, TypeId TYPEID>
class Inherits : public BASE

Helper template for interface inheritance.

Using this template defines compile time information used by omni::core::Implements.

Expected usage:

class IMyInterface : public omni::core::Inherits<omni::core::IObject, OMNI_TYPE_ID("IMyInterface")
{ /* ... */ };