Skip to content

Instantly share code, notes, and snippets.

@tasosxak
tasosxak / FMI_Master_Runtime_Monitor.cpp
Created April 28, 2022 13:00
FMI Master with runtime monitor in C++ (DEPLOY_TEMPLATE.cpp)
#include <stdio.h>
#include <stdlib.h>
#include <dlfcn.h>
#include <string>
#include <cstring>
#include <fmi2Functions.h>
#include <fmi2FunctionTypes.h>
#include <iostream>
#include <jni.h>
using namespace std;