maxon.DerivedAssetRepositoryDataInterface

Description

Object is the root of the interface hierarchy of the MAXON API.
As a C++ class, each virtual interface is directly derived from Object, but as an interface a virtual interface may have an arbitrary number of base interfaces, all of which have Object as direct or indirect base interface.
The interface hierarchy is reflected by the Ptr, ConstPtr and reference classes of the interfaces: They have conversion operators to all base interfaces, and they contain functions for all methods of the interface and its base interfaces.

Object provides some general inheritance-related functions such as GetClass() and IsInstanceOf(), data-related functions such as Clone() and CopyFrom(), and virtual methods such as ToString() which are required for each Object.

All Object instances are reference-counted.
Within the declaration of an interface you may choose the reference behaviour on invocation of a non-const method (normal, const, copy-on-write).

Inheritance diagram

Inheritance

Parent Class:

Child Class:

Methods Signature

HandleAssetErased(asset)

Gets called when an asset has been erased.

HandleAssetStored(asset)

Gets called when an asset has been stored.

HandleAssetUpdated(asset)

Gets called when an asset has been updated.

HandleBaseChanged(repo, base, added)

Gets called when the base of the asset repository has been changed.

HandleDownloadStateChanged(repository, finished)

HandleMetaDataStored(asset, metaId, kind, …)

Gets called when meta data has been stored.

Methods Definition

DerivedAssetRepositoryDataInterface.HandleAssetErased(asset)

Gets called when an asset has been erased.

Parameters

asset (maxon.AssetDescription) – The description of the erased asset version.

DerivedAssetRepositoryDataInterface.HandleAssetStored(asset)

Gets called when an asset has been stored.

Parameters

asset (maxon.AssetDescription) – The description of the new asset version.

DerivedAssetRepositoryDataInterface.HandleAssetUpdated(asset)

Gets called when an asset has been updated.

Parameters

asset (maxon.Asset) – The updated asset.

DerivedAssetRepositoryDataInterface.HandleBaseChanged(repo, base, added)

Gets called when the base of the asset repository has been changed.

Parameters
DerivedAssetRepositoryDataInterface.HandleDownloadStateChanged(repository, finished)
DerivedAssetRepositoryDataInterface.HandleMetaDataStored(asset, metaId, kind, prevData, newData)

Gets called when meta data has been stored.

Parameters