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

#ifndef TEAMCENTER__SPECMGR__CPSPECIFICATIONDISPATCH_HXX
#define TEAMCENTER__SPECMGR__CPSPECIFICATIONDISPATCH_HXX

#include <vector>
#include <specmgr/CPSpecification.hxx>
#include <specmgr/CPSpecificationDelegate.hxx>
#include <foundationdispatch/DocumentDispatch.hxx>
#include <specmgrdispatch/initializespecmgr.hxx>

#include <specmgrdispatch/libspecmgrdispatch_exports.h>

namespace Teamcenter
{
    namespace SPECMGR
    {
        class CPSpecificationDispatch;
    }
}
namespace Teamcenter
{
    namespace SPECMGR
    {
        class CPSpecificationDelegate;
    }
}
namespace Teamcenter
{
    class BusinessObjectImpl;
}

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

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


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

    //  Default Constructor
    CPSpecificationDispatch();

    //  Default Destructor
    virtual ~CPSpecificationDispatch();

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

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

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

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

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