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

#ifndef TEAMCENTER__PSVIEWTYPEDELEGATE_HXX
#define TEAMCENTER__PSVIEWTYPEDELEGATE_HXX

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

#include <ps/libps_exports.h>

namespace Teamcenter
{
    class PSViewTypeDelegate;
}
namespace Teamcenter
{
    class PSViewTypeImpl;
}
namespace Teamcenter
{
    class PSViewType;
}
namespace Teamcenter
{
    class PSViewTypeGenImpl;
}

namespace Teamcenter_alias = ::Teamcenter;


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

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

    //  Method to create the PSViewTypeImpl pointer
    static PSViewTypeImpl*  createImpl( PSViewType&  ifObj );

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



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

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


private:
    friend class  ::Teamcenter::PSViewTypeGenImpl;

};

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