simulation/extern_include/MatlabDataArray/ArrayFactory.hpp
/**
     * Construct an ArrayFactory
     *
     * @throw FailedToLoadLibMatlabDataArrayException if necessary libraries are not found
     */
Construct an ArrayFactory
@throw FailedToLoadLibMatlabDataArrayException if necessary libraries are not found
Construct an ArrayFactory @throw FailedToLoadLibMatlabDataArrayException if necessary libraries are not found
ArrayFactory() {
        typedef int (*CreateArrayFactoryFcnPtr)(impl::ArrayFactoryImpl**);
        static const CreateArrayFactoryFcnPtr fcn =
            detail::resolveFunction<CreateArrayFactoryFcnPtr>(
                detail::FunctionType::CREATE_ARRAY_FACTORY);
        impl::ArrayFactoryImpl* impl = nullptr;
        detail::throwIfError(fcn(&impl));
        pImpl = std::shared_ptr<impl::ArrayFactoryImpl>(impl, [](impl::ArrayFactoryImpl* ptr) {
            typedef void (*DestroyArrayFactoryFcnPtr)(impl::ArrayFactoryImpl*);
            static const DestroyArrayFactoryFcnPtr destroyFcn =
                detail::resolveFunction<DestroyArrayFactoryFcnPtr>(
                    detail::FunctionType::DESTROY_ARRAY_FACTORY);
            destroyFcn(ptr);
        });
    }
ArrayFactory ( ) { typedef int ( * CreateArrayFactoryFcnPtr ) ( impl :: ArrayFactoryImpl * * ) ; static const CreateArrayFactoryFcnPtr fcn = detail :: resolveFunction < CreateArrayFactoryFcnPtr > ( detail :: FunctionType :: CREATE_ARRAY_FACTORY ) ; impl :: ArrayFactoryImpl * impl = nullptr ; detail :: throwIfError ( fcn ( & impl ) ) ; pImpl = std :: shared_ptr < impl :: ArrayFactoryImpl > ( impl , [ ] ( impl :: ArrayFactoryImpl * ptr ) { typedef void ( * DestroyArrayFactoryFcnPtr ) ( impl :: ArrayFactoryImpl * ) ; static const DestroyArrayFactoryFcnPtr destroyFcn = detail :: resolveFunction < DestroyArrayFactoryFcnPtr > ( detail :: FunctionType :: DESTROY_ARRAY_FACTORY ) ; destroyFcn ( ptr ) ; } ) ; }
Construct an ArrayFactory
 @throw FailedToLoadLibMatlabDataArrayException if necessary libraries are not found
Construct an ArrayFactory @throw FailedToLoadLibMatlabDataArrayException if necessary libraries are not found