//Copyright 2020 Siemens Digital Industries Software
//==================================================
//
//Copyright $2020.
//Siemens Product Lifecycle Management Software Inc.
//All Rights Reserved.
//==================================================
//Copyright 2020 Siemens Digital Industries Software

/*==================================================================================================
File description:
    This file contains the declaration for the Business Object, CPPlantDelegate
    Filename:   CPPlantDelegate.hxx
    Module:     specmgr
    @BMIDE autogenerated
==================================================================================================*/

#ifndef TEAMCENTER__SPECMGR__CPPLANTDELEGATE_HXX
#define TEAMCENTER__SPECMGR__CPPLANTDELEGATE_HXX

#include <common/tc_deprecation_macros.h>
#include <specmgr/CPPlant.hxx>

#include <specmgr/libspecmgr_exports.h>

namespace Teamcenter
{
    namespace SPECMGR
    {
        class CPPlantDelegate;
    }
}
namespace Teamcenter
{
    namespace SPECMGR
    {
        class CPPlantImpl;
    }
}
namespace Teamcenter
{
    namespace SPECMGR
    {
        class CPPlant;
    }
}
namespace Teamcenter
{
    namespace SPECMGR
    {
        class CPPlantGenImpl;
    }
}

namespace Teamcenter_alias = ::Teamcenter;


class  SPECMGR_API Teamcenter_alias::SPECMGR::CPPlantDelegate
{
public:
    //  Method to initialize this Class
    static int initializeClass();

    //  Method to get the CPPlantDelegate instance
    static CPPlantDelegate&  getInstance();

    //  Method to create the CPPlantImpl pointer
    static CPPlantImpl*  createImpl( CPPlant&  ifObj );

    //  Method to delete the CPPlantImpl pointer
    static void deleteImpl( CPPlantImpl*  impl );



protected:
    //  Pointer to the instance
    static CPPlantDelegate*  m_pInstance;

    CPPlantDelegate();
    virtual ~CPPlantDelegate();
    static void setInstance( CPPlantDelegate*  instance );


private:
    friend class  ::Teamcenter::SPECMGR::CPPlantGenImpl;

};

#include <specmgr/libspecmgr_undef.h>
#endif  //  TEAMCENTER__SPECMGR__CPPLANTDELEGATE_HXX
