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

#ifndef TEAMCENTER__WORKSPACEOBJECTTHREADDELEGATE_HXX
#define TEAMCENTER__WORKSPACEOBJECTTHREADDELEGATE_HXX

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

#include <tccore/libtccore_exports.h>

namespace Teamcenter
{
    class WorkspaceObjectThreadDelegate;
}
namespace Teamcenter
{
    class WorkspaceObjectThreadImpl;
}
namespace Teamcenter
{
    class WorkspaceObjectThread;
}
namespace Teamcenter
{
    class WorkspaceObjectThreadGenImpl;
}

namespace Teamcenter_alias = ::Teamcenter;


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

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

    //  Method to create the WorkspaceObjectThreadImpl pointer
    static WorkspaceObjectThreadImpl*  createImpl( WorkspaceObjectThread&  ifObj );

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



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

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


private:
    friend class  ::Teamcenter::WorkspaceObjectThreadGenImpl;

};

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