| # Gaudi Framework, version v23r1 |

Home |  | Generated: Wed Feb 29 2012

# IPartitionControl.h

Go to the documentation of this file.

    00001 // $Id: IPartitionControl.h,v 1.1 2004/07/06 10:17:40 mato Exp $
    00002 #ifndef GAUDIKERNEL_IPARTITIONCONTROL_H
    00003 #define GAUDIKERNEL_IPARTITIONCONTROL_H
    00004
    00005 // Framework include files
    00006 #include "GaudiKernel/IInterface.h"
    00007
    00008 // C++ include files
    00009 #include <string>
    00010
    00067 class GAUDI_API IPartitionControl: virtual public IInterface {
    00068 public:
    00070   DeclareInterfaceID(IPartitionControl,1,0);
    00071
    00073
    00084   virtual StatusCode create(const std::string& name,
    00085                             const std::string& type) = 0;
    00086
    00088
    00100   virtual StatusCode create(const std::string& name,
    00101                             const std::string& type,
    00102                             IInterface*& pPartition) = 0;
    00103
    00105
    00113   virtual StatusCode drop(const std::string& name) = 0;
    00114
    00116
    00126   virtual StatusCode drop(IInterface* pPartition) = 0;
    00127
    00129
    00139   virtual StatusCode activate(const std::string& name) = 0;
    00140
    00142
    00155   virtual StatusCode activate(IInterface* pPartition) = 0;
    00156
    00158
    00165   virtual StatusCode get(const std::string& name, IInterface*& pPartition) const = 0;
    00166
    00168
    00175   virtual StatusCode activePartition(std::string& name, IInterface*& pPartition) const = 0;
    00176
    00177   // Return codes:
    00178   enum {  PARTITION_NOT_PRESENT = 2,
    00179           PARTITION_EXISTS = 4,
    00180           NO_ACTIVE_PARTITION = 6
    00181   };
    00182 };
    00183 #endif // GAUDIKERNEL_IPARTITIONCONTROL_H

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines