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

#ifndef TEAMCENTER__DESIGNDELEGATE_HXX
#define TEAMCENTER__DESIGNDELEGATE_HXX

#include <common/tc_deprecation_macros.h>
#include <tccore/Design.hxx>

#include <tccore/libtccore_exports.h>

namespace Teamcenter
{
    class DesignDelegate;
}
namespace Teamcenter
{
    class DesignImpl;
}
namespace Teamcenter
{
    class Design;
}
namespace Teamcenter
{
    class DesignGenImpl;
}

namespace Teamcenter_alias = ::Teamcenter;


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

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

    //  Method to create the DesignImpl pointer
    static DesignImpl*  createImpl( Design&  ifObj );

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



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

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


private:
    friend class  ::Teamcenter::DesignGenImpl;

};

#include <tccore/libtccore_undef.h>
#endif  //  TEAMCENTER__DESIGNDELEGATE_HXX
