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

#ifndef TEAMCENTER__PROBLEMREPORTDELEGATE_HXX
#define TEAMCENTER__PROBLEMREPORTDELEGATE_HXX

#include <common/tc_deprecation_macros.h>
#include <cm/ProblemReport.hxx>

#include <cm/libcm_exports.h>

namespace Teamcenter
{
    class ProblemReportDelegate;
}
namespace Teamcenter
{
    class ProblemReportImpl;
}
namespace Teamcenter
{
    class ProblemReport;
}
namespace Teamcenter
{
    class ProblemReportGenImpl;
}

namespace Teamcenter_alias = ::Teamcenter;


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

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

    //  Method to create the ProblemReportImpl pointer
    static ProblemReportImpl*  createImpl( ProblemReport&  ifObj );

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



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

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


private:
    friend class  ::Teamcenter::ProblemReportGenImpl;

};

#include <cm/libcm_undef.h>
#endif  //  TEAMCENTER__PROBLEMREPORTDELEGATE_HXX
