DescriptionProcessorInterface Class Reference

#include <descriptionprocessor.h>

Inheritance diagram for DescriptionProcessorInterface:

Detailed Description

A DescriptionProcessor processes a resource description, usually in order to derive some object from that description and register it at a registry. The processor to use for a description is directly set in the description (DESCRIPTION::DATA::INFO::PROCESSOR).

Public Member Functions

MAXON_METHOD Result< GenericDataProcess (const Id &descriptionId, const DataDescription &dataDescription) const
 
MAXON_METHOD Result< GenericDataProcessEx (const Id &descriptionId, const DataDescriptionDefinition &dataDescriptionDef, const DataDescription &dataDescription) const
 

Private Member Functions

 MAXON_INTERFACE (DescriptionProcessorInterface, MAXON_REFERENCE_CONST, "net.maxon.interface.descriptionprocessor")
 

Member Function Documentation

◆ MAXON_INTERFACE()

MAXON_INTERFACE ( DescriptionProcessorInterface  ,
MAXON_REFERENCE_CONST  ,
"net.maxon.interface.descriptionprocessor"   
)
private

◆ Process()

MAXON_METHOD Result<GenericData> Process ( const Id descriptionId,
const DataDescription &  dataDescription 
) const

Processes a description for which this processor is set.

Parameters
[in]descriptionIdThe description identifier.
[in]dataDescriptionThe description.
Returns
Some object whose destructor will be called when the description database is unregistered.

◆ ProcessEx()

MAXON_METHOD Result<GenericData> ProcessEx ( const Id descriptionId,
const DataDescriptionDefinition &  dataDescriptionDef,
const DataDescription &  dataDescription 
) const

Processes a description for which this processor is set.

Parameters
[in]descriptionIdThe description identifier.
[in]dataDescriptionDefThe description definition.
[in]dataDescriptionThe description.
Returns
Some object whose destructor will be called when the description database is unregistered.