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

#ifndef TEAMCENTER__SPECMGR__CPCOMPONENTLISTDELEGATE_HXX
#define TEAMCENTER__SPECMGR__CPCOMPONENTLISTDELEGATE_HXX

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

#include <specmgr/libspecmgr_exports.h>

namespace Teamcenter
{
    namespace SPECMGR
    {
        class CPComponentListDelegate;
    }
}
namespace Teamcenter
{
    namespace SPECMGR
    {
        class CPComponentListImpl;
    }
}
namespace Teamcenter
{
    namespace SPECMGR
    {
        class CPComponentList;
    }
}
namespace Teamcenter
{
    namespace SPECMGR
    {
        class CPComponentListGenImpl;
    }
}

namespace Teamcenter_alias = ::Teamcenter;


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

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

    //  Method to create the CPComponentListImpl pointer
    static CPComponentListImpl*  createImpl( CPComponentList&  ifObj );

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



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

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


private:
    friend class  ::Teamcenter::SPECMGR::CPComponentListGenImpl;

};

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