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

#ifndef TEAMCENTER__FND0DIAGRAMTMPLDELEGATE_HXX
#define TEAMCENTER__FND0DIAGRAMTMPLDELEGATE_HXX

#include <common/tc_deprecation_macros.h>
#include <Fnd0nweditor/Fnd0DiagramTmpl.hxx>

#include <Fnd0nweditor/libfnd0nweditor_exports.h>

namespace Teamcenter
{
    class Fnd0DiagramTmplDelegate;
}
namespace Teamcenter
{
    class Fnd0DiagramTmplImpl;
}
namespace Teamcenter
{
    class Fnd0DiagramTmpl;
}
namespace Teamcenter
{
    class Fnd0DiagramTmplGenImpl;
}

namespace Teamcenter_alias = ::Teamcenter;


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

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

    //  Method to create the Fnd0DiagramTmplImpl pointer
    static Fnd0DiagramTmplImpl*  createImpl( Fnd0DiagramTmpl&  ifObj );

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


    ///
    /// desc for createPost
    /// @version Tc 8
    /// @param creInput - Description for the Create Input
    /// @return - return desc for createPost
    ///
    int  createPostBase(const Fnd0DiagramTmpl &ifObj,  ::Teamcenter::CreateInput *creInput );



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

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


private:
    friend class  ::Teamcenter::Fnd0DiagramTmplGenImpl;

};

#include <Fnd0nweditor/libfnd0nweditor_undef.h>
#endif  //  TEAMCENTER__FND0DIAGRAMTMPLDELEGATE_HXX
