BundleResourceGroup

The BundleResourceGroup contains resources specifically of chunk type.

See Resource Group File Format file specification for more details.

class BundleResourceGroup : public CarbonResources::ResourceGroup

Contains a collection of Chunk Resources.

Public Functions

Result Unpack(const BundleUnpackParams &params)

Unpacks the Resoruces from the BundleResourceGroup.

See also

ResourceGroup::CreateBundle for information regarding bundle creation.

Parameters:

params – input parameters, See BundleUnpackParams for more details.

Returns:

Result see CarbonResources::Result for more details.

class BundleResourceGroupImpl : public CarbonResources::ResourceGroup::ResourceGroupImpl

Input Parameters

struct BundleUnpackParams

Function Parameters required for CarbonResources::BundleResourceGroup::Unpack.

Public Members

ResourceSourceSettings chunkSourceSettings

Location where chunks can be sourced.

ResourceDestinationSettings resourceDestinationSettings

Location where the unpacked resources should be saved.

StatusCallback statusCallback = nullptr

Optional status function callback. Callback is triggered at key status update events.