1
1
// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2
2
// -----------------------------------------------------------------------------
3
- // Copyright 2000-2022 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
3
+ // Copyright 2000-2025 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
4
4
// See the top-level COPYRIGHT file for details.
5
5
// SPDX-License-Identifier: Apache-2.0
6
6
// -----------------------------------------------------------------------------
7
7
/* ---------------------------------------------------------------------------*/
8
- /* IControlDispatcher.h (C) 2000-2022 */
8
+ /* IControlDispatcher.h (C) 2000-2025 */
9
9
/* */
10
10
/* Manage Control/Utility parallel messages. */
11
11
/* ---------------------------------------------------------------------------*/
22
22
/* ---------------------------------------------------------------------------*/
23
23
/* ---------------------------------------------------------------------------*/
24
24
25
- namespace Arccore ::MessagePassing
25
+ namespace Arcane ::MessagePassing
26
26
{
27
27
/* ---------------------------------------------------------------------------*/
28
28
/* ---------------------------------------------------------------------------*/
@@ -33,40 +33,42 @@ namespace Arccore::MessagePassing
33
33
class ARCCORE_MESSAGEPASSING_EXPORT IControlDispatcher
34
34
{
35
35
public:
36
+
36
37
virtual ~IControlDispatcher () = default ;
37
38
38
39
public:
39
- virtual void waitAllRequests (ArrayView<Request> requests) =0;
40
+
41
+ virtual void waitAllRequests (ArrayView<Request> requests) = 0;
40
42
41
43
virtual void waitSomeRequests (ArrayView<Request> requests,
42
- ArrayView<bool > indexes, bool is_non_blocking) =0;
44
+ ArrayView<bool > indexes, bool is_non_blocking) = 0;
43
45
44
- virtual IMessagePassingMng* commSplit (bool keep) =0;
46
+ virtual IMessagePassingMng* commSplit (bool keep) = 0;
45
47
46
- virtual void barrier () =0;
48
+ virtual void barrier () = 0;
47
49
48
- virtual Request nonBlockingBarrier () =0;
50
+ virtual Request nonBlockingBarrier () = 0;
49
51
50
- virtual MessageId probe (const PointToPointMessageInfo& message) =0;
52
+ virtual MessageId probe (const PointToPointMessageInfo& message) = 0;
51
53
52
54
// NOTE novembre 2022
53
55
// Pour l'instant pas encore virtual pure pour rester compatible avec le code
54
56
// existant. L'implémentation lève une exception NotSupportedException
55
57
virtual MessageSourceInfo legacyProbe (const PointToPointMessageInfo& message);
56
58
57
59
// ! Création d'une liste de requêtes associé à ce gestionnaire
58
- virtual Ref<IRequestList> createRequestListRef () =0;
60
+ virtual Ref<IRequestList> createRequestListRef () = 0;
59
61
60
62
public:
61
63
62
- virtual IProfiler* profiler () const =0;
63
- virtual void setProfiler (IProfiler* p) =0;
64
+ virtual IProfiler* profiler () const = 0;
65
+ virtual void setProfiler (IProfiler* p) = 0;
64
66
};
65
67
66
68
/* ---------------------------------------------------------------------------*/
67
69
/* ---------------------------------------------------------------------------*/
68
70
69
- } // End namespace Arccore ::MessagePassing
71
+ } // namespace Arcane ::MessagePassing
70
72
71
73
/* ---------------------------------------------------------------------------*/
72
74
/* ---------------------------------------------------------------------------*/
0 commit comments