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

#ifndef TEAMCENTER__IMANEVENTDELEGATE_HXX
#define TEAMCENTER__IMANEVENTDELEGATE_HXX

#include <common/tc_deprecation_macros.h>
#include <sub_mgr/ImanEvent.hxx>

#include <sub_mgr/libsub_mgr_exports.h>

namespace Teamcenter
{
    class ImanEventDelegate;
}
namespace Teamcenter
{
    class ImanEventImpl;
}
namespace Teamcenter
{
    class ImanEvent;
}
namespace Teamcenter
{
    class ImanEventGenImpl;
}

namespace Teamcenter_alias = ::Teamcenter;


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

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

    //  Method to create the ImanEventImpl pointer
    static ImanEventImpl*  createImpl( ImanEvent&  ifObj );

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



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

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


private:
    friend class  ::Teamcenter::ImanEventGenImpl;

};

#include <sub_mgr/libsub_mgr_undef.h>
#endif  //  TEAMCENTER__IMANEVENTDELEGATE_HXX
