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

#ifndef TEAMCENTER__COMPONENTRELATIONDELEGATE_HXX
#define TEAMCENTER__COMPONENTRELATIONDELEGATE_HXX

#include <common/tc_deprecation_macros.h>
#include <ps/ComponentRelation.hxx>

#include <ps/libps_exports.h>

namespace Teamcenter
{
    class ComponentRelationDelegate;
}
namespace Teamcenter
{
    class ComponentRelationImpl;
}
namespace Teamcenter
{
    class ComponentRelation;
}
namespace Teamcenter
{
    class ComponentRelationGenImpl;
}

namespace Teamcenter_alias = ::Teamcenter;


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

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

    //  Method to create the ComponentRelationImpl pointer
    static ComponentRelationImpl*  createImpl( ComponentRelation&  ifObj );

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



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

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


private:
    friend class  ::Teamcenter::ComponentRelationGenImpl;

};

#include <ps/libps_undef.h>
#endif  //  TEAMCENTER__COMPONENTRELATIONDELEGATE_HXX
