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

#ifndef TEAMCENTER__EPMORTASKDELEGATE_HXX
#define TEAMCENTER__EPMORTASKDELEGATE_HXX

#include <common/tc_deprecation_macros.h>
#include <epm/EPMOrTask.hxx>

#include <epm/libepm_exports.h>

namespace Teamcenter
{
    class EPMOrTaskDelegate;
}
namespace Teamcenter
{
    class EPMOrTaskImpl;
}
namespace Teamcenter
{
    class EPMOrTask;
}
namespace Teamcenter
{
    class EPMOrTaskGenImpl;
}

namespace Teamcenter_alias = ::Teamcenter;


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

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

    //  Method to create the EPMOrTaskImpl pointer
    static EPMOrTaskImpl*  createImpl( EPMOrTask&  ifObj );

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



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

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


private:
    friend class  ::Teamcenter::EPMOrTaskGenImpl;

};

#include <epm/libepm_undef.h>
#endif  //  TEAMCENTER__EPMORTASKDELEGATE_HXX
