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

#ifndef TEAMCENTER__USAGEPARTNUMBERDELEGATE_HXX
#define TEAMCENTER__USAGEPARTNUMBERDELEGATE_HXX

#include <common/tc_deprecation_macros.h>
#include <rdv/UsagePartNumber.hxx>

#include <rdv/librdv_exports.h>

namespace Teamcenter
{
    class UsagePartNumberDelegate;
}
namespace Teamcenter
{
    class UsagePartNumberImpl;
}
namespace Teamcenter
{
    class UsagePartNumber;
}
namespace Teamcenter
{
    class UsagePartNumberGenImpl;
}

namespace Teamcenter_alias = ::Teamcenter;


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

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

    //  Method to create the UsagePartNumberImpl pointer
    static UsagePartNumberImpl*  createImpl( UsagePartNumber&  ifObj );

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



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

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


private:
    friend class  ::Teamcenter::UsagePartNumberGenImpl;

};

#include <rdv/librdv_undef.h>
#endif  //  TEAMCENTER__USAGEPARTNUMBERDELEGATE_HXX
