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

#ifndef TEAMCENTER__SPECMGR__CPPLANTDISPATCH_HXX
#define TEAMCENTER__SPECMGR__CPPLANTDISPATCH_HXX

#include <vector>
#include <specmgr/CPPlant.hxx>
#include <specmgr/CPPlantDelegate.hxx>
#include <foundationdispatch/WorkspaceObjectDispatch.hxx>
#include <specmgrdispatch/initializespecmgr.hxx>

#include <specmgrdispatch/libspecmgrdispatch_exports.h>

namespace Teamcenter
{
    namespace SPECMGR
    {
        class CPPlantDispatch;
    }
}
namespace Teamcenter
{
    namespace SPECMGR
    {
        class CPPlantDelegate;
    }
}
namespace Teamcenter
{
    class BusinessObjectImpl;
}

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

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


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

    //  Default Constructor
    CPPlantDispatch();

    //  Default Destructor
    virtual ~CPPlantDispatch();

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

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

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

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

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