The OTX-Runtime API can be used to browse inside the OTX data structure. Main use cases are:
The following diagram shows the main OTX data structure. The root element is the OTX Project. The project must contain one or more Packages. A package can contain another package in an arbitrary depth or it can contain one or more Documents. A document contains the Procedures and all global declarations like StateVariables and/or ContextVariables. A procedure can have one or more ProcedureParameters.
void main(string ptxFilename)
{
ExecuteAll(project, runtimeManager);
}
{
{
ExecutePackage(package, runtimeManager);
}
}
{
{
ExecuteDocument(document, runtimeManager);
}
{
ExecutePackage(subPackage, runtimeManager);
}
}
{
{
ExecuteProcedure(procedure, runtimeManager);
}
}
{
runtimeManager.Execute(procedure);
}
Main class to load and execute an OTX project
Definition: IRuntimeManager.h:72
Represents an OTX.
Definition: IDocument.h:30
Contains Documents and child Packages.
Definition: IPackage.h:23
virtual std::vector< std::shared_ptr< IPackage > > GetPackages()=0
Gets all child Packages.
Represents an OTX Procedure.
Definition: IProcedure.h:15
The Project is the root element of the OTX Data Structure. It mainly contains the Packages and the Pr...
Definition: IProject.h:41
Factory class for creating runtime managers, see IRuntimeManager
Definition: RuntimeManagerFactory.h:17
static std::shared_ptr< IRuntimeManager > CreateSocketRuntimeManager(unsigned short otxRunnerPort, unsigned short diagManagerPort)
Creates SocketRuntimeManager with Socket DiagManager.
Namespace for browsing at OTX data structure.
Definition: IRuntimeContext.h:12
Namespace containing main entries: IProject and IPlayerProject.
Definition: IRuntimeManager.h:23
Namespace containing the programming interface for browsing and execution of OTX procedures in own ap...
Definition: ClampState.h:7
Namespace containing all objects for browsing and execution of OTX procedures
Definition: ClampState.h:6
Namespace containing all objects which are standardized according to ISO 13209 (OTX)
Namespace containing all objects related to testing inside automotive industry