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

#ifndef TEAMCENTER__SERVICEINTERFACEDELEGATE_HXX
#define TEAMCENTER__SERVICEINTERFACEDELEGATE_HXX

#include <common/tc_deprecation_macros.h>
#include <meta/ServiceInterface.hxx>

#include <meta/libmeta_exports.h>

namespace Teamcenter
{
    class ServiceInterfaceDelegate;
}
namespace Teamcenter
{
    class ServiceInterfaceImpl;
}
namespace Teamcenter
{
    class ServiceInterface;
}
namespace Teamcenter
{
    class ServiceInterfaceGenImpl;
}

namespace Teamcenter_alias = ::Teamcenter;


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

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

    //  Method to create the ServiceInterfaceImpl pointer
    static ServiceInterfaceImpl*  createImpl( ServiceInterface&  ifObj );

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



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

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


private:
    friend class  ::Teamcenter::ServiceInterfaceGenImpl;

};

#include <meta/libmeta_undef.h>
#endif  //  TEAMCENTER__SERVICEINTERFACEDELEGATE_HXX
