//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, CPBOMDelegate
    Filename:   CPBOMDelegate.hxx
    Module:     specmgr
    @BMIDE autogenerated
==================================================================================================*/

#ifndef TEAMCENTER__SPECMGR__CPBOMDELEGATE_HXX
#define TEAMCENTER__SPECMGR__CPBOMDELEGATE_HXX

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

#include <specmgr/libspecmgr_exports.h>

namespace Teamcenter
{
    namespace SPECMGR
    {
        class CPBOMDelegate;
    }
}
namespace Teamcenter
{
    namespace SPECMGR
    {
        class CPBOMImpl;
    }
}
namespace Teamcenter
{
    namespace SPECMGR
    {
        class CPBOM;
    }
}
namespace Teamcenter
{
    namespace SPECMGR
    {
        class CPBOMGenImpl;
    }
}

namespace Teamcenter_alias = ::Teamcenter;


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

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

    //  Method to create the CPBOMImpl pointer
    static CPBOMImpl*  createImpl( CPBOM&  ifObj );

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



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

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


private:
    friend class  ::Teamcenter::SPECMGR::CPBOMGenImpl;

};

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