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

#ifndef TEAMCENTER__CBA__DESIGNPROXYDELEGATE_HXX
#define TEAMCENTER__CBA__DESIGNPROXYDELEGATE_HXX

#include <common/tc_deprecation_macros.h>
#include <cba/DesignProxy.hxx>

#include <cba/libcba_exports.h>

namespace Teamcenter
{
    namespace cba
    {
        class DesignProxyDelegate;
    }
}
namespace Teamcenter
{
    namespace cba
    {
        class DesignProxyImpl;
    }
}
namespace Teamcenter
{
    namespace cba
    {
        class DesignProxy;
    }
}
namespace Teamcenter
{
    namespace cba
    {
        class DesignProxyGenImpl;
    }
}

namespace Teamcenter_alias = ::Teamcenter;


class  CBA_API Teamcenter_alias::cba::DesignProxyDelegate
{
public:
    //  Method to initialize this Class
    static int initializeClass();

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

    //  Method to create the DesignProxyImpl pointer
    static DesignProxyImpl*  createImpl( DesignProxy&  ifObj );

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



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

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


private:
    friend class  ::Teamcenter::cba::DesignProxyGenImpl;

};

#include <cba/libcba_undef.h>
#endif  //  TEAMCENTER__CBA__DESIGNPROXYDELEGATE_HXX
