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

#ifndef TEAMCENTER__BUSINESSRULEDESCRIPTORDELEGATE_HXX
#define TEAMCENTER__BUSINESSRULEDESCRIPTORDELEGATE_HXX

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

#include <tccore/libtccore_exports.h>

namespace Teamcenter
{
    class BusinessRuleDescriptorDelegate;
}
namespace Teamcenter
{
    class BusinessRuleDescriptorImpl;
}
namespace Teamcenter
{
    class BusinessRuleDescriptor;
}
namespace Teamcenter
{
    class BusinessRuleDescriptorGenImpl;
}

namespace Teamcenter_alias = ::Teamcenter;


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

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

    //  Method to create the BusinessRuleDescriptorImpl pointer
    static BusinessRuleDescriptorImpl*  createImpl( BusinessRuleDescriptor&  ifObj );

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



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

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


private:
    friend class  ::Teamcenter::BusinessRuleDescriptorGenImpl;

};

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