(file) Return to ModuleController.h CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Common

Diff for /pegasus/src/Pegasus/Common/ModuleController.h between version 1.9 and 1.10

version 1.9, 2002/03/26 21:39:06 version 1.10, 2002/03/27 20:42:07
Line 52 
Line 52 
             module_rep(ModuleController *controller,             module_rep(ModuleController *controller,
                        const String & name,                        const String & name,
                        void *module_address,                        void *module_address,
                        Message * (*receive_message)(Message *),                         Message * (*receive_message)(Message *, void *),
                        void (*async_callback)(Uint32, Message *),                         void (*async_callback)(Uint32, Message *, void *),
                        void (*shutdown_notify)(Uint32 code));                         void (*shutdown_notify)(Uint32 code, void *));
  
             ~module_rep(void) ;             ~module_rep(void) ;
  
Line 93 
Line 93 
             AtomicInt _shutting_down;             AtomicInt _shutting_down;
  
             void *_module_address;             void *_module_address;
             Message * (*_receive_message)(Message *);              Message * (*_receive_message)(Message *, void *);
             void (*_async_callback)(Uint32, Message *);              void (*_async_callback)(Uint32, Message *, void *);
             void (*_shutdown_notify)(Uint32 code);              void (*_shutdown_notify)(Uint32 code, void *);
  
             static Message * default_receive_message(Message *msg)              static Message * default_receive_message(Message *msg, void *inst)
             { throw NotImplemented("Module Receive");}             { throw NotImplemented("Module Receive");}
  
             static void default_async_callback(Uint32 handle, Message *msg)              static void default_async_callback(Uint32 handle, Message *msg, void *inst)
             { throw NotImplemented("Module Async Receive"); }             { throw NotImplemented("Module Async Receive"); }
  
             static void default_shutdown_notify(Uint32 code)              static void default_shutdown_notify(Uint32 code, void *inst)
             { return; }             { return; }
  
             static Message * closed_receive_message(Message *msg)              static Message * closed_receive_message(Message *msg, void *inst)
             { throw ModuleClosed();}             { throw ModuleClosed();}
  
             static void closed_async_callback(Uint32 handle, Message *msg)              static void closed_async_callback(Uint32 handle, Message *msg, void *inst)
             { throw ModuleClosed(); }             { throw ModuleClosed(); }
  
             friend class ModuleController;             friend class ModuleController;
Line 120 
Line 120 
       pegasus_module(ModuleController *controller,       pegasus_module(ModuleController *controller,
                      const String &id,                      const String &id,
                      void *module_address,                      void *module_address,
                      Message * (*receive_message)(Message *),                       Message * (*receive_message)(Message *, void *),
                      void (*async_callback)(Uint32, Message *),                       void (*async_callback)(Uint32, Message *, void *),
                      void (*shutdown_notify)(Uint32 code)) ;                       void (*shutdown_notify)(Uint32 code, void *)) ;
  
       ~pegasus_module(void);       ~pegasus_module(void);
  
Line 175 
Line 175 
       static ModuleController & register_module(const String & controller_name,       static ModuleController & register_module(const String & controller_name,
                                                 const String & module_name,                                                 const String & module_name,
                                                 void *module_address,                                                 void *module_address,
                                                 Message * (*receive_message)(Message *),                                                  Message * (*receive_message)(Message *, void *),
                                                 void (*async_callback)(Uint32, Message *),                                                  void (*async_callback)(Uint32, Message *, void *),
                                                 void (*shutdown_notify)(Uint32))                                                  void (*shutdown_notify)(Uint32, void *),
                                                   pegasus_module **instance = NULL)
          throw(AlreadyExists, IncompatibleTypes);          throw(AlreadyExists, IncompatibleTypes);
  
       Boolean deregister_module(const String & module_name);       Boolean deregister_module(const String & module_name);


Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2