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

#ifndef TEAMCENTER__BUSINESSRULEDELEGATE_HXX
#define TEAMCENTER__BUSINESSRULEDELEGATE_HXX

#include <common/tc_deprecation_macros.h>
#include <tccore/BusinessRule.hxx>

#include <tccore/libtccore_exports.h>

namespace Teamcenter
{
    class BusinessRuleDelegate;
}
namespace Teamcenter
{
    class BusinessRuleImpl;
}
namespace Teamcenter
{
    class BusinessRule;
}
namespace Teamcenter
{
    class BusinessRuleGenImpl;
}

namespace Teamcenter_alias = ::Teamcenter;


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

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

    //  Method to create the BusinessRuleImpl pointer
    static BusinessRuleImpl*  createImpl( BusinessRule&  ifObj );

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



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

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


private:
    friend class  ::Teamcenter::BusinessRuleGenImpl;

};

#include <tccore/libtccore_undef.h>
#endif  //  TEAMCENTER__BUSINESSRULEDELEGATE_HXX
