summaryrefslogtreecommitdiff
path: root/i/simulotron/src/comc/comc.hh
diff options
context:
space:
mode:
Diffstat (limited to 'i/simulotron/src/comc/comc.hh')
-rw-r--r--i/simulotron/src/comc/comc.hh20
1 files changed, 12 insertions, 8 deletions
diff --git a/i/simulotron/src/comc/comc.hh b/i/simulotron/src/comc/comc.hh
index f77aadb..9d2477e 100644
--- a/i/simulotron/src/comc/comc.hh
+++ b/i/simulotron/src/comc/comc.hh
@@ -28,13 +28,17 @@
template <class C>
class ComC : public C
{
- /// Constructeur
- ComC(const Address & adr, const std::string & name);
- /// Envoie un truc dans le réseau
- template <class T>
- void send(const T & message, const std::string & destname);
- /// Recoie quelque chose et appelle une fonction callback
- void receive(void);
+ private:
+ GSTransmitter gst_;
+ public:
+ /// Constructeur
+ ComC(const std::string & address, int port, const std::string & name);
+ /// Envoie un truc dans le réseau
+ template <class T>
+ void send(const T & message, const std::string & destname);
+ /// Recoie quelque chose et appelle une fonction callback
+ template <class C>
+ void receive(void);
};
-
+
#endif //COMC_HH