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

#ifndef TEAMCENTER__MENXOBJECTDELEGATE_HXX
#define TEAMCENTER__MENXOBJECTDELEGATE_HXX

#include <common/tc_deprecation_macros.h>
#include <me/MENXObject.hxx>

#include <me/libme_exports.h>

namespace Teamcenter
{
    class MENXObjectDelegate;
}
namespace Teamcenter
{
    class MENXObjectImpl;
}
namespace Teamcenter
{
    class MENXObject;
}
namespace Teamcenter
{
    class MENXObjectGenImpl;
}

namespace Teamcenter_alias = ::Teamcenter;


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

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

    //  Method to create the MENXObjectImpl pointer
    static MENXObjectImpl*  createImpl( MENXObject&  ifObj );

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



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

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


private:
    friend class  ::Teamcenter::MENXObjectGenImpl;

};

#include <me/libme_undef.h>
#endif  //  TEAMCENTER__MENXOBJECTDELEGATE_HXX
