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

#ifndef TEAMCENTER__SPECMGR__CPCOMPONENTDISPATCH_HXX
#define TEAMCENTER__SPECMGR__CPCOMPONENTDISPATCH_HXX

#include <vector>
#include <specmgr/CPComponent.hxx>
#include <specmgr/CPComponentDelegate.hxx>
#include <foundationdispatch/ItemDispatch.hxx>
#include <specmgrdispatch/initializespecmgr.hxx>

#include <specmgrdispatch/libspecmgrdispatch_exports.h>

namespace Teamcenter
{
    namespace SPECMGR
    {
        class CPComponentDispatch;
    }
}
namespace Teamcenter
{
    namespace SPECMGR
    {
        class CPComponentDelegate;
    }
}
namespace Teamcenter
{
    class BusinessObjectImpl;
}

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

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


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

    //  Default Constructor
    CPComponentDispatch();

    //  Default Destructor
    virtual ~CPComponentDispatch();

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

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

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

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

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