A numeric counter. More...
Public Member Functions | |
NumericCounter () | |
Initializes a new instance of the NumericCounter class. More... | |
NumericCounter (string name) | |
Initializes a new instance of the NumericCounter class. More... | |
override RawCounterSample | GetNextSample () |
Gets the next sample. More... | |
override long | Decrement () |
Decrements the counter by one. More... | |
override float | GetNextValue () |
Gets the next value. More... | |
override long | Increment () |
Increments the counter by one and returns the new value. More... | |
override long | IncrementBy (long value) |
Increments the counter by a given value. More... | |
Properties | |
override CounterType | CounterType [get] |
Gets the type of the counter. More... | |
long | RawValue [get, set] |
Gets or sets RawValue. More... | |
Properties inherited from ExitGames.Diagnostics.Counter.CounterBase | |
abstract CounterType | CounterType [get] |
Gets the type of the counter. More... | |
string | Name [get] |
Gets Name. More... | |
bool | IsValid [get, protected set] |
Properties inherited from ExitGames.Diagnostics.Counter.ICounter | |
CounterType | CounterType [get] |
Gets the type of the counter. More... | |
string | Name [get] |
Gets the name of the counter. More... | |
bool | IsValid [get] |
Returns whether counter is valid or not For WindowsPerfCounters this method may return value whether counter exists or not More... | |
Additional Inherited Members | |
Protected Member Functions inherited from ExitGames.Diagnostics.Counter.CounterBase | |
CounterBase () | |
Initializes a new instance of the CounterBase class. More... | |
CounterBase (string name) | |
Initializes a new instance of the CounterBase class. More... | |
A numeric counter.
|
inline |
Initializes a new instance of the NumericCounter class.
|
inline |
Initializes a new instance of the NumericCounter class.
name | The name. |
|
inlinevirtual |
Decrements the counter by one.
Implements ExitGames.Diagnostics.Counter.CounterBase.
|
inlinevirtual |
Gets the next sample.
Implements ExitGames.Diagnostics.Counter.CounterBase.
|
inlinevirtual |
Gets the next value.
Implements ExitGames.Diagnostics.Counter.CounterBase.
|
inlinevirtual |
Increments the counter by one and returns the new value.
Implements ExitGames.Diagnostics.Counter.CounterBase.
|
inlinevirtual |
Increments the counter by a given value.
value | The value to be added to the counter. |
Implements ExitGames.Diagnostics.Counter.CounterBase.
|
get |
Gets the type of the counter.
The type of the counter.
|
getset |
Gets or sets RawValue.