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

#ifndef TEAMCENTER__REQUIREMENTSPECDELEGATE_HXX
#define TEAMCENTER__REQUIREMENTSPECDELEGATE_HXX

#include <common/tc_deprecation_macros.h>
#include <req/RequirementSpec.hxx>

#include <req/libreq_exports.h>

namespace Teamcenter
{
    class RequirementSpecDelegate;
}
namespace Teamcenter
{
    class RequirementSpecImpl;
}
namespace Teamcenter
{
    class RequirementSpec;
}
namespace Teamcenter
{
    class RequirementSpecGenImpl;
}

namespace Teamcenter_alias = ::Teamcenter;


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

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

    //  Method to create the RequirementSpecImpl pointer
    static RequirementSpecImpl*  createImpl( RequirementSpec&  ifObj );

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



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

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


private:
    friend class  ::Teamcenter::RequirementSpecGenImpl;

};

#include <req/libreq_undef.h>
#endif  //  TEAMCENTER__REQUIREMENTSPECDELEGATE_HXX
