OpenSim
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
OpenSim.Region.CoreModules.World.Archiver.AssetsArchiver Class Reference

Archives assets More...

Collaboration diagram for OpenSim.Region.CoreModules.World.Archiver.AssetsArchiver:
Collaboration graph
[legend]

Public Member Functions

 AssetsArchiver (TarArchiveWriter archiveWriter)
 
void WriteAsset (AssetBase asset)
 Archive the assets given to this archiver to the given archive. More...
 

Protected Member Functions

void WriteData (AssetBase asset)
 Write an assets metadata file to the given archive More...
 

Protected Attributes

int m_assetsWritten
 
TarArchiveWriter m_archiveWriter
 

Static Protected Attributes

static int LOG_ASSET_LOAD_NOTIFICATION_INTERVAL = 50
 

Detailed Description

Archives assets

Definition at line 42 of file AssetsArchiver.cs.

Constructor & Destructor Documentation

OpenSim.Region.CoreModules.World.Archiver.AssetsArchiver.AssetsArchiver ( TarArchiveWriter  archiveWriter)
inline

Definition at line 58 of file AssetsArchiver.cs.

Member Function Documentation

void OpenSim.Region.CoreModules.World.Archiver.AssetsArchiver.WriteAsset ( AssetBase  asset)
inline

Archive the assets given to this archiver to the given archive.

Parameters
archive

Definition at line 67 of file AssetsArchiver.cs.

void OpenSim.Region.CoreModules.World.Archiver.AssetsArchiver.WriteData ( AssetBase  asset)
inlineprotected

Write an assets metadata file to the given archive

Parameters
archive

Write asset data files to the given archive

Parameters
asset

Definition at line 123 of file AssetsArchiver.cs.

Member Data Documentation

int OpenSim.Region.CoreModules.World.Archiver.AssetsArchiver.LOG_ASSET_LOAD_NOTIFICATION_INTERVAL = 50
staticprotected

Post a message to the log every x assets as a progress bar

Definition at line 49 of file AssetsArchiver.cs.

TarArchiveWriter OpenSim.Region.CoreModules.World.Archiver.AssetsArchiver.m_archiveWriter
protected

Definition at line 56 of file AssetsArchiver.cs.

int OpenSim.Region.CoreModules.World.Archiver.AssetsArchiver.m_assetsWritten
protected

Keep a count of the number of assets written so that we can provide status updates

Definition at line 54 of file AssetsArchiver.cs.


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