Arcane  v3.14.10.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
Hyoda.h
1// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2//-----------------------------------------------------------------------------
3// Copyright 2000-2022 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
4// See the top-level COPYRIGHT file for details.
5// SPDX-License-Identifier: Apache-2.0
6//-----------------------------------------------------------------------------
7/*****************************************************************************
8 * hyoda.h (C) 2000-2012 *
9 *****************************************************************************/
10#ifndef ARCANE_HYODA_H
11#define ARCANE_HYODA_H
12
13#include "arcane/utils/PlatformUtils.h"
14#include "arcane/utils/IOnlineDebuggerService.h"
15
16/*
17 * Macros utilisées pour Hyoda
18 */
19#ifdef __GNUG__
20# define ARCANE_HYODA_SOFTBREAK(subDomain) { \
21 IOnlineDebuggerService *hyoda=platform::getOnlineDebuggerService(); \
22 if (hyoda) hyoda->softbreak(subDomain, \
23 __FILE__, \
24 __PRETTY_FUNCTION__, \
25 __LINE__); \
26 }
27#else
28# define ARCANE_HYODA_SOFTBREAK(subDomain) { \
29 IOnlineDebuggerService *hyoda=platform::getOnlineDebuggerService(); \
30 if (hyoda) hyoda->softbreak(subDomain,\
31 __FILE__,\
32 "(NoInfo)",\
33 __LINE__);\
34 }
35#endif
36
37# define ARCANE_HYODA_SOFTBREAK_IF(bool, subDomain) { \
38 if (bool==true){ARCANE_HYODA_SOFTBREAK(subDomain);} \
39 }
40
41
42#endif // ARCANE_HYODA_H