C/C++ API

This document describes the user available programming interfaces of the Vector SIL Kit. If you are not yet familiar with the SIL Kit, have a look at the Developers Guide. Information on API organization in the SIL Kit:

C++ API

Participant

The Participant constitutes the main entry point into the SIL Kit API.

Services

The services API includes common data types, supports various vehicular networks, and provides generic publish/subscribe and RPC facilities.

Logging

The Logging service can be used for writing log messages of specified log levels to various types of sinks.

Vehicle Network Controller

Several different vehicular networks are supported by corresponding controller interfaces.

Data Publish/Subscribe and RPC

These services do not model a real-world bus and can be used for generic programming and interoperability tasks.

SIL Kit provides a recommended default serialization/deserialization API for Data Publish/Subscribe and RPC:

State Handling and Synchronization

The following services provide time synchronization and orchestrated state management.

System Utilities

These system utilities can be used to control and monitor the simulation as a whole.

Common Data Types

Some data types are shared between services of the SIL Kit.

Custom Network Simulator

C API

The SIL Kit provides an additional API that allows to use the SIL Kit directly with the C programming language:

Services

Vehicle Network Controller

Data Publish/Subscribe and RPC

State Handling and Synchronization