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

#ifndef TEAMCENTER__SPECMGR__CPPROPERTYDELEGATE_HXX
#define TEAMCENTER__SPECMGR__CPPROPERTYDELEGATE_HXX

#include <common/tc_deprecation_macros.h>
#include <specmgr/CPProperty.hxx>

#include <specmgr/libspecmgr_exports.h>

namespace Teamcenter
{
    namespace SPECMGR
    {
        class CPPropertyDelegate;
    }
}
namespace Teamcenter
{
    namespace SPECMGR
    {
        class CPPropertyImpl;
    }
}
namespace Teamcenter
{
    namespace SPECMGR
    {
        class CPProperty;
    }
}
namespace Teamcenter
{
    namespace SPECMGR
    {
        class CPPropertyGenImpl;
    }
}

namespace Teamcenter_alias = ::Teamcenter;


class  SPECMGR_API Teamcenter_alias::SPECMGR::CPPropertyDelegate
{
public:
    //  Method to initialize this Class
    static int initializeClass();

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

    //  Method to create the CPPropertyImpl pointer
    static CPPropertyImpl*  createImpl( CPProperty&  ifObj );

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



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

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


private:
    friend class  ::Teamcenter::SPECMGR::CPPropertyGenImpl;

};

#include <specmgr/libspecmgr_undef.h>
#endif  //  TEAMCENTER__SPECMGR__CPPROPERTYDELEGATE_HXX
