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

#ifndef TEAMCENTER__SPECMGR__CPREFSPECDISPATCH_HXX
#define TEAMCENTER__SPECMGR__CPREFSPECDISPATCH_HXX

#include <vector>
#include <specmgr/CPRefSpec.hxx>
#include <specmgr/CPRefSpecDelegate.hxx>
#include <foundationdispatch/SpecElementDispatch.hxx>
#include <specmgrdispatch/initializespecmgr.hxx>

#include <specmgrdispatch/libspecmgrdispatch_exports.h>

namespace Teamcenter
{
    namespace SPECMGR
    {
        class CPRefSpecDispatch;
    }
}
namespace Teamcenter
{
    namespace SPECMGR
    {
        class CPRefSpecDelegate;
    }
}
namespace Teamcenter
{
    class BusinessObjectImpl;
}

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

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


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

    //  Default Constructor
    CPRefSpecDispatch();

    //  Default Destructor
    virtual ~CPRefSpecDispatch();

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

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

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

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

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