Space Engineers
Public Member Functions | Properties | List of all members
VRage.Collections.MyCommitQueue< T > Class Template Reference

Basic copy-on-commit implementation, later it will be faster by using one queue with 2 tails More...

Public Member Functions

void Enqueue (T obj)
 
void Commit ()
 
bool TryDequeue (out T obj)
 

Properties

int Count [get]
 
int UncommitedCount [get]
 

Detailed Description

Basic copy-on-commit implementation, later it will be faster by using one queue with 2 tails

Definition at line 12 of file MyCommitQueue.cs.

Member Function Documentation

void VRage.Collections.MyCommitQueue< T >.Commit ( )
inline

Definition at line 65 of file MyCommitQueue.cs.

void VRage.Collections.MyCommitQueue< T >.Enqueue ( obj)
inline

Definition at line 52 of file MyCommitQueue.cs.

bool VRage.Collections.MyCommitQueue< T >.TryDequeue ( out T  obj)
inline

Definition at line 90 of file MyCommitQueue.cs.

Property Documentation

int VRage.Collections.MyCommitQueue< T >.Count
get

Definition at line 21 of file MyCommitQueue.cs.

int VRage.Collections.MyCommitQueue< T >.UncommitedCount
get

Definition at line 37 of file MyCommitQueue.cs.


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