DYT/Tool/matlab/include/MatlabCppSharedLib/detail/matlab_application_impl.hpp

26 lines
610 B
C++
Raw Permalink Normal View History

2024-11-22 15:19:31 +00:00
/* Copyright 2017 The MathWorks, Inc. */
#ifndef MATLAB_APPLICATION_IMPL_HPP
#define MATLAB_APPLICATION_IMPL_HPP
#include "../matlab_application.hpp"
#include "../cppsharedlib_api.hpp"
namespace matlab {
namespace cpplib {
inline MATLABApplication::MATLABApplication(const MATLABApplicationMode mode, const std::vector<std::u16string>& options)
: _mode(mode), _options(options){
}
inline MATLABApplication::~MATLABApplication() {
terminated = true ;
runtime_terminate_session();
}
}
}
#endif /* MATLAB_APPLICATION_IMPL_HPP */