Photon Server API Documentation
v5.0RC1
The base class for counters. More...
Public Member Functions | |
| abstract RawCounterSample | GetNextSample () |
| Gets the next sample. More... | |
| abstract long | Decrement () |
| Decrements the counter. More... | |
| abstract float | GetNextValue () |
| Gets the next value. More... | |
| abstract long | Increment () |
| Increments the counter. More... | |
| abstract long | IncrementBy (long value) |
| Increments the counter by a value. More... | |
Protected Member Functions | |
| CounterBase () | |
| Initializes a new instance of the CounterBase class. More... | |
| CounterBase (string name) | |
| Initializes a new instance of the CounterBase class. More... | |
Properties | |
| 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... | |
The base class for counters.
|
inlineprotected |
Initializes a new instance of the CounterBase class.
|
inlineprotected |
Initializes a new instance of the CounterBase class.
| name | The counter name. |
|
pure virtual |
Decrements the counter.
Implements ExitGames.Diagnostics.Counter.ICounter.
Implemented in ExitGames.Diagnostics.Counter.NumericCounter, ExitGames.Diagnostics.Counter.AverageCounter, ExitGames.Diagnostics.Counter.CountsPerSecondCounter, and ExitGames.Diagnostics.Counter.DummyCounter.
|
pure virtual |
Gets the next sample.
Implemented in ExitGames.Diagnostics.Counter.AverageCounter, ExitGames.Diagnostics.Counter.CountsPerSecondCounter, ExitGames.Diagnostics.Counter.NumericCounter, and ExitGames.Diagnostics.Counter.DummyCounter.
|
pure virtual |
Gets the next value.
Implements ExitGames.Diagnostics.Counter.ICounter.
Implemented in ExitGames.Diagnostics.Counter.NumericCounter, ExitGames.Diagnostics.Counter.AverageCounter, ExitGames.Diagnostics.Counter.CountsPerSecondCounter, and ExitGames.Diagnostics.Counter.DummyCounter.
|
pure virtual |
Increments the counter.
Implements ExitGames.Diagnostics.Counter.ICounter.
Implemented in ExitGames.Diagnostics.Counter.AverageCounter, ExitGames.Diagnostics.Counter.CountsPerSecondCounter, ExitGames.Diagnostics.Counter.NumericCounter, and ExitGames.Diagnostics.Counter.DummyCounter.
|
pure virtual |
Increments the counter by a value.
| value | The value. |
Implements ExitGames.Diagnostics.Counter.ICounter.
Implemented in ExitGames.Diagnostics.Counter.AverageCounter, ExitGames.Diagnostics.Counter.CountsPerSecondCounter, ExitGames.Diagnostics.Counter.NumericCounter, and ExitGames.Diagnostics.Counter.DummyCounter.
|
get |
Gets the type of the counter.
The type of the counter.
|
getprotected set |
|
get |
Gets Name.