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

#ifndef TEAMCENTER__PROVIDEDFROMDELEGATE_HXX
#define TEAMCENTER__PROVIDEDFROMDELEGATE_HXX

#include <common/tc_deprecation_macros.h>
#include <vm/ProvidedFrom.hxx>

#include <vm/libvm_exports.h>

namespace Teamcenter
{
    class ProvidedFromDelegate;
}
namespace Teamcenter
{
    class ProvidedFromImpl;
}
namespace Teamcenter
{
    class ProvidedFrom;
}
namespace Teamcenter
{
    class ProvidedFromGenImpl;
}

namespace Teamcenter_alias = ::Teamcenter;


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

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

    //  Method to create the ProvidedFromImpl pointer
    static ProvidedFromImpl*  createImpl( ProvidedFrom&  ifObj );

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



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

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


private:
    friend class  ::Teamcenter::ProvidedFromGenImpl;

};

#include <vm/libvm_undef.h>
#endif  //  TEAMCENTER__PROVIDEDFROMDELEGATE_HXX
