-
Notifications
You must be signed in to change notification settings - Fork 3
ModelEntities Code
mitchell-conrad edited this page Jan 19, 2021
·
1 revision
The Code entity allows modellers to insert a snippet of C++ code into the behaviour being modelled.
Any statements inside of the code block are only within scope for their particular Code entity. This means that a variable declared in one Code entity cannot be referred to in another Code entity.
The following is an example of the structure of the C++ that would be generated from two code entities in a row:
// Code entity #1
{
// User code here
}
// Code entity #2
{
// User code here
}
Can be adopted by the below entities:
This entity cannot adopt any children.
This entity does not have any dependent entities.
This entity does not depend on any entities.
- code - pops up a text editor where the snippet of C++ code to be inserted is to be placed
- label - sets the label
This entity does not have any visible edges attached to it.
Generated on 11 Feb 2021 @ 17:34:14 by Jenkins - MediaWiki2GitHubWiki
- Model Entities
- Loading and Saving Projects
- Modelling Quality of Service
- Workers
- Validation and Code Generation Functionality
- Jenkins Functionality
- Logging Functionality
- Toolbars
- Data Table
- Dock
- Search
- Notification Manager
- View Manager
- Settings
- App Shortcuts
- Code Editor
- Code Browser
- Execution Monitor
- QoS Browser
- Trigger Browser