C# Class cadencii.ScriptServer

スクリプトを管理するクラス
Exibir arquivo Open project: cadencii/cadencii Class Usage Examples

Public Methods

Method Description
configFileNameFromScriptFileName ( String script_file ) : String

スクリプトのファイル名から、そのスクリプトの設定ファイルの名前を決定します。

getCompileMessage ( String id ) : String

指定したIDが示すスクリプトの、コンパイル時のメッセージを取得します。

getDisplayName ( String id ) : String

指定したIDが示すスクリプトの、表示上の名称を取得します。

getScriptIdIterator ( ) : Iterator

読み込まれたスクリプトのIDを順に返す反復子を取得します。

getTimestamp ( String id ) : double

指定したIDが示すスクリプトの、コンパイルした時点でのソースコードの更新日を取得します。

invokeScript ( String id, VsqFileEx vsq ) : boolean

スクリプトを実行します。

isAvailable ( String id ) : boolean

指定したIDが示すスクリプトが利用可能かどうかを表すbool値を取得します。

reload ( ) : void

スクリプトを読み込み、コンパイルします。

reload ( String id ) : void

指定したIDのスクリプトを再読込みするか、または新規の場合読み込んで追加します。

Private Methods

Method Description
_ ( String id ) : String

Method Details

configFileNameFromScriptFileName() public static method

スクリプトのファイル名から、そのスクリプトの設定ファイルの名前を決定します。
public static configFileNameFromScriptFileName ( String script_file ) : String
script_file String
return String

getCompileMessage() public static method

指定したIDが示すスクリプトの、コンパイル時のメッセージを取得します。
public static getCompileMessage ( String id ) : String
id String
return String

getDisplayName() public static method

指定したIDが示すスクリプトの、表示上の名称を取得します。
public static getDisplayName ( String id ) : String
id String
return String

getScriptIdIterator() public static method

読み込まれたスクリプトのIDを順に返す反復子を取得します。
public static getScriptIdIterator ( ) : Iterator
return Iterator

getTimestamp() public static method

指定したIDが示すスクリプトの、コンパイルした時点でのソースコードの更新日を取得します。
public static getTimestamp ( String id ) : double
id String
return double

invokeScript() public static method

スクリプトを実行します。
public static invokeScript ( String id, VsqFileEx vsq ) : boolean
id String
vsq VsqFileEx
return boolean

isAvailable() public static method

指定したIDが示すスクリプトが利用可能かどうかを表すbool値を取得します。
public static isAvailable ( String id ) : boolean
id String
return boolean

reload() public static method

スクリプトを読み込み、コンパイルします。
public static reload ( ) : void
return void

reload() public static method

指定したIDのスクリプトを再読込みするか、または新規の場合読み込んで追加します。
public static reload ( String id ) : void
id String
return void