Recipe Code Generator#
仕組み#
Recipe Code Generatorの使用により、次のことを実行できます。
- このツールは、現在開いているレシピを.precipeファイルとして指定されたフォルダーに保存します。
- このツールは、レシピをロード、開始、処理できるC++サンプルコードを生成します。サンプルコードファイルはレシピファイルと同じフォルダーに保存されます。
レシピコードの生成#
アプリケーションのレシピコードを生成するには:
- レシピを作成するか、既存のレシピを開きます。
- Recipe Code Generatorを開きます(Workbenchツールバーのアイコンをクリックするか、をクリックします)。 Workbench > Recipe Code Generator.
イメージ Recipe Code Generator window opens:
- 次の設定を調整します。
- Name: Enter the desired name for the recipe.
The name will be used as the recipe file name (<name>.precipe). Also, the name is used in the generated code. - 保存先フォルダー:生成したファイルを保存するフォルダーを選択します。フォルダーが存在しない場合は、フォルダーが作成されます。
- Name: Enter the desired name for the recipe.
- [Generate]をクリックします。
生成されたファイルは、指定した保存先フォルダーに配置されます。