|
|
| (6 intermediate revisions by 2 users not shown) |
| Line 1: |
Line 1: |
|
| |
|
| |
| <sidebar>API Contents</sidebar>
| |
| Flowcode provides an ''application programming interface'' to help writing simulation and PC-side programs. | | Flowcode provides an ''application programming interface'' to help writing simulation and PC-side programs. |
|
| |
|
| This API is a list of macros built in to Flowcode with each group, or class, of macros dealing with a specific area of the system. | | This API (also known as ''Built-in Functions'') is a list of macros built in to Flowcode with each group, or class, of macros dealing with a specific area of the system. |
|
| |
|
| Use of this API is limited to simulation only - when downloaded to the chip these calls will be omitted, so if need be they can be interleaved in downloadable code. | | Use of this API is limited to simulation only - when downloaded to the chip these calls will be omitted, so if need be they can be interleaved in downloadable code. |
|
| |
|
| Below is a reference to the classes available.
| | A reference to the classes and macros available can be found [[Simulation_Functionality#Built-in_functions|here]]. |
| A complete list of [[API Reference|classes and macros]] is also available.
| |
| {| class="wikitable" width="85%"
| |
| |-
| |
| ! width="45%" | Class path
| |
| ! width="55%" | Description
| |
| |-
| |
| | [[API Component|Component]]
| |
| | Component traversal functions
| |
| |-
| |
| | [[API Component.Property|Component.Property]]
| |
| | Property manipulation functions
| |
| |-
| |
| | [[API Panel|Panel]]
| |
| | Panel object manipulations
| |
| |-
| |
| | [[API Panel.Position|Panel.Position]]
| |
| | Coordinate manipulation functions
| |
| |-
| |
| | [[API Panel.Position.Math|Panel.Position.Math]]
| |
| | Coordinate maths functions
| |
| |-
| |
| | [[API Panel.Position.Camera|Panel.Position.Camera]]
| |
| | Camera positioning
| |
| |-
| |
| | [[API Panel.PCloud|Panel.PCloud]]
| |
| | Point cloud manipulation
| |
| |-
| |
| | [[API Panel.LinkBar|Panel.LinkBar]]
| |
| | Position linkage management
| |
| |-
| |
| | [[API Panel.Collision|Panel.Collision]]
| |
| | Collision detection functions
| |
| |-
| |
| | [[API Panel.Graphics|Panel.Graphics]]
| |
| | Direct drawing routines for a single frame
| |
| |-
| |
| | [[API Panel.Graphics.Shape|Panel.Graphics.Shape]]
| |
| | Routines to change the last drawn shape
| |
| |-
| |
| | [[API Mouse|Mouse]]
| |
| | Mouse reading interface
| |
| |-
| |
| | [[API FCD|FCD]]
| |
| | Flowcode Chip Definition reading routines
| |
| |-
| |
| | [[API Sound|Sound]]
| |
| | Audio streaming interface
| |
| |-
| |
| | [[API Scope|Scope]]
| |
| | Data scope additions
| |
| |-
| |
| | [[API Console|Console]]
| |
| | Text console additions
| |
| |-
| |
| | [[API Connection|Connection]]
| |
| | Analog and digital connections
| |
| |-
| |
| | [[API Expand|Expand]]
| |
| | Various variable and code expansion routines
| |
| |-
| |
| | [[API Tree|Tree]]
| |
| | Data-tree traversal type routines
| |
| |-
| |
| | [[API File|File]]
| |
| | File reading and writing operations
| |
| |-
| |
| | [[API File.Buffer|File.Buffer]]
| |
| | Reads writes and monitors circular buffers
| |
| |-
| |
| | [[API File.NVM|File.NVM]]
| |
| | Reads from a file as though a block of NVM
| |
| |-
| |
| | [[API Language|Language]]
| |
| | Foreign language support
| |
| |-
| |
| | [[API System|System]]
| |
| | General system operations
| |
| |-
| |
| | [[API Debug|Debug]]
| |
| | Debug and diangostic
| |
| |}
| |
Flowcode provides an application programming interface to help writing simulation and PC-side programs.
This API (also known as Built-in Functions) is a list of macros built in to Flowcode with each group, or class, of macros dealing with a specific area of the system.
Use of this API is limited to simulation only - when downloaded to the chip these calls will be omitted, so if need be they can be interleaved in downloadable code.
A reference to the classes and macros available can be found here.