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

Diff for /pegasus/src/Pegasus/Provider/CIMOMHandleRep.h between version 1.6 and 1.7

version 1.6, 2006/08/09 21:12:59 version 1.7, 2006/09/01 17:51:28
Line 29 
Line 29 
 // //
 //============================================================================== //==============================================================================
 // //
 // Author: Roger Kumpf, Hewlett-Packard Company (roger_kumpf@hp.com)  
 //  
 // Modified By:  
 //  
 //%///////////////////////////////////////////////////////////////////////////// //%/////////////////////////////////////////////////////////////////////////////
  
  
Line 54 
Line 50 
  
 PEGASUS_NAMESPACE_BEGIN PEGASUS_NAMESPACE_BEGIN
  
 class ProviderManager;  
 class Provider;  
   
 class CIMOMHandleOpSemaphore;  
   
 class PEGASUS_PROVIDER_LINKAGE CIMOMHandleRep : public Sharable class PEGASUS_PROVIDER_LINKAGE CIMOMHandleRep : public Sharable
 { {
 public: public:
Line 253 
Line 244 
     virtual void setOS400ProfileHandle(const char* profileHandle) = 0;     virtual void setOS400ProfileHandle(const char* profileHandle) = 0;
 #endif #endif
  
     virtual void get_idle_timer(struct timeval*);  
     virtual void update_idle_timer();  
     virtual Boolean pending_operation();  
     virtual Boolean unload_ok();     virtual Boolean unload_ok();
  
 private: private:
     AtomicInt _pendingOperations;  
     struct timeval _idleTime;  
     Mutex _idleTimeMutex;  
     Uint32 _providerUnloadProtect;     Uint32 _providerUnloadProtect;
     Mutex _providerUnloadProtectMutex;     Mutex _providerUnloadProtectMutex;
   
     friend class CIMOMHandleOpSemaphore;  
 };  
   
 class PEGASUS_PROVIDER_LINKAGE CIMOMHandleOpSemaphore  
 {  
 public:  
     CIMOMHandleOpSemaphore(CIMOMHandleRep *rep)  
         : _rep(rep)  
     {  
         _rep->update_idle_timer();  
         (_rep->_pendingOperations)++;  
     }  
   
     ~CIMOMHandleOpSemaphore()  
     {  
         _rep->update_idle_timer();  
         (_rep->_pendingOperations)--;  
     }  
   
 private:  
     // Unimplemented  
     CIMOMHandleOpSemaphore();  
   
     // Unimplemented  
     CIMOMHandleOpSemaphore(const CIMOMHandleOpSemaphore& sem);  
   
     // Unimplemented  
     CIMOMHandleOpSemaphore& operator=(const CIMOMHandleOpSemaphore& sem);  
   
     CIMOMHandleRep *_rep;  
 }; };
  
 PEGASUS_NAMESPACE_END PEGASUS_NAMESPACE_END


Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2