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

#ifndef TEAMCENTER__SPECMGR__CPCOMPONENTREVISIONDELEGATE_HXX
#define TEAMCENTER__SPECMGR__CPCOMPONENTREVISIONDELEGATE_HXX

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

#include <specmgr/libspecmgr_exports.h>

namespace Teamcenter
{
    namespace SPECMGR
    {
        class CPComponentRevisionDelegate;
    }
}
namespace Teamcenter
{
    namespace SPECMGR
    {
        class CPComponentRevisionImpl;
    }
}
namespace Teamcenter
{
    namespace SPECMGR
    {
        class CPComponentRevision;
    }
}
namespace Teamcenter
{
    namespace SPECMGR
    {
        class CPComponentRevisionGenImpl;
    }
}

namespace Teamcenter_alias = ::Teamcenter;


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

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

    //  Method to create the CPComponentRevisionImpl pointer
    static CPComponentRevisionImpl*  createImpl( CPComponentRevision&  ifObj );

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



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

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


private:
    friend class  ::Teamcenter::SPECMGR::CPComponentRevisionGenImpl;

};

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