-
Notifications
You must be signed in to change notification settings - Fork 0
Added API structure to the docs #406
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Changes from all commits
c9c7533
29d78f4
8a69a32
c7b9f6d
cd48466
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,45 @@ | ||
| # API Structure | ||
|
|
||
| This page is mend to provide an overview of the structure of this API. | ||
|
|
||
| The API is split into the following parts: | ||
| 1. [Data](#data) | ||
| 2. [Exceptions](#exceptions) | ||
| 3. [Mapping](#mapping) | ||
| 4. [Ontology](#ontology) | ||
| 5. [Simulation](#simulation) | ||
| 6. [Uncategorized](#uncategorized) | ||
|
|
||
| ## Data | ||
|
|
||
| The data package and its sub-packages contains all data-related classes. These are among other things [data connections](/connections/connections), | ||
| data containers and models. | ||
|
|
||
|
|
||
| ## Exceptions | ||
|
|
||
| This package contains some exceptions. These can be thrown by the classes of this API. | ||
|
|
||
|
|
||
| ## Mapping | ||
|
|
||
| This package contains the `ExtEntityMapping` as well as some `DataTypes` and the `ExtEntityEntry` that are both used in | ||
| the mapping. | ||
|
|
||
| ## Ontology | ||
|
|
||
| All messages that can be exchanged between SIMONA and an external simulation resp. data connection are placed in this | ||
| package. | ||
|
|
||
|
|
||
| ## Simulation | ||
|
|
||
| The simulation package contains the available simulations. Currently, only base classes that needs to be implemented are | ||
| provided. The most important class is the [ExtSimulation](/simulations/externalsimulation) as it is the base class for | ||
| all external simulations. | ||
|
Comment on lines
+35
to
+39
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. To me this becomes not really clear. What is mend by saying, it contains the available simulations. How is this group different from e.g. data?
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
In the sub-directory
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Maybe you can enhance this a bit to get this understandable for other users that aren't that deep into this? |
||
|
|
||
|
|
||
| ## Uncategorized | ||
|
|
||
| There is currently only one interface that is not part of a category. This is the [ExtLinkInterface](/extlinkinterface) | ||
| that is used for loading external simulations. | ||
|
Comment on lines
+44
to
+45
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Whats the reason this is uncategorized while
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The external link interface is not part of any sub-directories. Since the interface is used to link the external simulation to SIMONA is doesn't fit into the
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. So, may it is an own category? I would like to avoid uncategorized. Or do you have good idea on that? |
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be linked with `Data Connections``?
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Data connectionsis a seperat site. I linked to it, since this site is only mend to explain the API structure.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, but link is broken since the myst crossref is not set properly