This is an overview of how the C++ headers are organised in the installation directory for the Base module.
<install-prefix> refers to the path where the SDK is installed.
The default values depends on your operating system and installation:
/usrwhen installing with the packages and
/usr/localwhen building from source code with the deployment step
The headers of the SDK Base module are grouped semantically under high-level folders:
<install-prefix>/include/metavision/sdk ├── base │ ├── events │ └── utils └── other modules...
In addition to the headers, each of the folders optionally has a
detail folders contain the code that has been removed from the main headers in order to make them more readable.
detail folders include method implementations, helpers, macros, etc. which are not meant to be included directly
in your application.
To include a header from the Base module in your code, just write the full path starting from the
For instance, to access the
events folder contains class definitions for common events that are not related to any particular device.
The most important type of events is
EventCD, which represents a
Contrast Detection (CD) event.
utils folder contains assorted utilities that are deemed generally useful, but don’t belong to any other category.