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

#ifndef TEAMCENTER__MANAGEDRELATIONDELEGATE_HXX
#define TEAMCENTER__MANAGEDRELATIONDELEGATE_HXX

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

#include <tccore/libtccore_exports.h>

namespace Teamcenter
{
    class ManagedRelationDelegate;
}
namespace Teamcenter
{
    class ManagedRelationImpl;
}
namespace Teamcenter
{
    class ManagedRelation;
}
namespace Teamcenter
{
    class ManagedRelationGenImpl;
}

namespace Teamcenter_alias = ::Teamcenter;


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

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

    //  Method to create the ManagedRelationImpl pointer
    static ManagedRelationImpl*  createImpl( ManagedRelation&  ifObj );

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



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

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


private:
    friend class  ::Teamcenter::ManagedRelationGenImpl;

};

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