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

#ifndef TEAMCENTER__BUSINESSELEMENTDELEGATE_HXX
#define TEAMCENTER__BUSINESSELEMENTDELEGATE_HXX

#include <common/tc_deprecation_macros.h>
#include <rbf/BusinessElement.hxx>

#include <rbf/librbf_exports.h>

namespace Teamcenter
{
    class BusinessElementDelegate;
}
namespace Teamcenter
{
    class BusinessElementImpl;
}
namespace Teamcenter
{
    class BusinessElement;
}
namespace Teamcenter
{
    class BusinessElementGenImpl;
}

namespace Teamcenter_alias = ::Teamcenter;


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

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

    //  Method to create the BusinessElementImpl pointer
    static BusinessElementImpl*  createImpl( BusinessElement&  ifObj );

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



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

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


private:
    friend class  ::Teamcenter::BusinessElementGenImpl;

};

#include <rbf/librbf_undef.h>
#endif  //  TEAMCENTER__BUSINESSELEMENTDELEGATE_HXX
