XLE  v0.02.0
Public Member Functions | Protected Types | Protected Attributes | List of all members
Assets::DivergentTransaction< Asset > Class Template Reference
Inheritance diagram for Assets::DivergentTransaction< Asset >:
Inheritance graph
[legend]

Public Member Functions

Asset & GetAsset ()
 
virtual void Commit ()
 
virtual void Cancel ()
 
 DivergentTransaction (const char name[], uint64 assetId, uint64 typeCode, const DivergentAssetBase::AssetIdentifier &identifer, std::shared_ptr< Asset > workingCopy, std::shared_ptr< UndoQueue > undoQueue)
 
- Public Member Functions inherited from Assets::ITransaction
const std::basic_string< ResChar > & GetName () const
 
uint64 GetAssetId () const
 
uint64 GetTypeCode () const
 
 ITransaction (const ResChar name[], uint64 assetId, uint64 typeCode, std::shared_ptr< UndoQueue > undoQueue)
 

Protected Types

enum  State { NoAction, Modified, Committed }
 

Protected Attributes

std::shared_ptr< Asset > _transactionCopy
 
std::shared_ptr< Asset > _liveCopy
 
std::shared_ptr< Asset > _originalCopy
 
DivergentAssetBase::AssetIdentifier _identifer
 
State _state
 
uint64 _assetId
 
uint64 _typeCode
 
- Protected Attributes inherited from Assets::ITransaction
std::shared_ptr< UndoQueue_undoQueue
 
std::basic_string< ResChar > _name
 
uint64 _assetId
 
uint64 _typeCode
 

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