Space Engineers
Classes | Public Member Functions | Properties | List of all members
VRage.Library.Collections.MyConcurrentSortableQueue< T > Class Template Reference
Inheritance diagram for VRage.Library.Collections.MyConcurrentSortableQueue< T >:
VRage.Library.Collections.IMyQueue< T >

Public Member Functions

 MyConcurrentSortableQueue (int reserve)
 
 MyConcurrentSortableQueue ()
 
void Lock ()
 For accessing unsafe members More...
 
void Unlock ()
 For accessing unsafe members More...
 
void Add (T value)
 Does NOT call sort More...
 
void Sort (IComparer< T > comparer)
 
bool TryDequeueFront (out T value)
 
bool TryDequeueBack (out T value)
 
int IndexOf (T item)
 
void Insert (int index, T item)
 
void RemoveAt (int index)
 
void Clear ()
 
bool Contains (T item)
 
void CopyTo (T[] array, int arrayIndex)
 
bool Remove (T item)
 
IEnumerator< T > GetEnumerator ()
 
void RemoveAll (Predicate< T > callback)
 

Properties

ListReader< T > ListUnsafe [get]
 Debug only!! Thread unsafe More...
 
List< T > List [get]
 Manage lock yourself when accesing the list! More...
 
int Count [get]
 
bool Empty [get]
 
this[int index] [get, set]
 
bool IsReadOnly [get]
 

Detailed Description

Definition at line 10 of file MyConcurrentList.cs.

Constructor & Destructor Documentation

Definition at line 26 of file MyConcurrentList.cs.

Definition at line 31 of file MyConcurrentList.cs.

Member Function Documentation

void VRage.Library.Collections.MyConcurrentSortableQueue< T >.Add ( value)
inline

Does NOT call sort

Parameters
value

Definition at line 56 of file MyConcurrentList.cs.

Definition at line 148 of file MyConcurrentList.cs.

bool VRage.Library.Collections.MyConcurrentSortableQueue< T >.Contains ( item)
inline

Definition at line 153 of file MyConcurrentList.cs.

void VRage.Library.Collections.MyConcurrentSortableQueue< T >.CopyTo ( T[]  array,
int  arrayIndex 
)
inline

Definition at line 158 of file MyConcurrentList.cs.

IEnumerator<T> VRage.Library.Collections.MyConcurrentSortableQueue< T >.GetEnumerator ( )
inline

Definition at line 168 of file MyConcurrentList.cs.

int VRage.Library.Collections.MyConcurrentSortableQueue< T >.IndexOf ( item)
inline

Definition at line 117 of file MyConcurrentList.cs.

void VRage.Library.Collections.MyConcurrentSortableQueue< T >.Insert ( int  index,
item 
)
inline

Definition at line 123 of file MyConcurrentList.cs.

For accessing unsafe members

Definition at line 39 of file MyConcurrentList.cs.

bool VRage.Library.Collections.MyConcurrentSortableQueue< T >.Remove ( item)
inline

Definition at line 163 of file MyConcurrentList.cs.

void VRage.Library.Collections.MyConcurrentSortableQueue< T >.RemoveAll ( Predicate< T >  callback)
inline

Definition at line 183 of file MyConcurrentList.cs.

void VRage.Library.Collections.MyConcurrentSortableQueue< T >.RemoveAt ( int  index)
inline

Definition at line 129 of file MyConcurrentList.cs.

void VRage.Library.Collections.MyConcurrentSortableQueue< T >.Sort ( IComparer< T >  comparer)
inline

Definition at line 64 of file MyConcurrentList.cs.

bool VRage.Library.Collections.MyConcurrentSortableQueue< T >.TryDequeueBack ( out T  value)
inline

Definition at line 85 of file MyConcurrentList.cs.

bool VRage.Library.Collections.MyConcurrentSortableQueue< T >.TryDequeueFront ( out T  value)
inline

Implements VRage.Library.Collections.IMyQueue< T >.

Definition at line 72 of file MyConcurrentList.cs.

For accessing unsafe members

Definition at line 47 of file MyConcurrentList.cs.

Property Documentation

Definition at line 99 of file MyConcurrentList.cs.

Definition at line 108 of file MyConcurrentList.cs.

Definition at line 179 of file MyConcurrentList.cs.

Manage lock yourself when accesing the list!

Definition at line 24 of file MyConcurrentList.cs.

Debug only!! Thread unsafe

Definition at line 19 of file MyConcurrentList.cs.

Definition at line 136 of file MyConcurrentList.cs.


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