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

#ifndef TEAMCENTER__IMANGRMDELEGATE_HXX
#define TEAMCENTER__IMANGRMDELEGATE_HXX

#include <common/tc_deprecation_macros.h>
#include <grm/ImanGRM.hxx>

#include <grm/libgrm_exports.h>

namespace Teamcenter
{
    class ImanGRMDelegate;
}
namespace Teamcenter
{
    class ImanGRMImpl;
}
namespace Teamcenter
{
    class ImanGRM;
}
namespace Teamcenter
{
    class ImanGRMGenImpl;
}

namespace Teamcenter_alias = ::Teamcenter;


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

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

    //  Method to create the ImanGRMImpl pointer
    static ImanGRMImpl*  createImpl( ImanGRM&  ifObj );

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



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

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


private:
    friend class  ::Teamcenter::ImanGRMGenImpl;

};

#include <grm/libgrm_undef.h>
#endif  //  TEAMCENTER__IMANGRMDELEGATE_HXX
