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

Public Member Functions

 MySlidingWindow (int size, Func< MyQueue< T >, T > avg, T defaultValue=default(T))
 
void Add (T item)
 
void Clear ()
 

Public Attributes

int Size
 
DefaultValue
 
Func< MyQueue< T >, T > AverageFunc
 

Properties

Average [get]
 
Last [get]
 

Detailed Description

Definition at line 8 of file MySlidingWindow.cs.

Constructor & Destructor Documentation

VRage.Collections.MySlidingWindow< T >.MySlidingWindow ( int  size,
Func< MyQueue< T >, T >  avg,
defaultValue = default(T) 
)
inline

Definition at line 34 of file MySlidingWindow.cs.

Member Function Documentation

void VRage.Collections.MySlidingWindow< T >.Add ( item)
inline

Definition at line 42 of file MySlidingWindow.cs.

void VRage.Collections.MySlidingWindow< T >.Clear ( )
inline

Definition at line 49 of file MySlidingWindow.cs.

Member Data Documentation

Func<MyQueue<T>, T> VRage.Collections.MySlidingWindow< T >.AverageFunc

Definition at line 14 of file MySlidingWindow.cs.

T VRage.Collections.MySlidingWindow< T >.DefaultValue

Definition at line 13 of file MySlidingWindow.cs.

Definition at line 12 of file MySlidingWindow.cs.

Property Documentation

Definition at line 17 of file MySlidingWindow.cs.

Definition at line 27 of file MySlidingWindow.cs.


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