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

#ifndef TEAMCENTER__BUSINESSCONTEXTDELEGATE_HXX
#define TEAMCENTER__BUSINESSCONTEXTDELEGATE_HXX

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

#include <rbf/librbf_exports.h>

namespace Teamcenter
{
    class BusinessContextDelegate;
}
namespace Teamcenter
{
    class BusinessContextImpl;
}
namespace Teamcenter
{
    class BusinessContext;
}
namespace Teamcenter
{
    class BusinessContextGenImpl;
}

namespace Teamcenter_alias = ::Teamcenter;


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

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

    //  Method to create the BusinessContextImpl pointer
    static BusinessContextImpl*  createImpl( BusinessContext&  ifObj );

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



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

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


private:
    friend class  ::Teamcenter::BusinessContextGenImpl;

};

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