Crystal AI  1.0.0
Crystal.DeferredCommand Class Reference

DeferredCommand is a command whose execution is delegated to a future time and/or executes repeatedly. More...

Classes

class  ProcessNullException
 

Public Member Functions

void Execute ()
 Executes this command. More...
 
 DeferredCommand (CommandAction process)
 Initializes a new instance of the T:Crystal.DeferredCommand class. More...
 

Properties

bool IsRepeating [get, set]
 Gets or sets a value indicating whether this instance is repeating. More...
 
float InitExecutionDelayMin [get, set]
 Controls the minimum Time delay before this command is executed for the first time. More...
 
float InitExecutionDelayMax [get, set]
 Controls the maximum Time delay before this command is executed for the first Time. More...
 
float InitExecutionDelay [get]
 This determines how much Time to wait (in seconds), before executing the scheduled item for the first Time. This is ignored after the first execution More...
 
float ExecutionDelayMin [get, set]
 The minimum Time to wait (in seconds) before executing this command again. More...
 
float ExecutionDelayMax [get, set]
 The maximum Time to wait (in seconds) before executing this command again. More...
 
float ExecutionDelay [get]
 The Time to wait in seconds to execute again the scheduled item. More...
 
long TimesExecuted [get]
 The number of times the Execute() command was called. More...
 
float LastExecution [get]
 The time of the last execution in seconds since the start of the application. More...
 
float TimeSinceLastUpdate [get]
 The time since the last update in seconds. More...
 
float LastUpdateDeltaTime [get]
 This returns the time difference between the last update time and the second to last update time. More...
 

Detailed Description

DeferredCommand is a command whose execution is delegated to a future time and/or executes repeatedly.

Constructor & Destructor Documentation

Crystal.DeferredCommand.DeferredCommand ( CommandAction  process)
inline

Initializes a new instance of the T:Crystal.DeferredCommand class.

Parameters
processProcess.

Member Function Documentation

void Crystal.DeferredCommand.Execute ( )
inline

Executes this command.

Property Documentation

float Crystal.DeferredCommand.ExecutionDelay
get

The Time to wait in seconds to execute again the scheduled item.

The next execution delay.

float Crystal.DeferredCommand.ExecutionDelayMax
getset

The maximum Time to wait (in seconds) before executing this command again.

The next execution delay max.

float Crystal.DeferredCommand.ExecutionDelayMin
getset

The minimum Time to wait (in seconds) before executing this command again.

The next execution delay minimum.

float Crystal.DeferredCommand.InitExecutionDelay
get

This determines how much Time to wait (in seconds), before executing the scheduled item for the first Time. This is ignored after the first execution

The first execution delay.

float Crystal.DeferredCommand.InitExecutionDelayMax
getset

Controls the maximum Time delay before this command is executed for the first Time.

The first execution delay max.

float Crystal.DeferredCommand.InitExecutionDelayMin
getset

Controls the minimum Time delay before this command is executed for the first time.

The first execution delay minimum.

bool Crystal.DeferredCommand.IsRepeating
getset

Gets or sets a value indicating whether this instance is repeating.

true if this instance is repeating; otherwise, false.

float Crystal.DeferredCommand.LastExecution
get

The time of the last execution in seconds since the start of the application.

float Crystal.DeferredCommand.LastUpdateDeltaTime
get

This returns the time difference between the last update time and the second to last update time.

long Crystal.DeferredCommand.TimesExecuted
get

The number of times the Execute() command was called.

float Crystal.DeferredCommand.TimeSinceLastUpdate
get

The time since the last update in seconds.


The documentation for this class was generated from the following file: