Photon Server API
Public Member Functions | Protected Member Functions | Properties | List of all members
ExitGames.Diagnostics.Counter.CounterBase Class Referenceabstract

The base class for counters. More...

Inheritance diagram for ExitGames.Diagnostics.Counter.CounterBase:
ExitGames.Diagnostics.Counter.ICounter ExitGames.Diagnostics.Counter.AverageCounter ExitGames.Diagnostics.Counter.CountsPerSecondCounter ExitGames.Diagnostics.Counter.DummyCounter ExitGames.Diagnostics.Counter.NumericCounter

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...
 
- 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...
 

Detailed Description

The base class for counters.

Constructor & Destructor Documentation

ExitGames.Diagnostics.Counter.CounterBase.CounterBase ( )
inlineprotected

Initializes a new instance of the CounterBase class.

ExitGames.Diagnostics.Counter.CounterBase.CounterBase ( string  name)
inlineprotected

Initializes a new instance of the CounterBase class.

Parameters
nameThe counter name.

Member Function Documentation

abstract long ExitGames.Diagnostics.Counter.CounterBase.Decrement ( )
pure virtual
abstract RawCounterSample ExitGames.Diagnostics.Counter.CounterBase.GetNextSample ( )
pure virtual
abstract float ExitGames.Diagnostics.Counter.CounterBase.GetNextValue ( )
pure virtual
abstract long ExitGames.Diagnostics.Counter.CounterBase.Increment ( )
pure virtual
abstract long ExitGames.Diagnostics.Counter.CounterBase.IncrementBy ( long  value)
pure virtual

Property Documentation

abstract CounterType ExitGames.Diagnostics.Counter.CounterBase.CounterType
get

Gets the type of the counter.

The type of the counter.

string ExitGames.Diagnostics.Counter.CounterBase.Name
get

Gets Name.