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

#ifndef TEAMCENTER__SPECMGR__CPPROPERTYDISPATCH_HXX
#define TEAMCENTER__SPECMGR__CPPROPERTYDISPATCH_HXX

#include <vector>
#include <specmgr/CPProperty.hxx>
#include <specmgr/CPPropertyDelegate.hxx>
#include <foundationdispatch/ItemDispatch.hxx>
#include <specmgrdispatch/initializespecmgr.hxx>

#include <specmgrdispatch/libspecmgrdispatch_exports.h>

namespace Teamcenter
{
    namespace SPECMGR
    {
        class CPPropertyDispatch;
    }
}
namespace Teamcenter
{
    namespace SPECMGR
    {
        class CPPropertyDelegate;
    }
}
namespace Teamcenter
{
    class BusinessObjectImpl;
}

class  SPECMGRDISPATCH_API  Teamcenter::SPECMGR::CPPropertyDispatch
    : public  Teamcenter::SPECMGR::CPPropertyDelegate
{
public:
    //  Method to initialize this Class
    static int initializeClass();

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


private:
    //  Pointer to the dispatch instance
    static CPPropertyDispatch*  m_dispatch;

    //  Default Constructor
    CPPropertyDispatch();

    //  Default Destructor
    virtual ~CPPropertyDispatch();

    //  Constructor Method
    static ::Teamcenter::RootObject*  constructor();

    //  Copy Constructor for a CPPropertyDispatch
    CPPropertyDispatch( const CPPropertyDispatch& );

    //  Assignment operator
    CPPropertyDispatch&  operator = ( const CPPropertyDispatch& );

    //  friend
    friend void   ::Teamcenter::SPECMGR::initializespecmgrInternal();
    friend void   ::Teamcenter::SPECMGR::initializespecmgrExtenders();
    friend class  Teamcenter::SPECMGR::CPPropertyDelegate;
};

#include <specmgrdispatch/libspecmgrdispatch_undef.h>
#endif  //  TEAMCENTER__SPECMGR__CPPROPERTYDISPATCH_HXX
