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

#ifndef TEAMCENTER__SPECMGR__CPREFOBJECTREVISIONDELEGATE_HXX
#define TEAMCENTER__SPECMGR__CPREFOBJECTREVISIONDELEGATE_HXX

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

#include <specmgr/libspecmgr_exports.h>

namespace Teamcenter
{
    namespace SPECMGR
    {
        class CPRefObjectRevisionDelegate;
    }
}
namespace Teamcenter
{
    namespace SPECMGR
    {
        class CPRefObjectRevisionImpl;
    }
}
namespace Teamcenter
{
    namespace SPECMGR
    {
        class CPRefObjectRevision;
    }
}
namespace Teamcenter
{
    namespace SPECMGR
    {
        class CPRefObjectRevisionGenImpl;
    }
}

namespace Teamcenter_alias = ::Teamcenter;


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

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

    //  Method to create the CPRefObjectRevisionImpl pointer
    static CPRefObjectRevisionImpl*  createImpl( CPRefObjectRevision&  ifObj );

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



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

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


private:
    friend class  ::Teamcenter::SPECMGR::CPRefObjectRevisionGenImpl;

};

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