FIMS
v0.9.3
reference
r/roxygen
c++/doxygen
articles
intro to fims
introducing the fisheries integrated modeling system (fims)
introducing FIMS input data
introducing the fims logging system
fims user setup guide
simple projections using fims
developer
adding a new c++ module
fims path - maturity
c++ training
intro to c++
intro to rcpp
research and development
re sparsity
news
Releases
latest release
changelog
fims website
Loading...
Searching...
No Matches
init_tmb.hpp
Go to the documentation of this file.
1
8
#ifndef SRC_INIT_HPP
9
#define SRC_INIT_HPP
10
11
#include <stdlib.h>
12
#include <Rcpp.h>
13
#include <R_ext/Rdynload.h>
14
15
#ifdef FIMS_ONLOAD_INIT_TMB
22
extern
"C"
SEXP
fims_post_load_init_tmb
() {
23
#ifdef TMB_CCALLABLES
24
Rprintf
(
"** Initializing TMB C callables for FIMS...\n"
);
25
TMB_CCALLABLES
(
"FIMS"
);
26
#endif
27
return
R_NilValue
;
28
}
29
30
#else
31
32
extern
"C"
{
33
39
SEXP
_rcpp_module_boot_fims
();
40
44
static
const
R_CallMethodDef
CallEntries[] = {
45
TMB_CALLDEFS
,
46
{
"_rcpp_module_boot_fims"
, (
DL_FUNC
)&
_rcpp_module_boot_fims
, 0},
47
{
NULL
,
NULL
, 0}};
48
53
__attribute__
((
visibility
(
"default"
)))
void
R_init_FIMS
(
DllInfo
*
dll
) {
54
R_registerRoutines
(
dll
,
NULL
, CallEntries,
NULL
,
NULL
);
55
R_useDynamicSymbols
(
dll
,
FALSE
);
56
#ifdef TMB_CCALLABLES
57
TMB_CCALLABLES
(
"FIMS"
);
58
#endif
59
}
60
}
61
62
#endif
// FIMS_ONLOAD_INIT_TMB
63
64
#endif
// SRC_INIT_HPP
__attribute__
__attribute__((visibility("default"))) void R_init_FIMS(DllInfo *dll)
FIMS shared object initializer.
Definition
init_tmb.hpp:53
_rcpp_module_boot_fims
SEXP _rcpp_module_boot_fims()
TODO: Handles the initialization of the fims rcpp module.
clear_internal
void clear_internal()
Clears the internal objects.
Definition
rcpp_interface.hpp:235
inst
include
interface
TMB
init_tmb.hpp
Generated by
1.9.8