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

#ifndef TEAMCENTER__METAINTERFACEDELEGATE_HXX
#define TEAMCENTER__METAINTERFACEDELEGATE_HXX

#include <common/tc_deprecation_macros.h>
#include <meta/MetaInterface.hxx>

#include <meta/libmeta_exports.h>

namespace Teamcenter
{
    class MetaInterfaceDelegate;
}
namespace Teamcenter
{
    class MetaInterfaceImpl;
}
namespace Teamcenter
{
    class MetaInterface;
}
namespace Teamcenter
{
    class MetaInterfaceGenImpl;
}

namespace Teamcenter_alias = ::Teamcenter;


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

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

    //  Method to create the MetaInterfaceImpl pointer
    static MetaInterfaceImpl*  createImpl( MetaInterface&  ifObj );

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



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

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


private:
    friend class  ::Teamcenter::MetaInterfaceGenImpl;

};

#include <meta/libmeta_undef.h>
#endif  //  TEAMCENTER__METAINTERFACEDELEGATE_HXX
