(file) Return to ProviderType.h CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / ProviderManager2 / Attic

Diff for /pegasus/src/Pegasus/ProviderManager2/Attic/ProviderType.h between version 1.1 and 1.10

version 1.1, 2003/10/08 16:30:46 version 1.10, 2006/01/30 16:18:01
Line 1 
Line 1 
 //%/////////////////////////////////////////////////////////////////////////////  //%2006////////////////////////////////////////////////////////////////////////
 // //
 // Copyright (c) 2000 - 2003 BMC Software, Hewlett-Packard Company, IBM,  // Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development
 // The Open Group, Tivoli Systems  // Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems.
   // Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L.P.;
   // IBM Corp.; EMC Corporation, The Open Group.
   // Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.;
   // IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group.
   // Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.;
   // EMC Corporation; VERITAS Software Corporation; The Open Group.
   // Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.;
   // EMC Corporation; Symantec Corporation; The Open Group.
 // //
 // Permission is hereby granted, free of charge, to any person obtaining a copy // Permission is hereby granted, free of charge, to any person obtaining a copy
 // of this software and associated documentation files (the "Software"), to // of this software and associated documentation files (the "Software"), to
Line 27 
Line 35 
 // //
 //%///////////////////////////////////////////////////////////////////////////// //%/////////////////////////////////////////////////////////////////////////////
  
 #ifndef Pegasus_InternalProviderName_h  #ifndef Pegasus_ProviderType_h
 #define Pegasus_InternalProviderName_h  #define Pegasus_ProviderType_h
  
 #include <Pegasus/Common/Config.h> #include <Pegasus/Common/Config.h>
 #include <Pegasus/Common/String.h> #include <Pegasus/Common/String.h>
  
 #include <Pegasus/Server/Linkage.h>  #include <Pegasus/ProviderManager2/Linkage.h>
  
 PEGASUS_NAMESPACE_BEGIN PEGASUS_NAMESPACE_BEGIN
  
 class PEGASUS_SERVER_LINKAGE InternalProviderName  class PEGASUS_PPM_LINKAGE ProviderType
 { {
 public: public:
     InternalProviderName(void);      // these constants have the same value as those defined in Registration Manager.
     //InternalProviderName(const String & s);  
     /*  
     physicalName - the fully qualified name to the physical component that is responsible for providing  
         for the object named in objectName.  
   
     logicalName - the logical name associated with the physical component. It is possible for one physical  
         component to have one or more logical components.  
   
     objectName - the relative or fully qualified CIM object name of interest.  
     */  
     InternalProviderName(  
         const String & objectName,  
         const String & logicalName,  
         const String & physicalName,  
         const String & interfaceName,  
         const Uint32 capabilities);  
   
     ~InternalProviderName(void);  
   
     //String toString(void) const;  
  
     String getObjectName(void) const;      #define ProviderType_CLASS 0x00000001
     void setObjectName(const String & objectName);  
  
     String getLogicalName(void) const;      #define ProviderType_INSTANCE 0x00000002
     void setLogicalName(const String & logicalName);  
  
     String getPhysicalName(void) const;      #define ProviderType_ASSOCIATION 0x00000003
     void setPhysicalName(const String & physicalName);  
  
     String getInterfaceName(void) const;      #define ProviderType_INDICATION 0x00000004
     void setInterfaceName(const String & interfaceName);  
  
     Uint32 getCapabilitiesMask(void) const;      #define ProviderType_METHOD 0x00000005
     void setCapabilitiesMask(const Uint32 capabilities);  
  
 private:      #define ProviderType_CONSUMER 0x00000006
     String _physicalName;  
     String _interfaceName;  
  
     String _logicalName;      #define ProviderType_QUERY 0x00000007
     String _objectName;  
  
     Uint32 _capabilities;  
   
 };  
   
 class PEGASUS_SERVER_LINKAGE ProviderType  
 {  
 public:  
     // these constants have the same value as those in DynamicRoutingTable.  
     static const Uint32 INSTANCE;     static const Uint32 INSTANCE;
     static const Uint32 CLASS;     static const Uint32 CLASS;
     static const Uint32 METHOD;     static const Uint32 METHOD;


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

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2