DDraceNetwork Docs
CSnapshotStorage Class Reference

#include <snapshot.h>

Collaboration diagram for CSnapshotStorage:
[legend]

Classes

class  CHolder
 

Public Member Functions

 CSnapshotStorage ()
 
 ~CSnapshotStorage ()
 
void Init ()
 
void PurgeAll ()
 
void PurgeUntil (int Tick)
 
void Add (int Tick, int64_t Tagtime, size_t DataSize, const void *pData, size_t AltDataSize, const void *pAltData)
 
int Get (int Tick, int64_t *pTagtime, const CSnapshot **ppData, const CSnapshot **ppAltData) const
 

Public Attributes

CHolderm_pFirst
 
CHolderm_pLast
 

Constructor & Destructor Documentation

◆ CSnapshotStorage()

CSnapshotStorage::CSnapshotStorage ( )
inline

◆ ~CSnapshotStorage()

CSnapshotStorage::~CSnapshotStorage ( )
inline

Member Function Documentation

◆ Add()

void CSnapshotStorage::Add ( int  Tick,
int64_t  Tagtime,
size_t  DataSize,
const void *  pData,
size_t  AltDataSize,
const void *  pAltData 
)

◆ Get()

int CSnapshotStorage::Get ( int  Tick,
int64_t *  pTagtime,
const CSnapshot **  ppData,
const CSnapshot **  ppAltData 
) const

◆ Init()

void CSnapshotStorage::Init ( )

◆ PurgeAll()

void CSnapshotStorage::PurgeAll ( )

◆ PurgeUntil()

void CSnapshotStorage::PurgeUntil ( int  Tick)

Member Data Documentation

◆ m_pFirst

CHolder* CSnapshotStorage::m_pFirst

◆ m_pLast

CHolder* CSnapshotStorage::m_pLast

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