Timer

Overview

Timer class to trigger a callback at timed occasions.

Location

  • Reference:
    • Elements.dll  .NET, .NET Core 6.0, .NET Standard 2.0
    • elements.jar  Cooper
    • Elements.fx  Island, ToffeeV2
    • libElements.fx  Toffee
  • Namespace: RemObjects.Elements.RTL
  • Platforms: .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island, Toffee, ToffeeV2

 

constructor (Int32, Action<RemObjects.Elements.RTL.Timer>)

 

constructor(aInterval: Int32; aCallback: Action<RemObjects.Elements.RTL.Timer>)

 

Timer(Int32 aInterval, Action<RemObjects.Elements.RTL.Timer> aCallback)

 

init(_ aInterval: Int32, _ aCallback: (Timer) -> ())

 

Timer(Integer aInterval, Action<RemObjects.Elements.RTL.Timer> aCallback)

 

Sub New(aInterval As Int32, aCallback As Action<RemObjects.Elements.RTL.Timer>)

Parameters:

  • aInterval:
  • aCallback:

constructor (Int32, Boolean, Action<RemObjects.Elements.RTL.Timer>)

 

constructor(aInterval: Int32; aRepeat: Boolean; aCallback: Action<RemObjects.Elements.RTL.Timer>)

 

Timer(Int32 aInterval, Boolean aRepeat, Action<RemObjects.Elements.RTL.Timer> aCallback)

 

init(_ aInterval: Int32, _ aRepeat: Boolean, _ aCallback: (Timer) -> ())

 

Timer(Integer aInterval, Boolean aRepeat, Action<RemObjects.Elements.RTL.Timer> aCallback)

 

Sub New(aInterval As Int32, aRepeat As Boolean, aCallback As Action<RemObjects.Elements.RTL.Timer>)

Parameters:

  • aInterval:
  • aRepeat:
  • aCallback:

Enabled

 

property Enabled: Boolean read;

 

Boolean Enabled { get; }

 

var Enabled: Boolean { get{} }

 

Boolean Enabled { __get; }

 

ReadOnly Property Enabled() As Boolean

Interval

 

property Interval: Int32 read;

 

Int32 Interval { get; }

 

var Interval: Int32 { get{} }

 

Integer Interval { __get; }

 

ReadOnly Property Interval() As Int32

Repeat

 

property Repeat: Boolean read;

 

Boolean Repeat { get; }

 

var Repeat: Boolean { get{} }

 

Boolean Repeat { __get; }

 

ReadOnly Property Repeat() As Boolean

Start .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island, ToffeeV2

Start this timer.

 

method Start

 

void Start()

 

func Start()

 

void Start()

 

Sub Start()

Start Start()  virtual Toffee

 

func Start(Start )

Parameters:

  • :

Stop .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island, ToffeeV2

Stop this timer.

 

method Stop

 

void Stop()

 

func Stop()

 

void Stop()

 

Sub Stop()

Stop Stop()  virtual Toffee

 

func Stop(Stop )

Parameters:

  • :

 

Enabled

 

property Enabled: Boolean read;

 

Boolean Enabled { get; }

 

var Enabled: Boolean { get{} }

 

Boolean Enabled { __get; }

 

ReadOnly Property Enabled() As Boolean

Interval

 

property Interval: Int32 read;

 

Int32 Interval { get; }

 

var Interval: Int32 { get{} }

 

Integer Interval { __get; }

 

ReadOnly Property Interval() As Int32

Repeat

 

property Repeat: Boolean read;

 

Boolean Repeat { get; }

 

var Repeat: Boolean { get{} }

 

Boolean Repeat { __get; }

 

ReadOnly Property Repeat() As Boolean

 

constructor (Int32, Action<RemObjects.Elements.RTL.Timer>)

 

constructor(aInterval: Int32; aCallback: Action<RemObjects.Elements.RTL.Timer>)

 

Timer(Int32 aInterval, Action<RemObjects.Elements.RTL.Timer> aCallback)

 

init(_ aInterval: Int32, _ aCallback: (Timer) -> ())

 

Timer(Integer aInterval, Action<RemObjects.Elements.RTL.Timer> aCallback)

 

Sub New(aInterval As Int32, aCallback As Action<RemObjects.Elements.RTL.Timer>)

Parameters:

  • aInterval:
  • aCallback:

constructor (Int32, Boolean, Action<RemObjects.Elements.RTL.Timer>)

 

constructor(aInterval: Int32; aRepeat: Boolean; aCallback: Action<RemObjects.Elements.RTL.Timer>)

 

Timer(Int32 aInterval, Boolean aRepeat, Action<RemObjects.Elements.RTL.Timer> aCallback)

 

init(_ aInterval: Int32, _ aRepeat: Boolean, _ aCallback: (Timer) -> ())

 

Timer(Integer aInterval, Boolean aRepeat, Action<RemObjects.Elements.RTL.Timer> aCallback)

 

Sub New(aInterval As Int32, aRepeat As Boolean, aCallback As Action<RemObjects.Elements.RTL.Timer>)

Parameters:

  • aInterval:
  • aRepeat:
  • aCallback:

Start .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island, ToffeeV2

Start this timer.

 

method Start

 

void Start()

 

func Start()

 

void Start()

 

Sub Start()

Start Start()  virtual Toffee

 

func Start(Start )

Parameters:

  • :

Stop .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island, ToffeeV2

Stop this timer.

 

method Stop

 

void Stop()

 

func Stop()

 

void Stop()

 

Sub Stop()

Stop Stop()  virtual Toffee

 

func Stop(Stop )

Parameters:

  • :