Kanzi  3.9.9
Kanzi Engine C++ API
kanzi::Module Class Reference

Module is a class representing a functional module with its own metadata about the types it contains. More...

#include <kanzi/core/module/module.hpp>

Inheritance diagram for kanzi::Module:
[legend]

Public Types

typedef vector< const Metaclass * > MetaclassContainer
 
typedef MetaclassContainer::iterator MetaclassIterator
 

Public Member Functions

virtual void destroy ()
 
virtual MetaclassContainer getMetaclassesOverride ()
 
 Module ()
 
virtual void registerDebugRenderingFunctions (DebugRenderRegistry &)
 Registers the debug rendering functions of the module. More...
 
virtual void registerMetadataOverride (ObjectFactory &)
 Registers the rest of the module metadata, such as loaders for types in the module. More...
 
void setDomain (Domain *domain)
 Sets the domain. More...
 

Protected Member Functions

virtual ~Module ()=default
 Destructor. More...
 

Protected Attributes

Domainm_domain
 The domain this module is registered to. More...
 

Detailed Description

Module is a class representing a functional module with its own metadata about the types it contains.

Member Typedef Documentation

typedef MetaclassContainer::iterator kanzi::Module::MetaclassIterator

Constructor & Destructor Documentation

kanzi::Module::Module ( )
inlineexplicit
virtual kanzi::Module::~Module ( )
protectedvirtualdefault

Destructor.

Member Function Documentation

virtual MetaclassContainer kanzi::Module::getMetaclassesOverride ( )
inlinevirtual
virtual void kanzi::Module::destroy ( )
inlinevirtual
virtual void kanzi::Module::registerMetadataOverride ( ObjectFactory )
inlinevirtual

Registers the rest of the module metadata, such as loaders for types in the module.

When registering a module, a domain calls this function.

Reimplemented in kanzi::ExampleApplication, kanzi::interop::ModuleBase, and kanzi::JvmModule.

virtual void kanzi::Module::registerDebugRenderingFunctions ( DebugRenderRegistry )
inlinevirtual

Registers the debug rendering functions of the module.

When registering a module, a domain calls this function.

See also
DebugRenderRegistry::addMapping
void kanzi::Module::setDomain ( Domain domain)
inline

Sets the domain.

When registering a module, a domain calls this function.

Member Data Documentation

Domain* kanzi::Module::m_domain
protected

The domain this module is registered to.


The documentation for this class was generated from the following file: