diff options
author | fcolin | 2007-02-01 12:57:23 +0000 |
---|---|---|
committer | fcolin | 2007-02-01 12:57:23 +0000 |
commit | cd90995ca02faac49eec142a8af6a9057fb0574e (patch) | |
tree | d0302426360ae2e44aaef1971673abcd07cc2ff1 /Bus | |
parent | 41ee984d61d27f8aac7e16b2d93aa8377fcd9ac8 (diff) | |
download | ivy-cplusplus-cd90995ca02faac49eec142a8af6a9057fb0574e.zip ivy-cplusplus-cd90995ca02faac49eec142a8af6a9057fb0574e.tar.gz ivy-cplusplus-cd90995ca02faac49eec142a8af6a9057fb0574e.tar.bz2 ivy-cplusplus-cd90995ca02faac49eec142a8af6a9057fb0574e.tar.xz |
Utilisateur : Fcolin Date : 17/11/05 Heure : 15:08 Archivé dans $/Bus/Ivy Commentaire: nice Bug in nextArg not reentrant routine due to static variable (vss 13)
Diffstat (limited to 'Bus')
-rw-r--r-- | Bus/Ivy/Ivy.h | 52 |
1 files changed, 27 insertions, 25 deletions
diff --git a/Bus/Ivy/Ivy.h b/Bus/Ivy/Ivy.h index fea2a93..7536f32 100644 --- a/Bus/Ivy/Ivy.h +++ b/Bus/Ivy/Ivy.h @@ -28,18 +28,41 @@ class _declspec(dllimport) CBufferedSocket; #include "IvyCallback.h"
-class IvyWatcher;
-
-class IvyApplication;
class Ivy
{
+ friend class IvyWatcher;
+
+ friend class IvyApplication;
+
private:
int regexp_id;
unsigned int applicationPort;
void SendSubscriptions(IvyApplication *app);
+ bool synchronous; // use Window Shink to made CB mono thread like
+ IvyApplication * server;
+ IvyWatcher * watcher;
+ IvyDieCallback *die_callback;
+ IvyDirectMessageCallback *direct_callback;
+ IvyApplicationCallback *application_callback;
+ /* list des adresses de broadcast */
+ ivy::string domain;
+ /* nom de l'appliction */
+ ivy::string appname;
+ /* liste des clients connectes */
+ CRITICAL_SECTION m_application_cs;
+ typedef ivy::list<IvyApplication*> IvyApplicationList;
+ IvyApplicationList applications;
-public:
+ /* liste des souscriptions locale a emettre aux autres applications */
+ ivy::vector<ivy::string> regexp_out;
+ /* liste des callbacks a appeler */
+ ivy::vector< IvyMessageCallback* > callbacks;
+ /* classes de messages emis par l'application utilise pour le filtrage */
+ int messages_classes_count;
+ const char **messages_classes;
+
+protected:
void AddApplication( IvyApplication *app );
void RemoveApplication( IvyApplication *app);
@@ -75,27 +98,6 @@ public: ivy::string ready_message;
protected:
- bool synchronous; // use Window Shink to made CB mono thread like
- IvyApplication * server;
- IvyWatcher * watcher;
- IvyDieCallback *die_callback;
- IvyDirectMessageCallback *direct_callback;
- IvyApplicationCallback *application_callback;
- /* list des adresses de broadcast */
- ivy::string domain;
- /* nom de l'appliction */
- ivy::string appname;
- /* liste des clients connectes */
- CRITICAL_SECTION m_application_cs;
- typedef ivy::list<IvyApplication*> IvyApplicationList;
- IvyApplicationList applications;
- /* liste des souscriptions locale a emettre aux autres applications */
- ivy::vector<ivy::string> regexp_out;
- /* liste des callbacks a appeler */
- ivy::vector< IvyMessageCallback* > callbacks;
- /* classes de messages emis par l'application utilise pour le filtrage */
- int messages_classes_count;
- const char **messages_classes;
};
|