OpenSim::Region::CoreModules::World::Archiver::AssetsArchiver Class Reference

Archives assets. More...

List of all members.

Public Member Functions

 AssetsArchiver (TarArchiveWriter archiveWriter)
void WriteAsset (AssetBase asset)
 Archive the assets given to this archiver to the given archive.
void ForceClose ()
 Only call this if you need to force a close on the underlying writer.

Protected Member Functions

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

Protected Attributes

int m_assetsWritten
TarArchiveWriter m_archiveWriter

Static Protected Attributes

static int LOG_ASSET_LOAD_NOTIFICATION_INTERVAL = 50


Detailed Description

Archives assets.


Constructor & Destructor Documentation

OpenSim::Region::CoreModules::World::Archiver::AssetsArchiver::AssetsArchiver ( TarArchiveWriter  archiveWriter  )  [inline]


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 

void OpenSim::Region::CoreModules::World::Archiver::AssetsArchiver::WriteData ( AssetBase  asset  )  [inline, protected]

Write an assets metadata file to the given archive.

Parameters:
archive 
Write asset data files to the given archive

Parameters:
asset 

void OpenSim::Region::CoreModules::World::Archiver::AssetsArchiver::ForceClose (  )  [inline]

Only call this if you need to force a close on the underlying writer.


Member Data Documentation

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

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


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

Generated on Sun Feb 12 01:00:46 2012 for OpenSim by  doxygen 1.5.6