- Fix portability issues with config.h header. Now it is
included by the compiler (via a flag) and the visibility macros have been moved to a separate header. You'll probably need to cleanup your source dir and re-run autogen.sh before compiling sgpem again. git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1191 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
parent
74a2d8ff91
commit
d128ee8608
19
Makefile.am
19
Makefile.am
|
@ -73,11 +73,11 @@ CLEANFILES =
|
||||||
ACLOCAL_AMFLAGS = -I m4
|
ACLOCAL_AMFLAGS = -I m4
|
||||||
|
|
||||||
install_macros = \
|
install_macros = \
|
||||||
m4/sgpemv2-dirs.m4 \
|
m4/sgpemv2-dirs.m4
|
||||||
m4/sgpemv2-visibility.m4
|
|
||||||
macros = \
|
macros = \
|
||||||
m4/compilerflags.m4 \
|
m4/compilerflags.m4 \
|
||||||
m4/linkingflags.m4
|
m4/linkingflags.m4 \
|
||||||
|
m4/sgpemv2-visibility.m4
|
||||||
|
|
||||||
distro_files = \
|
distro_files = \
|
||||||
distro/deb/control-file-v1.0 \
|
distro/deb/control-file-v1.0 \
|
||||||
|
@ -85,7 +85,14 @@ distro_files = \
|
||||||
distro/deb/readme.txt \
|
distro/deb/readme.txt \
|
||||||
distro/ebuild/sgpemv2-1.0.ebuild \
|
distro/ebuild/sgpemv2-1.0.ebuild \
|
||||||
distro/rpm/SPECS/sgpemv2-1.0.spec \
|
distro/rpm/SPECS/sgpemv2-1.0.spec \
|
||||||
distro/rpm/readme.txt
|
distro/rpm/readme.txt \
|
||||||
|
distro/win32/pyloader.vcproj \
|
||||||
|
distro/win32/sgpemv2.vcproj \
|
||||||
|
distro/win32/backend.vcproj \
|
||||||
|
distro/win32/config/config.h \
|
||||||
|
distro/win32/xmlsave.vcproj \
|
||||||
|
distro/win32/sgpemv2.sln \
|
||||||
|
distro/win32/_sgpem.vcproj
|
||||||
|
|
||||||
EXTRA_DIST += \
|
EXTRA_DIST += \
|
||||||
config/config.rpath \
|
config/config.rpath \
|
||||||
|
@ -260,8 +267,9 @@ src_backend_libbackend_la_SOURCES = \
|
||||||
|
|
||||||
# Put here header files that will be installed for the user
|
# Put here header files that will be installed for the user
|
||||||
# For headers used internally by the backend, see below.
|
# For headers used internally by the backend, see below.
|
||||||
|
# Please note that the first listed header is generated by
|
||||||
|
# configure.
|
||||||
pkginclude_HEADERS += \
|
pkginclude_HEADERS += \
|
||||||
config.h \
|
|
||||||
src/backend/sgpemv2/cpu_policies_gatekeeper.hh \
|
src/backend/sgpemv2/cpu_policies_gatekeeper.hh \
|
||||||
src/backend/sgpemv2/cpu_policy.hh \
|
src/backend/sgpemv2/cpu_policy.hh \
|
||||||
src/backend/sgpemv2/cpu_policy_exception.hh \
|
src/backend/sgpemv2/cpu_policy_exception.hh \
|
||||||
|
@ -299,6 +307,7 @@ pkginclude_HEADERS += \
|
||||||
src/backend/sgpemv2/serializer.hh \
|
src/backend/sgpemv2/serializer.hh \
|
||||||
src/backend/sgpemv2/serializer_error.hh \
|
src/backend/sgpemv2/serializer_error.hh \
|
||||||
src/backend/sgpemv2/serializers_gatekeeper.hh \
|
src/backend/sgpemv2/serializers_gatekeeper.hh \
|
||||||
|
src/backend/sgpemv2/sgpemv2-visibility.hh \
|
||||||
src/backend/sgpemv2/simulation.hh \
|
src/backend/sgpemv2/simulation.hh \
|
||||||
src/backend/sgpemv2/simulation_observer.hh \
|
src/backend/sgpemv2/simulation_observer.hh \
|
||||||
src/backend/sgpemv2/simulation_statistics.hh \
|
src/backend/sgpemv2/simulation_statistics.hh \
|
||||||
|
|
11
configure.ac
11
configure.ac
|
@ -44,6 +44,11 @@ AC_CANONICAL_TARGET
|
||||||
dnl starting automake
|
dnl starting automake
|
||||||
AM_INIT_AUTOMAKE([dejagnu dist-bzip2 subdir-objects])
|
AM_INIT_AUTOMAKE([dejagnu dist-bzip2 subdir-objects])
|
||||||
|
|
||||||
|
dnl HACK to avoid multiple definition of macros when
|
||||||
|
dnl including spgemv2-config.h (autoheader generated)
|
||||||
|
AH_TOP([#if not defined PACKAGE])
|
||||||
|
AH_BOTTOM([#endif])
|
||||||
|
|
||||||
dnl gettext & libtool
|
dnl gettext & libtool
|
||||||
AC_PROG_LIBTOOL
|
AC_PROG_LIBTOOL
|
||||||
AM_GNU_GETTEXT([external])
|
AM_GNU_GETTEXT([external])
|
||||||
|
@ -61,6 +66,7 @@ AC_CHECK_CXXFLAG([CXXFLAGS], [Wall])
|
||||||
AC_CHECK_CXXFLAG([CXXFLAGS], [pedantic])
|
AC_CHECK_CXXFLAG([CXXFLAGS], [pedantic])
|
||||||
AC_CHECK_CXXFLAG([CXXFLAGS], [Wextra])
|
AC_CHECK_CXXFLAG([CXXFLAGS], [Wextra])
|
||||||
AC_CHECK_CXXFLAG([CXXFLAGS], [Wno-long-long])
|
AC_CHECK_CXXFLAG([CXXFLAGS], [Wno-long-long])
|
||||||
|
AC_CHECK_CXXFLAG([CXXFLAGS], [fvisibility-inlines-hidden])
|
||||||
AC_CHECK_LDFLAG([LDFLAGS],[--as-needed])
|
AC_CHECK_LDFLAG([LDFLAGS],[--as-needed])
|
||||||
|
|
||||||
dnl see if we've to enable debug flags
|
dnl see if we've to enable debug flags
|
||||||
|
@ -107,9 +113,6 @@ PKG_CHECK_MODULES([LIBGLADEMM],
|
||||||
[libglademm-2.4 >= $LIBGLADEMM_VERSION],
|
[libglademm-2.4 >= $LIBGLADEMM_VERSION],
|
||||||
:, AC_MSG_ERROR([$LIBGLADEMM_PKG_ERRORS]))
|
:, AC_MSG_ERROR([$LIBGLADEMM_PKG_ERRORS]))
|
||||||
|
|
||||||
dnl use DSO visibility tags for systems that supports it correctly
|
|
||||||
SGPEMV2_VISIBILITY_SUPPORT
|
|
||||||
|
|
||||||
dnl check for Doxygen
|
dnl check for Doxygen
|
||||||
AC_CHECK_PROG([HAVE_DOXYGEN],[doxygen],[yes])
|
AC_CHECK_PROG([HAVE_DOXYGEN],[doxygen],[yes])
|
||||||
AC_CHECK_PROG([HAVE_DOT],[dot], [yes])
|
AC_CHECK_PROG([HAVE_DOT],[dot], [yes])
|
||||||
|
@ -129,6 +132,8 @@ dnl output files
|
||||||
AC_CONFIG_FILES([config/Doxyfile config/sgpemv2.pc config/sgpemv2-uninstalled.pc])
|
AC_CONFIG_FILES([config/Doxyfile config/sgpemv2.pc config/sgpemv2-uninstalled.pc])
|
||||||
AC_CONFIG_HEADERS([config.h:config.h.in])
|
AC_CONFIG_HEADERS([config.h:config.h.in])
|
||||||
|
|
||||||
|
# force include of configuration header in every compilation unit
|
||||||
|
CPPFLAGS="${CPPFLAGS} -include config.h"
|
||||||
|
|
||||||
dnl configure plugin directories
|
dnl configure plugin directories
|
||||||
dnl TODO: make this conditional
|
dnl TODO: make this conditional
|
||||||
|
|
|
@ -1,87 +0,0 @@
|
||||||
dnl m4/sgpemv2-visibility.m4 - Copyright 2005, 2006, University
|
|
||||||
dnl of Padova, dept. of Pure and Applied
|
|
||||||
dnl Mathematics
|
|
||||||
dnl
|
|
||||||
dnl This file is part of SGPEMv2.
|
|
||||||
dnl
|
|
||||||
dnl This is free software; you can redistribute it and/or modify
|
|
||||||
dnl it under the terms of the GNU General Public License as published by
|
|
||||||
dnl the Free Software Foundation; either version 2 of the License, or
|
|
||||||
dnl (at your option) any later version.
|
|
||||||
dnl
|
|
||||||
dnl SGPEMv2 is distributed in the hope that it will be useful,
|
|
||||||
dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
dnl GNU General Public License for more details.
|
|
||||||
dnl
|
|
||||||
dnl You should have received a copy of the GNU General Public License
|
|
||||||
dnl along with SGPEMv2; if not, write to the Free Software
|
|
||||||
dnl Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
|
|
||||||
dnl ---------- AC_PROG_SGPEMV2 ---------------------
|
|
||||||
dnl
|
|
||||||
dnl Synopsis: AC_PROG_SGPEMV2([min_version])
|
|
||||||
dnl
|
|
||||||
dnl This macro enables the new DSO visibility
|
|
||||||
dnl support for compilers that supports it, defining
|
|
||||||
dnl the following preprocessor macros:
|
|
||||||
dnl SG_DLLEXPORT : for objects exported by the DSO
|
|
||||||
dnl SG_DLLIMPORT : for objects imported by the DSO
|
|
||||||
dnl SG_DLLLOCAL : for objects local to the DSO
|
|
||||||
dnl SG_DLLPUBLIC : for objects public outside the DSO
|
|
||||||
dnl
|
|
||||||
dnl Example of usage: SGPEMV2_VISIBILITY_SUPPORT
|
|
||||||
dnl ------------------------------------------------
|
|
||||||
AC_DEFUN([SGPEMV2_VISIBILITY_SUPPORT],
|
|
||||||
[
|
|
||||||
|
|
||||||
dnl use DSO visibility tags for systems that supports it correctly
|
|
||||||
dnl (for example, GCC 4.0 and above)
|
|
||||||
dnl see http://gcc.gnu.org/wiki/Visibility for more informations
|
|
||||||
AH_TEMPLATE([SG_DLLEXPORT],[Attribute for objects to be exported from DSOs])
|
|
||||||
AH_TEMPLATE([SG_DLLIMPORT],[Attribute for objects to be imported from DSOs])
|
|
||||||
AH_TEMPLATE([SG_DLLLOCAL], [Attribute for objects local to current DSO])
|
|
||||||
AH_TEMPLATE([SG_DLLPUBLIC],[Attribute for DSO public objects])
|
|
||||||
|
|
||||||
AC_ARG_ENABLE([visibility-support],
|
|
||||||
AS_HELP_STRING([--disable-visibility-support],
|
|
||||||
[disable the new GCC visibility support]),
|
|
||||||
[enable_gcc_visibility="$enableval"],
|
|
||||||
[enable_gcc_visibility="yes"])
|
|
||||||
AC_MSG_CHECKING([whether to use new GCC visibility attributes])
|
|
||||||
|
|
||||||
dnl for now it works only with GCC >= 4.0.0
|
|
||||||
AC_LANG_PUSH([C++])
|
|
||||||
if test "x$enable_gcc_visibility" = "xyes"; then
|
|
||||||
AC_COMPILE_IFELSE(
|
|
||||||
AC_LANG_PROGRAM([], [
|
|
||||||
#if defined __GNUC__ && (__GNUC__) >= 4
|
|
||||||
return 0;
|
|
||||||
#else
|
|
||||||
bails out with a compilation error.
|
|
||||||
#endif
|
|
||||||
]),
|
|
||||||
:,
|
|
||||||
[enable_gcc_visibility="no"])
|
|
||||||
fi
|
|
||||||
AC_LANG_POP
|
|
||||||
|
|
||||||
if test "x$enable_gcc_visibility" = "xyes"; then
|
|
||||||
AC_MSG_RESULT([yes])
|
|
||||||
AC_DEFINE([SG_DLLIMPORT],[/* intentionally left with no value */])
|
|
||||||
AC_DEFINE([SG_DLLEXPORT],[__attribute__ ((visibility("default")))])
|
|
||||||
AC_DEFINE([SG_DLLLOCAL],[__attribute__ ((visibility("hidden")))])
|
|
||||||
AC_DEFINE([SG_DLLPUBLIC],[__attribute__ ((visibility("default")))])
|
|
||||||
|
|
||||||
AC_CHECK_CXXFLAG([VISIB_HIDDEN], [fvisibility=hidden])
|
|
||||||
AC_SUBST([VISIB_HIDDEN])
|
|
||||||
AC_CHECK_CXXFLAG([CXXFLAGS],[fvisibility-inlines-hidden])
|
|
||||||
else
|
|
||||||
AC_MSG_RESULT([no])
|
|
||||||
AC_DEFINE([SG_DLLIMPORT],[/* unsupported */])
|
|
||||||
AC_DEFINE([SG_DLLEXPORT],[/* unsupported */])
|
|
||||||
AC_DEFINE([SG_DLLLOCAL],[/* unsupported */])
|
|
||||||
AC_DEFINE([SG_DLLPUBLIC],[/* unsupported */])
|
|
||||||
fi
|
|
||||||
])dnl ------- SGPEMV2_VISIBILITY_SUPPORT ---------------------
|
|
||||||
|
|
|
@ -61,6 +61,7 @@ AC_CHECK_CXXFLAG([CXXFLAGS], [Wall])
|
||||||
AC_CHECK_CXXFLAG([CXXFLAGS], [pedantic])
|
AC_CHECK_CXXFLAG([CXXFLAGS], [pedantic])
|
||||||
AC_CHECK_CXXFLAG([CXXFLAGS], [Wextra])
|
AC_CHECK_CXXFLAG([CXXFLAGS], [Wextra])
|
||||||
AC_CHECK_CXXFLAG([CXXFLAGS], [Wno-long-long])
|
AC_CHECK_CXXFLAG([CXXFLAGS], [Wno-long-long])
|
||||||
|
AC_CHECK_CXXFLAG([CXXFLAGS], [fvisibility-inlines-hidden])
|
||||||
AC_CHECK_LDFLAG([LDFLAGS], [--as-needed])
|
AC_CHECK_LDFLAG([LDFLAGS], [--as-needed])
|
||||||
|
|
||||||
dnl see if we've to enable debug flags
|
dnl see if we've to enable debug flags
|
||||||
|
@ -112,9 +113,6 @@ PKG_CHECK_MODULES([GLIBMM],
|
||||||
[glibmm-2.4 >= $GTKMM_VERSION],
|
[glibmm-2.4 >= $GTKMM_VERSION],
|
||||||
:, AC_MSG_ERROR([$GLIBMM_PKG_ERRORS]))
|
:, AC_MSG_ERROR([$GLIBMM_PKG_ERRORS]))
|
||||||
|
|
||||||
dnl use DSO visibility tags for systems that supports it correctly
|
|
||||||
SGPEMV2_VISIBILITY_SUPPORT
|
|
||||||
|
|
||||||
dnl see if we've to compile tests
|
dnl see if we've to compile tests
|
||||||
AC_MSG_CHECKING([whether tests have to be built])
|
AC_MSG_CHECKING([whether tests have to be built])
|
||||||
AC_ARG_ENABLE([tests],
|
AC_ARG_ENABLE([tests],
|
||||||
|
|
|
@ -1,88 +0,0 @@
|
||||||
dnl m4/sgpemv2-visibility.m4 - Copyright 2005, 2006, University
|
|
||||||
dnl of Padova, dept. of Pure and Applied
|
|
||||||
dnl Mathematics
|
|
||||||
dnl
|
|
||||||
dnl This file is part of SGPEMv2.
|
|
||||||
dnl
|
|
||||||
dnl This is free software; you can redistribute it and/or modify
|
|
||||||
dnl it under the terms of the GNU General Public License as published by
|
|
||||||
dnl the Free Software Foundation; either version 2 of the License, or
|
|
||||||
dnl (at your option) any later version.
|
|
||||||
dnl
|
|
||||||
dnl SGPEMv2 is distributed in the hope that it will be useful,
|
|
||||||
dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
dnl GNU General Public License for more details.
|
|
||||||
dnl
|
|
||||||
dnl You should have received a copy of the GNU General Public License
|
|
||||||
dnl along with SGPEMv2; if not, write to the Free Software
|
|
||||||
dnl Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
|
|
||||||
dnl ---------- AC_PROG_SGPEMV2 ---------------------
|
|
||||||
dnl
|
|
||||||
dnl Synopsis: AC_PROG_SGPEMV2([min_version])
|
|
||||||
dnl
|
|
||||||
dnl This macro enables the new DSO visibility
|
|
||||||
dnl support for compilers that supports it, defining
|
|
||||||
dnl the following preprocessor macros:
|
|
||||||
dnl SG_DLLEXPORT : for objects exported by the DSO
|
|
||||||
dnl SG_DLLIMPORT : for objects imported by the DSO
|
|
||||||
dnl SG_DLLLOCAL : for objects local to the DSO
|
|
||||||
dnl SG_DLLPUBLIC : for objects public outside the DSO
|
|
||||||
dnl
|
|
||||||
dnl Example of usage: SGPEMV2_VISIBILITY_SUPPORT
|
|
||||||
dnl ------------------------------------------------
|
|
||||||
AC_DEFUN([SGPEMV2_VISIBILITY_SUPPORT],
|
|
||||||
[
|
|
||||||
|
|
||||||
dnl use DSO visibility tags for systems that supports it correctly
|
|
||||||
dnl (for example, GCC 4.0 and above)
|
|
||||||
dnl see http://gcc.gnu.org/wiki/Visibility for more informations
|
|
||||||
AH_TEMPLATE([SG_DLLEXPORT],[Attribute for objects to be exported from DSOs])
|
|
||||||
AH_TEMPLATE([SG_DLLIMPORT],[Attribute for objects to be imported from DSOs])
|
|
||||||
AH_TEMPLATE([SG_DLLLOCAL], [Attribute for objects local to current DSO])
|
|
||||||
AH_TEMPLATE([SG_DLLPUBLIC],[Attribute for DSO public objects])
|
|
||||||
|
|
||||||
AC_ARG_ENABLE([visibility-support],
|
|
||||||
AS_HELP_STRING([--disable-visibility-support],
|
|
||||||
[disable the new GCC visibility support]),
|
|
||||||
[enable_gcc_visibility="$enableval"],
|
|
||||||
[enable_gcc_visibility="yes"])
|
|
||||||
AC_MSG_CHECKING([whether to use new GCC visibility attributes])
|
|
||||||
|
|
||||||
dnl for now it works only with GCC >= 4.0.0
|
|
||||||
AC_LANG_PUSH([C++])
|
|
||||||
if test "x$enable_gcc_visibility" = "xyes"; then
|
|
||||||
AC_COMPILE_IFELSE(
|
|
||||||
AC_LANG_PROGRAM([], [
|
|
||||||
#if defined __GNUC__ && (__GNUC__) >= 4
|
|
||||||
return 0;
|
|
||||||
#else
|
|
||||||
bails out with a compilation error.
|
|
||||||
#endif
|
|
||||||
]),
|
|
||||||
:,
|
|
||||||
[enable_gcc_visibility="no"])
|
|
||||||
fi
|
|
||||||
AC_LANG_POP
|
|
||||||
|
|
||||||
if test "x$enable_gcc_visibility" = "xyes"; then
|
|
||||||
AC_MSG_RESULT([yes])
|
|
||||||
AC_DEFINE([SG_DLLIMPORT],[/* intentionally left with no value */])
|
|
||||||
AC_DEFINE([SG_DLLEXPORT],[__attribute__ ((visibility("default")))])
|
|
||||||
AC_DEFINE([SG_DLLLOCAL],[__attribute__ ((visibility("hidden")))])
|
|
||||||
AC_DEFINE([SG_DLLPUBLIC],[__attribute__ ((visibility("default")))])
|
|
||||||
|
|
||||||
AC_CHECK_CXXFLAG([VISIB_HIDDEN], [fvisibility=hidden])
|
|
||||||
AC_SUBST([VISIB_HIDDEN])
|
|
||||||
AC_CHECK_CXXFLAG([CXXFLAGS],[fvisibility-inlines-hidden])
|
|
||||||
else
|
|
||||||
AC_MSG_RESULT([no])
|
|
||||||
AC_DEFINE([SG_DLLIMPORT],[/* unsupported */])
|
|
||||||
AC_DEFINE([SG_DLLEXPORT],[/* unsupported */])
|
|
||||||
AC_DEFINE([SG_DLLLOCAL],[/* unsupported */])
|
|
||||||
AC_DEFINE([SG_DLLPUBLIC],[/* unsupported */])
|
|
||||||
fi
|
|
||||||
|
|
||||||
])dnl ------- SGPEMV2_VISIBILITY_SUPPORT ---------------------
|
|
||||||
|
|
|
@ -50,8 +50,7 @@ ACLOCAL_AMFLAGS = -I m4
|
||||||
|
|
||||||
macros = m4/compilerflags.m4 \
|
macros = m4/compilerflags.m4 \
|
||||||
m4/linkingflags.m4 \
|
m4/linkingflags.m4 \
|
||||||
m4/sgpemv2-dirs.m4 \
|
m4/sgpemv2-dirs.m4
|
||||||
m4/sgpemv2-visibility.m4
|
|
||||||
|
|
||||||
EXTRA_DIST += \
|
EXTRA_DIST += \
|
||||||
config/config.rpath \
|
config/config.rpath \
|
||||||
|
|
|
@ -61,6 +61,7 @@ AC_CHECK_CXXFLAG([CXXFLAGS], [Wall])
|
||||||
AC_CHECK_CXXFLAG([CXXFLAGS], [pedantic])
|
AC_CHECK_CXXFLAG([CXXFLAGS], [pedantic])
|
||||||
AC_CHECK_CXXFLAG([CXXFLAGS], [Wextra])
|
AC_CHECK_CXXFLAG([CXXFLAGS], [Wextra])
|
||||||
AC_CHECK_CXXFLAG([CXXFLAGS], [Wno-long-long])
|
AC_CHECK_CXXFLAG([CXXFLAGS], [Wno-long-long])
|
||||||
|
AC_CHECK_CXXFLAG([CXXFLAGS], [fvisibility-inlines-hidden])
|
||||||
AC_CHECK_LDFLAG([LDFLAGS], [--as-needed])
|
AC_CHECK_LDFLAG([LDFLAGS], [--as-needed])
|
||||||
|
|
||||||
dnl see if we've to enable debug flags
|
dnl see if we've to enable debug flags
|
||||||
|
@ -110,9 +111,6 @@ PKG_CHECK_MODULES([LIBXML2],
|
||||||
:, AC_MSG_ERROR([$LIBXML2_PKG_ERRORS]))
|
:, AC_MSG_ERROR([$LIBXML2_PKG_ERRORS]))
|
||||||
|
|
||||||
|
|
||||||
dnl use DSO visibility tags for systems that supports it correctly
|
|
||||||
SGPEMV2_VISIBILITY_SUPPORT
|
|
||||||
|
|
||||||
dnl see if we've to compile tests
|
dnl see if we've to compile tests
|
||||||
AC_MSG_CHECKING([whether tests have to be built])
|
AC_MSG_CHECKING([whether tests have to be built])
|
||||||
AC_ARG_ENABLE([tests],
|
AC_ARG_ENABLE([tests],
|
||||||
|
|
|
@ -1,88 +0,0 @@
|
||||||
dnl m4/sgpemv2-visibility.m4 - Copyright 2005, 2006, University
|
|
||||||
dnl of Padova, dept. of Pure and Applied
|
|
||||||
dnl Mathematics
|
|
||||||
dnl
|
|
||||||
dnl This file is part of SGPEMv2.
|
|
||||||
dnl
|
|
||||||
dnl This is free software; you can redistribute it and/or modify
|
|
||||||
dnl it under the terms of the GNU General Public License as published by
|
|
||||||
dnl the Free Software Foundation; either version 2 of the License, or
|
|
||||||
dnl (at your option) any later version.
|
|
||||||
dnl
|
|
||||||
dnl SGPEMv2 is distributed in the hope that it will be useful,
|
|
||||||
dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
dnl GNU General Public License for more details.
|
|
||||||
dnl
|
|
||||||
dnl You should have received a copy of the GNU General Public License
|
|
||||||
dnl along with SGPEMv2; if not, write to the Free Software
|
|
||||||
dnl Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
|
|
||||||
dnl ---------- AC_PROG_SGPEMV2 ---------------------
|
|
||||||
dnl
|
|
||||||
dnl Synopsis: AC_PROG_SGPEMV2([min_version])
|
|
||||||
dnl
|
|
||||||
dnl This macro enables the new DSO visibility
|
|
||||||
dnl support for compilers that supports it, defining
|
|
||||||
dnl the following preprocessor macros:
|
|
||||||
dnl SG_DLLEXPORT : for objects exported by the DSO
|
|
||||||
dnl SG_DLLIMPORT : for objects imported by the DSO
|
|
||||||
dnl SG_DLLLOCAL : for objects local to the DSO
|
|
||||||
dnl SG_DLLPUBLIC : for objects public outside the DSO
|
|
||||||
dnl
|
|
||||||
dnl Example of usage: SGPEMV2_VISIBILITY_SUPPORT
|
|
||||||
dnl ------------------------------------------------
|
|
||||||
AC_DEFUN([SGPEMV2_VISIBILITY_SUPPORT],
|
|
||||||
[
|
|
||||||
|
|
||||||
dnl use DSO visibility tags for systems that supports it correctly
|
|
||||||
dnl (for example, GCC 4.0 and above)
|
|
||||||
dnl see http://gcc.gnu.org/wiki/Visibility for more informations
|
|
||||||
AH_TEMPLATE([SG_DLLEXPORT],[Attribute for objects to be exported from DSOs])
|
|
||||||
AH_TEMPLATE([SG_DLLIMPORT],[Attribute for objects to be imported from DSOs])
|
|
||||||
AH_TEMPLATE([SG_DLLLOCAL], [Attribute for objects local to current DSO])
|
|
||||||
AH_TEMPLATE([SG_DLLPUBLIC],[Attribute for DSO public objects])
|
|
||||||
|
|
||||||
AC_ARG_ENABLE([visibility-support],
|
|
||||||
AS_HELP_STRING([--disable-visibility-support],
|
|
||||||
[disable the new GCC visibility support]),
|
|
||||||
[enable_gcc_visibility="$enableval"],
|
|
||||||
[enable_gcc_visibility="yes"])
|
|
||||||
AC_MSG_CHECKING([whether to use new GCC visibility attributes])
|
|
||||||
|
|
||||||
dnl for now it works only with GCC >= 4.0.0
|
|
||||||
AC_LANG_PUSH([C++])
|
|
||||||
if test "x$enable_gcc_visibility" = "xyes"; then
|
|
||||||
AC_COMPILE_IFELSE(
|
|
||||||
AC_LANG_PROGRAM([], [
|
|
||||||
#if defined __GNUC__ && (__GNUC__) >= 4
|
|
||||||
return 0;
|
|
||||||
#else
|
|
||||||
bails out with a compilation error.
|
|
||||||
#endif
|
|
||||||
]),
|
|
||||||
:,
|
|
||||||
[enable_gcc_visibility="no"])
|
|
||||||
fi
|
|
||||||
AC_LANG_POP
|
|
||||||
|
|
||||||
if test "x$enable_gcc_visibility" = "xyes"; then
|
|
||||||
AC_MSG_RESULT([yes])
|
|
||||||
AC_DEFINE([SG_DLLIMPORT],[/* intentionally left with no value */])
|
|
||||||
AC_DEFINE([SG_DLLEXPORT],[__attribute__ ((visibility("default")))])
|
|
||||||
AC_DEFINE([SG_DLLLOCAL],[__attribute__ ((visibility("hidden")))])
|
|
||||||
AC_DEFINE([SG_DLLPUBLIC],[__attribute__ ((visibility("default")))])
|
|
||||||
|
|
||||||
AC_CHECK_CXXFLAG([VISIB_HIDDEN], [fvisibility=hidden])
|
|
||||||
AC_SUBST([VISIB_HIDDEN])
|
|
||||||
AC_CHECK_CXXFLAG([CXXFLAGS],[fvisibility-inlines-hidden])
|
|
||||||
else
|
|
||||||
AC_MSG_RESULT([no])
|
|
||||||
AC_DEFINE([SG_DLLIMPORT],[/* unsupported */])
|
|
||||||
AC_DEFINE([SG_DLLEXPORT],[/* unsupported */])
|
|
||||||
AC_DEFINE([SG_DLLLOCAL],[/* unsupported */])
|
|
||||||
AC_DEFINE([SG_DLLPUBLIC],[/* unsupported */])
|
|
||||||
fi
|
|
||||||
|
|
||||||
])dnl ------- SGPEMV2_VISIBILITY_SUPPORT ---------------------
|
|
||||||
|
|
|
@ -27,7 +27,7 @@ namespace sgpem
|
||||||
class Thread;
|
class Thread;
|
||||||
}
|
}
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
|
|
||||||
#include <gtkmm/treeview.h>
|
#include <gtkmm/treeview.h>
|
||||||
#include <gtkmm/liststore.h>
|
#include <gtkmm/liststore.h>
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
#ifndef CONCRETE_ENVIRONMENT_HH
|
#ifndef CONCRETE_ENVIRONMENT_HH
|
||||||
#define CONCRETE_ENVIRONMENT_HH 1
|
#define CONCRETE_ENVIRONMENT_HH 1
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
#include <sgpemv2/environment.hh>
|
#include <sgpemv2/environment.hh>
|
||||||
#include <sgpemv2/resource.hh>
|
#include <sgpemv2/resource.hh>
|
||||||
#include "dynamic_process.hh"
|
#include "dynamic_process.hh"
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
// along with SGPEMv2; if not, write to the Free Software
|
// along with SGPEMv2; if not, write to the Free Software
|
||||||
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
|
|
||||||
#include "dynamic_process.hh"
|
#include "dynamic_process.hh"
|
||||||
#include "dynamic_thread.hh"
|
#include "dynamic_thread.hh"
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
#ifndef CONCRETE_HISTORY_HH
|
#ifndef CONCRETE_HISTORY_HH
|
||||||
#define CONCRETE_HISTORY_HH 1
|
#define CONCRETE_HISTORY_HH 1
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
|
|
||||||
#include "concrete_environment.hh"
|
#include "concrete_environment.hh"
|
||||||
#include "dynamic_process.hh"
|
#include "dynamic_process.hh"
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
#ifndef CONCRETE_PROCESS_STATISTICS_HH
|
#ifndef CONCRETE_PROCESS_STATISTICS_HH
|
||||||
#define CONCRETE_PROCESS_STATISTICS_HH 1
|
#define CONCRETE_PROCESS_STATISTICS_HH 1
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
|
|
||||||
#include <sgpemv2/process_statistics.hh>
|
#include <sgpemv2/process_statistics.hh>
|
||||||
#include <sgpemv2/thread_statistics.hh>
|
#include <sgpemv2/thread_statistics.hh>
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
#ifndef CONCRETE_SIMULATION_HH
|
#ifndef CONCRETE_SIMULATION_HH
|
||||||
#define CONCRETE_SIMULATION_HH 1
|
#define CONCRETE_SIMULATION_HH 1
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
|
|
||||||
#include <sgpemv2/simulation.hh>
|
#include <sgpemv2/simulation.hh>
|
||||||
#include "concrete_history.hh"
|
#include "concrete_history.hh"
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
#ifndef CONCRETE_SIMULATION_STATISTICS_HH
|
#ifndef CONCRETE_SIMULATION_STATISTICS_HH
|
||||||
#define CONCRETE_SIMULATION_STATISTICS_HH 1
|
#define CONCRETE_SIMULATION_STATISTICS_HH 1
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
|
|
||||||
#include <sgpemv2/simulation_statistics.hh>
|
#include <sgpemv2/simulation_statistics.hh>
|
||||||
#include "concrete_process_statistics.hh"
|
#include "concrete_process_statistics.hh"
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
#ifndef CONCRETE_STATISTICS_HH
|
#ifndef CONCRETE_STATISTICS_HH
|
||||||
#define CONCRETE_STATISTICS_HH 1
|
#define CONCRETE_STATISTICS_HH 1
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
|
|
||||||
#include <sgpemv2/statistics.hh>
|
#include <sgpemv2/statistics.hh>
|
||||||
#include "concrete_process_statistics.hh"
|
#include "concrete_process_statistics.hh"
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
#ifndef CONCRETE_THREAD_STATISTICS_HH
|
#ifndef CONCRETE_THREAD_STATISTICS_HH
|
||||||
#define CONCRETE_THREAD_STATISTICS_HH 1
|
#define CONCRETE_THREAD_STATISTICS_HH 1
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
|
|
||||||
#include <sgpemv2/thread_statistics.hh>
|
#include <sgpemv2/thread_statistics.hh>
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
// along with SGPEMv2; if not, write to the Free Software
|
// along with SGPEMv2; if not, write to the Free Software
|
||||||
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
|
|
||||||
#include <sgpemv2/cpu_policies_gatekeeper.hh>
|
#include <sgpemv2/cpu_policies_gatekeeper.hh>
|
||||||
#include <sgpemv2/cpu_policy_manager.hh>
|
#include <sgpemv2/cpu_policy_manager.hh>
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
#ifndef DYNAMIC_PROCESS_HH
|
#ifndef DYNAMIC_PROCESS_HH
|
||||||
#define DYNAMIC_PROCESS_HH 1
|
#define DYNAMIC_PROCESS_HH 1
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
#include "gettext.h"
|
#include "gettext.h"
|
||||||
|
|
||||||
#include <sgpemv2/process.hh>
|
#include <sgpemv2/process.hh>
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
#ifndef DYNAMIC_REQUEST_HH
|
#ifndef DYNAMIC_REQUEST_HH
|
||||||
#define DYNAMIC_REQUEST_HH 1
|
#define DYNAMIC_REQUEST_HH 1
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
|
|
||||||
#include <sgpemv2/request.hh>
|
#include <sgpemv2/request.hh>
|
||||||
#include "static_request.hh"
|
#include "static_request.hh"
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
#ifndef DYNAMIC_RESOURCE_HH
|
#ifndef DYNAMIC_RESOURCE_HH
|
||||||
#define DYNAMIC_RESOURCE_HH 1
|
#define DYNAMIC_RESOURCE_HH 1
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
#include "glibmm/ustring.h"
|
#include "glibmm/ustring.h"
|
||||||
|
|
||||||
#include <sgpemv2/templates/smartp.hh>
|
#include <sgpemv2/templates/smartp.hh>
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
#ifndef DYNAMIC_SCHEDULABLE_HH
|
#ifndef DYNAMIC_SCHEDULABLE_HH
|
||||||
#define DYNAMIC_SCHEDULABLE_HH 1
|
#define DYNAMIC_SCHEDULABLE_HH 1
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
#include <sgpemv2/schedulable.hh>
|
#include <sgpemv2/schedulable.hh>
|
||||||
#include "static_schedulable.hh"
|
#include "static_schedulable.hh"
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
#ifndef DYNAMIC_SUB_REQUEST_HH
|
#ifndef DYNAMIC_SUB_REQUEST_HH
|
||||||
#define DYNAMIC_SUB_REQUEST_HH 1
|
#define DYNAMIC_SUB_REQUEST_HH 1
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
|
|
||||||
#include <sgpemv2/request.hh>
|
#include <sgpemv2/request.hh>
|
||||||
#include <sgpemv2/sub_request.hh>
|
#include <sgpemv2/sub_request.hh>
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
#ifndef DYNAMIC_THREAD_HH
|
#ifndef DYNAMIC_THREAD_HH
|
||||||
#define DYNAMIC_THREAD_HH 1
|
#define DYNAMIC_THREAD_HH 1
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
#include "gettext.h"
|
#include "gettext.h"
|
||||||
#include "glibmm/ustring.h"
|
#include "glibmm/ustring.h"
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
// along with SGPEMv2; if not, write to the Free Software
|
// along with SGPEMv2; if not, write to the Free Software
|
||||||
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
#include "gettext.h"
|
#include "gettext.h"
|
||||||
|
|
||||||
#include <glib/gstdio.h>
|
#include <glib/gstdio.h>
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
// along with SGPEMv2; if not, write to the Free Software
|
// along with SGPEMv2; if not, write to the Free Software
|
||||||
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
|
|
||||||
#include <sgpemv2/history.hh>
|
#include <sgpemv2/history.hh>
|
||||||
#include <sgpemv2/history_observer.hh>
|
#include <sgpemv2/history_observer.hh>
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
// along with SGPEMv2; if not, write to the Free Software
|
// along with SGPEMv2; if not, write to the Free Software
|
||||||
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
|
|
||||||
#include <sgpemv2/invalid_plugin_exception.hh>
|
#include <sgpemv2/invalid_plugin_exception.hh>
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
// along with SGPEMv2; if not, write to the Free Software
|
// along with SGPEMv2; if not, write to the Free Software
|
||||||
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
#include <sgpemv2/key_file.hh>
|
#include <sgpemv2/key_file.hh>
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
// along with SGPEMv2; if not, write to the Free Software
|
// along with SGPEMv2; if not, write to the Free Software
|
||||||
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
|
|
||||||
#include <sgpemv2/module.hh>
|
#include <sgpemv2/module.hh>
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
// along with SGPEMv2; if not, write to the Free Software
|
// along with SGPEMv2; if not, write to the Free Software
|
||||||
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
|
|
||||||
#include <sgpemv2/plugin_manager.hh>
|
#include <sgpemv2/plugin_manager.hh>
|
||||||
#include <sgpemv2/module.hh>
|
#include <sgpemv2/module.hh>
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
// along with SGPEMv2; if not, write to the Free Software
|
// along with SGPEMv2; if not, write to the Free Software
|
||||||
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
#include "gettext.h"
|
#include "gettext.h"
|
||||||
|
|
||||||
#include <sgpemv2/ready_queue.hh>
|
#include <sgpemv2/ready_queue.hh>
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
// along with SGPEMv2; if not, write to the Free Software
|
// along with SGPEMv2; if not, write to the Free Software
|
||||||
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
|
|
||||||
#include <sgpemv2/resource_policies_gatekeeper.hh>
|
#include <sgpemv2/resource_policies_gatekeeper.hh>
|
||||||
#include <sgpemv2/resource_policy_manager.hh>
|
#include <sgpemv2/resource_policy_manager.hh>
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
// along with SGPEMv2; if not, write to the Free Software
|
// along with SGPEMv2; if not, write to the Free Software
|
||||||
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
|
|
||||||
#include <sgpemv2/serializer_error.hh>
|
#include <sgpemv2/serializer_error.hh>
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
// along with SGPEMv2; if not, write to the Free Software
|
// along with SGPEMv2; if not, write to the Free Software
|
||||||
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
|
|
||||||
#include <sgpemv2/serializers_gatekeeper.hh>
|
#include <sgpemv2/serializers_gatekeeper.hh>
|
||||||
#include <sgpemv2/serializer.hh>
|
#include <sgpemv2/serializer.hh>
|
||||||
|
|
|
@ -28,7 +28,7 @@ namespace sgpem
|
||||||
class History;
|
class History;
|
||||||
}
|
}
|
||||||
|
|
||||||
#include "config.h"
|
#include <sgpemv2/sgpemv2-visibility.hh>
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <map>
|
#include <map>
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
#ifndef CPU_POLICY_HH
|
#ifndef CPU_POLICY_HH
|
||||||
#define CPU_POLICY_HH 1
|
#define CPU_POLICY_HH 1
|
||||||
|
|
||||||
#include "config.h"
|
#include <sgpemv2/sgpemv2-visibility.hh>
|
||||||
#include "gettext.h"
|
#include "gettext.h"
|
||||||
|
|
||||||
#include "glibmm/ustring.h"
|
#include "glibmm/ustring.h"
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
#ifndef CPU_POLICY_EXCEPTION
|
#ifndef CPU_POLICY_EXCEPTION
|
||||||
#define CPU_POLICY_EXCEPTION 1
|
#define CPU_POLICY_EXCEPTION 1
|
||||||
|
|
||||||
#include "config.h"
|
#include <sgpemv2/sgpemv2-visibility.hh>
|
||||||
|
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@ namespace sgpem
|
||||||
class CPUPolicyManager;
|
class CPUPolicyManager;
|
||||||
}
|
}
|
||||||
|
|
||||||
#include "config.h"
|
#include <sgpemv2/sgpemv2-visibility.hh>
|
||||||
|
|
||||||
#include <sgpemv2/cpu_policy.hh>
|
#include <sgpemv2/cpu_policy.hh>
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@ namespace sgpem
|
||||||
class ResourcePolicy;
|
class ResourcePolicy;
|
||||||
}
|
}
|
||||||
|
|
||||||
#include "config.h"
|
#include <sgpemv2/sgpemv2-visibility.hh>
|
||||||
|
|
||||||
#include <sgpemv2/resource_policy_manager.hh>
|
#include <sgpemv2/resource_policy_manager.hh>
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
#ifndef ENVIRONMENT_HH
|
#ifndef ENVIRONMENT_HH
|
||||||
#define ENVIRONMENT_HH 1
|
#define ENVIRONMENT_HH 1
|
||||||
|
|
||||||
#include "config.h"
|
#include <sgpemv2/sgpemv2-visibility.hh>
|
||||||
|
|
||||||
#include <sgpemv2/sub_request.hh>
|
#include <sgpemv2/sub_request.hh>
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
#ifndef GLOBAL_PREFERENCES_HH
|
#ifndef GLOBAL_PREFERENCES_HH
|
||||||
#define GLOBAL_PREFERENCES_HH 1
|
#define GLOBAL_PREFERENCES_HH 1
|
||||||
|
|
||||||
#include "config.h"
|
#include <sgpemv2/sgpemv2-visibility.hh>
|
||||||
|
|
||||||
#include <glibmm/fileutils.h>
|
#include <glibmm/fileutils.h>
|
||||||
#include <glibmm/ustring.h>
|
#include <glibmm/ustring.h>
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
#ifndef HISTORY_HH
|
#ifndef HISTORY_HH
|
||||||
#define HISTORY_HH 1
|
#define HISTORY_HH 1
|
||||||
|
|
||||||
#include "config.h"
|
#include <sgpemv2/sgpemv2-visibility.hh>
|
||||||
|
|
||||||
#include <sgpemv2/environment.hh>
|
#include <sgpemv2/environment.hh>
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
#ifndef HISTORY_OBSERVER_HH
|
#ifndef HISTORY_OBSERVER_HH
|
||||||
#define HISTORY_OBSERVER_HH 1
|
#define HISTORY_OBSERVER_HH 1
|
||||||
|
|
||||||
#include "config.h"
|
#include <sgpemv2/sgpemv2-visibility.hh>
|
||||||
|
|
||||||
namespace sgpem
|
namespace sgpem
|
||||||
{
|
{
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
#ifndef INVALID_PLUGIN_EXCEPTION_HH
|
#ifndef INVALID_PLUGIN_EXCEPTION_HH
|
||||||
#define INVALID_PLUGIN_EXCEPTION_HH 1
|
#define INVALID_PLUGIN_EXCEPTION_HH 1
|
||||||
|
|
||||||
#include "config.h"
|
#include <sgpemv2/sgpemv2-visibility.hh>
|
||||||
|
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@ namespace sgpem
|
||||||
class KeyFile;
|
class KeyFile;
|
||||||
}
|
}
|
||||||
|
|
||||||
#include "config.h"
|
#include <sgpemv2/sgpemv2-visibility.hh>
|
||||||
|
|
||||||
#include <glibmm/ustring.h>
|
#include <glibmm/ustring.h>
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
#ifndef MALFORMED_POLICY_EXCEPTION
|
#ifndef MALFORMED_POLICY_EXCEPTION
|
||||||
#define MALFORMED_POLICY_EXCEPTION 1
|
#define MALFORMED_POLICY_EXCEPTION 1
|
||||||
|
|
||||||
#include "config.h"
|
#include <sgpemv2/sgpemv2-visibility.hh>
|
||||||
|
|
||||||
#include <sgpemv2/cpu_policy_exception.hh>
|
#include <sgpemv2/cpu_policy_exception.hh>
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
#ifndef MODULE_HH
|
#ifndef MODULE_HH
|
||||||
#define MODULE_HH 1
|
#define MODULE_HH 1
|
||||||
|
|
||||||
#include "config.h"
|
#include <sgpemv2/sgpemv2-visibility.hh>
|
||||||
|
|
||||||
#include <sgpemv2/invalid_plugin_exception.hh>
|
#include <sgpemv2/invalid_plugin_exception.hh>
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
#ifndef NULL_POLICY_EXCEPTION
|
#ifndef NULL_POLICY_EXCEPTION
|
||||||
#define NULL_POLICY_EXCEPTION 1
|
#define NULL_POLICY_EXCEPTION 1
|
||||||
|
|
||||||
#include "config.h"
|
#include <sgpemv2/sgpemv2-visibility.hh>
|
||||||
|
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
#ifndef SGPEMV2__PLUGIN_HH
|
#ifndef SGPEMV2__PLUGIN_HH
|
||||||
#define SGPEMV2__PLUGIN_HH 1
|
#define SGPEMV2__PLUGIN_HH 1
|
||||||
|
|
||||||
#include "config.h"
|
#include <sgpemv2/sgpemv2-visibility.hh>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C"
|
extern "C"
|
||||||
|
|
|
@ -26,7 +26,7 @@ namespace sgpem
|
||||||
class Module;
|
class Module;
|
||||||
}
|
}
|
||||||
|
|
||||||
#include "config.h"
|
#include <sgpemv2/sgpemv2-visibility.hh>
|
||||||
|
|
||||||
#include <sgpemv2/templates/singleton.hh>
|
#include <sgpemv2/templates/singleton.hh>
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
#ifndef POLICY_PARAMETERS_HH
|
#ifndef POLICY_PARAMETERS_HH
|
||||||
#define POLICY_PARAMETERS_HH 1
|
#define POLICY_PARAMETERS_HH 1
|
||||||
|
|
||||||
#include "config.h"
|
#include <sgpemv2/sgpemv2-visibility.hh>
|
||||||
|
|
||||||
#include <map>
|
#include <map>
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
#ifndef PROCESS_HH
|
#ifndef PROCESS_HH
|
||||||
#define PROCESS_HH 1
|
#define PROCESS_HH 1
|
||||||
|
|
||||||
#include "config.h"
|
#include <sgpemv2/sgpemv2-visibility.hh>
|
||||||
#include "glibmm/ustring.h"
|
#include "glibmm/ustring.h"
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
#ifndef PROCESS_STATISTICS_HH
|
#ifndef PROCESS_STATISTICS_HH
|
||||||
#define PROCESS_STATISTICS_HH 1
|
#define PROCESS_STATISTICS_HH 1
|
||||||
|
|
||||||
#include "config.h"
|
#include <sgpemv2/sgpemv2-visibility.hh>
|
||||||
|
|
||||||
#include <sgpemv2/schedulable_statistics.hh>
|
#include <sgpemv2/schedulable_statistics.hh>
|
||||||
#include <sgpemv2/thread_statistics.hh>
|
#include <sgpemv2/thread_statistics.hh>
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
#ifndef READY_QUEUE_HH
|
#ifndef READY_QUEUE_HH
|
||||||
#define READY_QUEUE_HH 1
|
#define READY_QUEUE_HH 1
|
||||||
|
|
||||||
#include "config.h"
|
#include <sgpemv2/sgpemv2-visibility.hh>
|
||||||
|
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
|
@ -29,7 +29,7 @@ namespace sgpem
|
||||||
class Thread;
|
class Thread;
|
||||||
}
|
}
|
||||||
|
|
||||||
#include "config.h"
|
#include <sgpemv2/sgpemv2-visibility.hh>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
namespace sgpem
|
namespace sgpem
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
#ifndef RESOURCE_HH
|
#ifndef RESOURCE_HH
|
||||||
#define RESOURCE_HH 1
|
#define RESOURCE_HH 1
|
||||||
|
|
||||||
#include "config.h"
|
#include <sgpemv2/sgpemv2-visibility.hh>
|
||||||
#include "glibmm/ustring.h"
|
#include "glibmm/ustring.h"
|
||||||
|
|
||||||
namespace sgpem
|
namespace sgpem
|
||||||
|
|
|
@ -28,7 +28,7 @@ namespace sgpem
|
||||||
class History;
|
class History;
|
||||||
}
|
}
|
||||||
|
|
||||||
#include "config.h"
|
#include <sgpemv2/sgpemv2-visibility.hh>
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <map>
|
#include <map>
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
#ifndef RESOURCE_POLICY_HH
|
#ifndef RESOURCE_POLICY_HH
|
||||||
#define RESOURCE_POLICY_HH 1
|
#define RESOURCE_POLICY_HH 1
|
||||||
|
|
||||||
#include "config.h"
|
#include <sgpemv2/sgpemv2-visibility.hh>
|
||||||
#include "gettext.h"
|
#include "gettext.h"
|
||||||
|
|
||||||
#include "glibmm/ustring.h"
|
#include "glibmm/ustring.h"
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
#ifndef RESOURCE_POLICY_FIFO_HH
|
#ifndef RESOURCE_POLICY_FIFO_HH
|
||||||
#define RESOURCE_POLICY_FIFO_HH 1
|
#define RESOURCE_POLICY_FIFO_HH 1
|
||||||
|
|
||||||
#include "config.h"
|
#include <sgpemv2/sgpemv2-visibility.hh>
|
||||||
#include "gettext.h"
|
#include "gettext.h"
|
||||||
|
|
||||||
#include "glibmm/ustring.h"
|
#include "glibmm/ustring.h"
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
#ifndef RESOURCE_POLICY_LIFO_HH
|
#ifndef RESOURCE_POLICY_LIFO_HH
|
||||||
#define RESOURCE_POLICY_LIFO_HH 1
|
#define RESOURCE_POLICY_LIFO_HH 1
|
||||||
|
|
||||||
#include "config.h"
|
#include <sgpemv2/sgpemv2-visibility.hh>
|
||||||
#include "gettext.h"
|
#include "gettext.h"
|
||||||
|
|
||||||
#include "glibmm/ustring.h"
|
#include "glibmm/ustring.h"
|
||||||
|
|
|
@ -26,7 +26,7 @@ namespace sgpem
|
||||||
class ResourcePolicy;
|
class ResourcePolicy;
|
||||||
}
|
}
|
||||||
|
|
||||||
#include "config.h"
|
#include <sgpemv2/sgpemv2-visibility.hh>
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
#ifndef RESOURCE_POLICY_PRIORITY_HH
|
#ifndef RESOURCE_POLICY_PRIORITY_HH
|
||||||
#define RESOURCE_POLICY_PRIORITY_HH 1
|
#define RESOURCE_POLICY_PRIORITY_HH 1
|
||||||
|
|
||||||
#include "config.h"
|
#include <sgpemv2/sgpemv2-visibility.hh>
|
||||||
#include "gettext.h"
|
#include "gettext.h"
|
||||||
|
|
||||||
#include "glibmm/ustring.h"
|
#include "glibmm/ustring.h"
|
||||||
|
|
|
@ -26,7 +26,7 @@ namespace sgpem
|
||||||
class ResourcePolicyPriorityInheritance;
|
class ResourcePolicyPriorityInheritance;
|
||||||
}
|
}
|
||||||
|
|
||||||
#include "config.h"
|
#include <sgpemv2/sgpemv2-visibility.hh>
|
||||||
#include "gettext.h"
|
#include "gettext.h"
|
||||||
|
|
||||||
#include <sgpemv2/resource_policy.hh>
|
#include <sgpemv2/resource_policy.hh>
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
#ifndef SCHEDULABLE_HH
|
#ifndef SCHEDULABLE_HH
|
||||||
#define SCHEDULABLE_HH 1
|
#define SCHEDULABLE_HH 1
|
||||||
|
|
||||||
#include "config.h"
|
#include <sgpemv2/sgpemv2-visibility.hh>
|
||||||
|
|
||||||
#include <glibmm/ustring.h>
|
#include <glibmm/ustring.h>
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
#ifndef SCHEDULABLE_STATISTICS_HH
|
#ifndef SCHEDULABLE_STATISTICS_HH
|
||||||
#define SCHEDULABLE_STATISTICS_HH 1
|
#define SCHEDULABLE_STATISTICS_HH 1
|
||||||
|
|
||||||
#include "config.h"
|
#include <sgpemv2/sgpemv2-visibility.hh>
|
||||||
|
|
||||||
#include "schedulable.hh"
|
#include "schedulable.hh"
|
||||||
#include <glibmm/ustring.h>
|
#include <glibmm/ustring.h>
|
||||||
|
|
|
@ -26,7 +26,7 @@ namespace sgpem
|
||||||
class CPUPolicy;
|
class CPUPolicy;
|
||||||
}
|
}
|
||||||
|
|
||||||
#include "config.h"
|
#include <sgpemv2/sgpemv2-visibility.hh>
|
||||||
|
|
||||||
#include <sgpemv2/history.hh>
|
#include <sgpemv2/history.hh>
|
||||||
#include <sgpemv2/cpu_policy.hh>
|
#include <sgpemv2/cpu_policy.hh>
|
||||||
|
|
|
@ -32,7 +32,7 @@ namespace sgpem
|
||||||
class SubRequest;
|
class SubRequest;
|
||||||
}
|
}
|
||||||
|
|
||||||
#include "config.h"
|
#include <sgpemv2/sgpemv2-visibility.hh>
|
||||||
|
|
||||||
#include <sgpemv2/serializer_error.hh>
|
#include <sgpemv2/serializer_error.hh>
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
#ifndef SERIALIZER_HH
|
#ifndef SERIALIZER_HH
|
||||||
#define SERIALIZER_HH 1
|
#define SERIALIZER_HH 1
|
||||||
|
|
||||||
#include "config.h"
|
#include <sgpemv2/sgpemv2-visibility.hh>
|
||||||
#include <sgpemv2/history.hh>
|
#include <sgpemv2/history.hh>
|
||||||
#include <sgpemv2/serializer_error.hh>
|
#include <sgpemv2/serializer_error.hh>
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
#ifndef SERIALIZER_ERROR_HH
|
#ifndef SERIALIZER_ERROR_HH
|
||||||
#define SERIALIZER_ERROR_HH 1
|
#define SERIALIZER_ERROR_HH 1
|
||||||
|
|
||||||
#include "config.h"
|
#include <sgpemv2/sgpemv2-visibility.hh>
|
||||||
|
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@ namespace sgpem
|
||||||
class Serializer;
|
class Serializer;
|
||||||
}
|
}
|
||||||
|
|
||||||
#include "config.h"
|
#include <sgpemv2/sgpemv2-visibility.hh>
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,32 @@
|
||||||
|
|
||||||
|
// Visibility macros for GNU GCC
|
||||||
|
|
||||||
|
#if defined __GNUC__ && (__GNUC__) >= 4
|
||||||
|
|
||||||
|
/* Attribute for objects to be exported from DSOs */
|
||||||
|
#define SG_DLLEXPORT __attribute__ ((visibility("default")))
|
||||||
|
|
||||||
|
/* Attribute for objects to be imported from DSOs */
|
||||||
|
#define SG_DLLIMPORT /* intentionally left with no value */
|
||||||
|
|
||||||
|
/* Attribute for objects local to current DSO */
|
||||||
|
#define SG_DLLLOCAL __attribute__ ((visibility("hidden")))
|
||||||
|
|
||||||
|
/* Attribute for DSO public objects */
|
||||||
|
#define SG_DLLPUBLIC __attribute__ ((visibility("default")))
|
||||||
|
|
||||||
|
#else
|
||||||
|
|
||||||
|
/* Attribute for objects to be exported from DSOs */
|
||||||
|
#define SG_DLLEXPORT /* Unsupported */
|
||||||
|
|
||||||
|
/* Attribute for objects to be imported from DSOs */
|
||||||
|
#define SG_DLLIMPORT /* Unsupported */
|
||||||
|
|
||||||
|
/* Attribute for objects local to current DSO */
|
||||||
|
#define SG_DLLLOCAL /* Unsupported */
|
||||||
|
|
||||||
|
/* Attribute for DSO public objects */
|
||||||
|
#define SG_DLLPUBLIC /* Unsupported */
|
||||||
|
|
||||||
|
#endif
|
|
@ -29,7 +29,7 @@ namespace sgpem
|
||||||
class SimulationObserver;
|
class SimulationObserver;
|
||||||
}
|
}
|
||||||
|
|
||||||
#include "config.h"
|
#include <sgpemv2/sgpemv2-visibility.hh>
|
||||||
#include <sgpemv2/history.hh>
|
#include <sgpemv2/history.hh>
|
||||||
#include <sgpemv2/templates/singleton.hh>
|
#include <sgpemv2/templates/singleton.hh>
|
||||||
#include <sgpemv2/cpu_policy_exception.hh>
|
#include <sgpemv2/cpu_policy_exception.hh>
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
#ifndef SIMULATION_OBSERVER_HH
|
#ifndef SIMULATION_OBSERVER_HH
|
||||||
#define SIMULATION_OBSERVER_HH 1
|
#define SIMULATION_OBSERVER_HH 1
|
||||||
|
|
||||||
#include "config.h"
|
#include <sgpemv2/sgpemv2-visibility.hh>
|
||||||
|
|
||||||
namespace sgpem
|
namespace sgpem
|
||||||
{
|
{
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
#ifndef SIMULATION_STATISTICS_HH
|
#ifndef SIMULATION_STATISTICS_HH
|
||||||
#define SIMULATION_STATISTICS_HH 1
|
#define SIMULATION_STATISTICS_HH 1
|
||||||
|
|
||||||
#include "config.h"
|
#include <sgpemv2/sgpemv2-visibility.hh>
|
||||||
|
|
||||||
|
|
||||||
namespace sgpem
|
namespace sgpem
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
#ifndef STATISTICS_HH
|
#ifndef STATISTICS_HH
|
||||||
#define STATISTICS_HH 1
|
#define STATISTICS_HH 1
|
||||||
|
|
||||||
#include "config.h"
|
#include <sgpemv2/sgpemv2-visibility.hh>
|
||||||
#include <sgpemv2/templates/singleton.hh>
|
#include <sgpemv2/templates/singleton.hh>
|
||||||
#include <sgpemv2/process_statistics.hh>
|
#include <sgpemv2/process_statistics.hh>
|
||||||
#include <sgpemv2/simulation_statistics.hh>
|
#include <sgpemv2/simulation_statistics.hh>
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
#ifndef STRING_UTILS_HH
|
#ifndef STRING_UTILS_HH
|
||||||
#define STRING_UTILS_HH 1
|
#define STRING_UTILS_HH 1
|
||||||
|
|
||||||
#include "config.h"
|
#include <sgpemv2/sgpemv2-visibility.hh>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
#ifndef SUB_REQUEST_HH
|
#ifndef SUB_REQUEST_HH
|
||||||
#define SUB_REQUEST_HH 1
|
#define SUB_REQUEST_HH 1
|
||||||
|
|
||||||
#include "config.h"
|
#include <sgpemv2/sgpemv2-visibility.hh>
|
||||||
|
|
||||||
#include <sgpemv2/request.hh>
|
#include <sgpemv2/request.hh>
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
#define SINGLETON_HH 1
|
#define SINGLETON_HH 1
|
||||||
|
|
||||||
#include <glibmm/thread.h>
|
#include <glibmm/thread.h>
|
||||||
#include "config.h"
|
#include <sgpemv2/sgpemv2-visibility.hh>
|
||||||
|
|
||||||
namespace sgpem
|
namespace sgpem
|
||||||
{
|
{
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
#ifndef THREAD_HH
|
#ifndef THREAD_HH
|
||||||
#define THREAD_HH 1
|
#define THREAD_HH 1
|
||||||
|
|
||||||
#include "config.h"
|
#include <sgpemv2/sgpemv2-visibility.hh>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#include <sgpemv2/schedulable.hh>
|
#include <sgpemv2/schedulable.hh>
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
#ifndef THREAD_STATISTICS_HH
|
#ifndef THREAD_STATISTICS_HH
|
||||||
#define THREAD_STATISTICS_HH 1
|
#define THREAD_STATISTICS_HH 1
|
||||||
|
|
||||||
#include "config.h"
|
#include <sgpemv2/sgpemv2-visibility.hh>
|
||||||
|
|
||||||
#include <sgpemv2/schedulable_statistics.hh>
|
#include <sgpemv2/schedulable_statistics.hh>
|
||||||
#include <sgpemv2/thread.hh>
|
#include <sgpemv2/thread.hh>
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
#ifndef USER_INTERRUPT_EXCEPTION
|
#ifndef USER_INTERRUPT_EXCEPTION
|
||||||
#define USER_INTERRUPT_EXCEPTION 1
|
#define USER_INTERRUPT_EXCEPTION 1
|
||||||
|
|
||||||
#include "config.h"
|
#include <sgpemv2/sgpemv2-visibility.hh>
|
||||||
#include <sgpemv2/cpu_policy_exception.hh>
|
#include <sgpemv2/cpu_policy_exception.hh>
|
||||||
|
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
// along with SGPEMv2; if not, write to the Free Software
|
// along with SGPEMv2; if not, write to the Free Software
|
||||||
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
|
|
||||||
#include <sgpemv2/simulation.hh>
|
#include <sgpemv2/simulation.hh>
|
||||||
#include <sgpemv2/simulation_observer.hh>
|
#include <sgpemv2/simulation_observer.hh>
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
#ifndef STATIC_PROCESS_HH
|
#ifndef STATIC_PROCESS_HH
|
||||||
#define STATIC_PROCESS_HH 1
|
#define STATIC_PROCESS_HH 1
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
|
|
||||||
#include "static_schedulable.hh"
|
#include "static_schedulable.hh"
|
||||||
#include "static_thread.hh"
|
#include "static_thread.hh"
|
||||||
|
@ -38,7 +38,7 @@ namespace sgpem
|
||||||
|
|
||||||
It IS a Schedulable object.
|
It IS a Schedulable object.
|
||||||
*/
|
*/
|
||||||
class SG_DLLLOCAL StaticProcess : public StaticSchedulable
|
class StaticProcess : public StaticSchedulable
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
/** \brief Creates a new object with the given parameters. */
|
/** \brief Creates a new object with the given parameters. */
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
#include "static_thread.hh"
|
#include "static_thread.hh"
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
#include "glibmm/ustring.h"
|
#include "glibmm/ustring.h"
|
||||||
|
|
||||||
namespace sgpem
|
namespace sgpem
|
||||||
|
@ -31,7 +31,7 @@ namespace sgpem
|
||||||
class StaticRequest;
|
class StaticRequest;
|
||||||
class SerializeVisitor;
|
class SerializeVisitor;
|
||||||
|
|
||||||
class SG_DLLLOCAL StaticRequest
|
class StaticRequest
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
StaticRequest(StaticThread* thread, unsigned int instant);
|
StaticRequest(StaticThread* thread, unsigned int instant);
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
#ifndef STATIC_RESOURCE_HH
|
#ifndef STATIC_RESOURCE_HH
|
||||||
#define STATIC_RESOURCE_HH 1
|
#define STATIC_RESOURCE_HH 1
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
#include "glibmm/ustring.h"
|
#include "glibmm/ustring.h"
|
||||||
|
|
||||||
namespace sgpem
|
namespace sgpem
|
||||||
|
@ -29,7 +29,7 @@ namespace sgpem
|
||||||
class StaticResource;
|
class StaticResource;
|
||||||
class SerializeVisitor;
|
class SerializeVisitor;
|
||||||
|
|
||||||
class SG_DLLLOCAL StaticResource
|
class StaticResource
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
StaticResource(const Glib::ustring& name, unsigned int places = 1);
|
StaticResource(const Glib::ustring& name, unsigned int places = 1);
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
#ifndef STATIC_SCHEDULABLE_HH
|
#ifndef STATIC_SCHEDULABLE_HH
|
||||||
#define STATIC_SCHEDULABLE_HH 1
|
#define STATIC_SCHEDULABLE_HH 1
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
#include "glibmm/ustring.h"
|
#include "glibmm/ustring.h"
|
||||||
|
|
||||||
namespace sgpem
|
namespace sgpem
|
||||||
|
@ -38,7 +38,7 @@ namespace sgpem
|
||||||
*
|
*
|
||||||
* \see DynamicSchedulable
|
* \see DynamicSchedulable
|
||||||
*/
|
*/
|
||||||
class SG_DLLLOCAL StaticSchedulable
|
class StaticSchedulable
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
/** \brief Create a new object with the given parameters */
|
/** \brief Create a new object with the given parameters */
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
#ifndef STATIC_SUB_REQUEST_HH
|
#ifndef STATIC_SUB_REQUEST_HH
|
||||||
#define STATIC_SUB_REQUEST_HH 1
|
#define STATIC_SUB_REQUEST_HH 1
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
|
|
||||||
#include <sgpemv2/sub_request.hh>
|
#include <sgpemv2/sub_request.hh>
|
||||||
|
|
||||||
|
@ -31,7 +31,7 @@ namespace sgpem
|
||||||
class StaticRequest;
|
class StaticRequest;
|
||||||
class StaticResource;
|
class StaticResource;
|
||||||
|
|
||||||
class SG_DLLLOCAL StaticSubRequest
|
class StaticSubRequest
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
typedef SubRequest::resource_key_t resource_key_t;
|
typedef SubRequest::resource_key_t resource_key_t;
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
#include "static_process.hh"
|
#include "static_process.hh"
|
||||||
#include "static_schedulable.hh"
|
#include "static_schedulable.hh"
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
#include "gettext.h"
|
#include "gettext.h"
|
||||||
|
|
||||||
#include <glibmm/ustring.h>
|
#include <glibmm/ustring.h>
|
||||||
|
@ -37,7 +37,7 @@ namespace sgpem
|
||||||
class StaticThread;
|
class StaticThread;
|
||||||
class StaticRequest;
|
class StaticRequest;
|
||||||
|
|
||||||
class SG_DLLLOCAL StaticThread : public StaticSchedulable
|
class StaticThread : public StaticSchedulable
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
StaticThread(const Glib::ustring& name,
|
StaticThread(const Glib::ustring& name,
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
#ifndef CAIRO_ELEMENTS_HH
|
#ifndef CAIRO_ELEMENTS_HH
|
||||||
#define CAIRO_ELEMENTS_HH 1
|
#define CAIRO_ELEMENTS_HH 1
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
|
|
||||||
#include <sgpemv2/thread.hh>
|
#include <sgpemv2/thread.hh>
|
||||||
#include <sgpemv2/process.hh>
|
#include <sgpemv2/process.hh>
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
#ifndef CAIRO_WIDGET_HH
|
#ifndef CAIRO_WIDGET_HH
|
||||||
#define CAIRO_WIDGET_HH 1
|
#define CAIRO_WIDGET_HH 1
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
|
|
||||||
#include <cairo.h>
|
#include <cairo.h>
|
||||||
#include <gtkmm/drawingarea.h>
|
#include <gtkmm/drawingarea.h>
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
// along with SGPEMv2; if not, write to the Free Software
|
// along with SGPEMv2; if not, write to the Free Software
|
||||||
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
#include "gettext.h"
|
#include "gettext.h"
|
||||||
|
|
||||||
#include "graphical_preferences_editor.hh"
|
#include "graphical_preferences_editor.hh"
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
#define GRAPHICAL_PREFERENCES_EDITOR_HH 1
|
#define GRAPHICAL_PREFERENCES_EDITOR_HH 1
|
||||||
|
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
|
|
||||||
#include <sgpemv2/global_preferences.hh>
|
#include <sgpemv2/global_preferences.hh>
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
// along with SGPEMv2; if not, write to the Free Software
|
// along with SGPEMv2; if not, write to the Free Software
|
||||||
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
#include "gettext.h"
|
#include "gettext.h"
|
||||||
|
|
||||||
#include "gui_builder.hh"
|
#include "gui_builder.hh"
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
#ifndef GUI_BUILDER_HH
|
#ifndef GUI_BUILDER_HH
|
||||||
#define GUI_BUILDER_HH 1
|
#define GUI_BUILDER_HH 1
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
#include "holt_container_window.hh"
|
#include "holt_container_window.hh"
|
||||||
#include "statistics_container_window.hh"
|
#include "statistics_container_window.hh"
|
||||||
#include "simulation_widget.hh"
|
#include "simulation_widget.hh"
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
#ifndef HOLT_CONTAINER_WINDOW_HH
|
#ifndef HOLT_CONTAINER_WINDOW_HH
|
||||||
#define HOLT_CONTAINER_WINDOW_HH 1
|
#define HOLT_CONTAINER_WINDOW_HH 1
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
#include "gettext.h"
|
#include "gettext.h"
|
||||||
|
|
||||||
#include <gtkmm/window.h>
|
#include <gtkmm/window.h>
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
#ifndef HOLT_WIDGET_HH
|
#ifndef HOLT_WIDGET_HH
|
||||||
#define HOLT_WIDGET_HH 1
|
#define HOLT_WIDGET_HH 1
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
|
|
||||||
#include "cairo_widget.hh"
|
#include "cairo_widget.hh"
|
||||||
#include <sgpemv2/history_observer.hh>
|
#include <sgpemv2/history_observer.hh>
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
#ifndef JUMP_TO_DIALOG_HH
|
#ifndef JUMP_TO_DIALOG_HH
|
||||||
#define JUMP_TO_DIALOG_HH 1
|
#define JUMP_TO_DIALOG_HH 1
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
|
|
||||||
#include <sgpemv2/simulation_observer.hh>
|
#include <sgpemv2/simulation_observer.hh>
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
// along with SGPEMv2; if not, write to the Free Software
|
// along with SGPEMv2; if not, write to the Free Software
|
||||||
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
#include "gettext.h"
|
#include "gettext.h"
|
||||||
|
|
||||||
#include "main.hh"
|
#include "main.hh"
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
// along with SGPEMv2; if not, write to the Free Software
|
// along with SGPEMv2; if not, write to the Free Software
|
||||||
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
#include "gettext.h"
|
#include "gettext.h"
|
||||||
|
|
||||||
#include <sgpemv2/global_preferences.hh>
|
#include <sgpemv2/global_preferences.hh>
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue