OpenNet
Kernel_Forward.h
Aller à la documentation de ce fichier.
1 
2 // Product OpenNet
3 
8 
9 #pragma once
10 
11 // Includes
13 
14 // ===== Includes ===========================================================
15 #include <OpenNet/Kernel.h>
16 
17 namespace OpenNet
18 {
19  class Adapter;
20 
21  // Class
23 
30  class Kernel_Forward : public Kernel
31  {
32 
33  public:
34 
41  OPEN_NET_PUBLIC Kernel_Forward();
42 
55  OPEN_NET_PUBLIC Status AddDestination(Adapter * aAdapter);
56 
70  OPEN_NET_PUBLIC Status RemoveDestination(Adapter * aAdapter);
71 
81  OPEN_NET_PUBLIC Status ResetDestinations();
82 
83  // ===== SourceCode =====================================================
84  OPEN_NET_PUBLIC virtual ~Kernel_Forward();
85  OPEN_NET_PUBLIC virtual Status Display (FILE * aOut) const;
86 
87 
88  private:
89 
90  Kernel_Forward(const Kernel_Forward &);
91 
92  const Kernel_Forward & operator = (const Kernel_Forward &);
93 
94  void GenerateCode();
95 
96  uint32_t mDestinations;
97 
98  };
99 
100 }
OpenNet::Kernel.
virtual OPEN_NET_PUBLIC Status Display(FILE *aOut) const
Afficher.
Definition: Adapter.h:19
La classe Kernel.
Definition: Kernel.h:38
La classe Kernel_Forward.
Definition: Kernel_Forward.h:30
OPEN_NET_PUBLIC Kernel_Forward()
Constructeur.
OPEN_NET_PUBLIC Status ResetDestinations()
Retirer tous les Adapter de destination.
OPEN_NET_PUBLIC Status RemoveDestination(Adapter *aAdapter)
Retirer un Adapter de destination.
Cette classe définit l'interface au niveau de l'adaptateur.
Definition: Adapter.h:35
OPEN_NET_PUBLIC Status AddDestination(Adapter *aAdapter)
Ajouter un Adapter de destination.