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

#ifndef TEAMCENTER__CHANGEREQUESTDELEGATE_HXX
#define TEAMCENTER__CHANGEREQUESTDELEGATE_HXX

#include <common/tc_deprecation_macros.h>
#include <cm/ChangeRequest.hxx>

#include <cm/libcm_exports.h>

namespace Teamcenter
{
    class ChangeRequestDelegate;
}
namespace Teamcenter
{
    class ChangeRequestImpl;
}
namespace Teamcenter
{
    class ChangeRequest;
}
namespace Teamcenter
{
    class ChangeRequestGenImpl;
}

namespace Teamcenter_alias = ::Teamcenter;


class  CM_API Teamcenter_alias::ChangeRequestDelegate
{
public:
    //  Method to initialize this Class
    static int initializeClass();

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

    //  Method to create the ChangeRequestImpl pointer
    static ChangeRequestImpl*  createImpl( ChangeRequest&  ifObj );

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



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

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


private:
    friend class  ::Teamcenter::ChangeRequestGenImpl;

};

#include <cm/libcm_undef.h>
#endif  //  TEAMCENTER__CHANGEREQUESTDELEGATE_HXX
