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

#ifndef TEAMCENTER__CLOSURERULEDELEGATE_HXX
#define TEAMCENTER__CLOSURERULEDELEGATE_HXX

#include <common/tc_deprecation_macros.h>
#include <pie/ClosureRule.hxx>

#include <pie/libpie_exports.h>

namespace Teamcenter
{
    class ClosureRuleDelegate;
}
namespace Teamcenter
{
    class ClosureRuleImpl;
}
namespace Teamcenter
{
    class ClosureRule;
}
namespace Teamcenter
{
    class ClosureRuleGenImpl;
}

namespace Teamcenter_alias = ::Teamcenter;


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

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

    //  Method to create the ClosureRuleImpl pointer
    static ClosureRuleImpl*  createImpl( ClosureRule&  ifObj );

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



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

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


private:
    friend class  ::Teamcenter::ClosureRuleGenImpl;

};

#include <pie/libpie_undef.h>
#endif  //  TEAMCENTER__CLOSURERULEDELEGATE_HXX
