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

#ifndef TEAMCENTER__CAEITEMDELEGATE_HXX
#define TEAMCENTER__CAEITEMDELEGATE_HXX

#include <common/tc_deprecation_macros.h>
#include <cae/CAEItem.hxx>

#include <cae/libcae_exports.h>

namespace Teamcenter
{
    class CAEItemDelegate;
}
namespace Teamcenter
{
    class CAEItemImpl;
}
namespace Teamcenter
{
    class CAEItem;
}
namespace Teamcenter
{
    class CAEItemGenImpl;
}

namespace Teamcenter_alias = ::Teamcenter;


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

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

    //  Method to create the CAEItemImpl pointer
    static CAEItemImpl*  createImpl( CAEItem&  ifObj );

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



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

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


private:
    friend class  ::Teamcenter::CAEItemGenImpl;

};

#include <cae/libcae_undef.h>
#endif  //  TEAMCENTER__CAEITEMDELEGATE_HXX
