Home Notices Documents Classes Download Others Rice
Classes  >  timer
timer class

Description

Provides the function to call a method at specified time interval.

Notes

It is a class that is dynamically embedded when the CookerGX runs.

This class is distributed as Rtype.Timer.dll.

The dll file is in the dlls directory in the CookerGX's distribution archive.

DLL

Rtype.Timer.dll

fitter

SignatureDescription
timer()

Get a new instance of timer class.

timer(class,string,int)

Return an instance of the timer class that is initialized by the specified value.

getter

SignatureDescription
ErrorMessages

Get a list of error messages that occurred in the previous execution of the handler.

Fitted

Gets a value that indicates whether this instance was already initialized.

Handler

Gets an instance with the timer handler method.

Interval

Gets a value that indicates an interval of timer run.

IsEnabled

Gets a value that indicates the state of the timer run.

IsError

Gets a value that indicates whether the last execution of the handler finished with the exception.

ShowException

Gets a value that indicates whether the error messages will be shown if the execution of the handler finished with the exception.

Signature

Gets a signature for calling the handler method.

StopWithException

Gets a value that indicates whether the eventhandler will automatically be stopped if the execution finished with the exception.

TypeName

Gets the type name.

setter

SignatureDescription
Handler(some class)

Sets an instance that have a timer handler method.

Interval(int)

Sets a value that indicates an interval of timer run.

ShowException(bool)

Sets a value that indicates whether the error messages will be shown if the execution of the handler finished with the exception.

Signature(string)

Sets the signature of the handler method.

StopWithException(bool)

Sets a value that indicates whether the timerhandler will automatically be stopped if the execution finished with the exception.

method

SignatureDescription
OneShot()

Executes the timer handler only once.

Start()

Starts the execution of the timer handler.

Stop()

Stops the execution of the timer handler.

Downloads for latest version.

The above .dll and source files are distributed as a self-extracting archive of 7z format.

Downloads for old version.

The above .dll and source files are distributed as a self-extracting archive of 7z format.

Copyright © Rice All rights reserved.