#include <descriptionprocessor.h>
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< GenericData > | Process (const Id &descriptionId, const DataDescription &dataDescription) const |
MAXON_METHOD Result< GenericData > | ProcessEx (const Id &descriptionId, const DataDescriptionDefinition &dataDescriptionDef, const DataDescription &dataDescription) const |
Private Member Functions | |
MAXON_INTERFACE (DescriptionProcessorInterface, MAXON_REFERENCE_CONST, "net.maxon.interface.descriptionprocessor") | |
|
private |
MAXON_METHOD Result<GenericData> Process | ( | const Id & | descriptionId, |
const DataDescription & | dataDescription | ||
) | const |
Processes a description for which this processor is set.
[in] | descriptionId | The description identifier. |
[in] | dataDescription | The description. |
MAXON_METHOD Result<GenericData> ProcessEx | ( | const Id & | descriptionId, |
const DataDescriptionDefinition & | dataDescriptionDef, | ||
const DataDescription & | dataDescription | ||
) | const |
Processes a description for which this processor is set.
[in] | descriptionId | The description identifier. |
[in] | dataDescriptionDef | The description definition. |
[in] | dataDescription | The description. |