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

#ifndef TEAMCENTER__SPECMGR__CPCOMPONENTREVISIONDISPATCH_HXX
#define TEAMCENTER__SPECMGR__CPCOMPONENTREVISIONDISPATCH_HXX

#include <vector>
#include <specmgr/CPComponentRevision.hxx>
#include <specmgr/CPComponentRevisionDelegate.hxx>
#include <foundationdispatch/ItemRevisionDispatch.hxx>
#include <specmgrdispatch/initializespecmgr.hxx>

#include <specmgrdispatch/libspecmgrdispatch_exports.h>

namespace Teamcenter
{
    namespace SPECMGR
    {
        class CPComponentRevisionDispatch;
    }
}
namespace Teamcenter
{
    namespace SPECMGR
    {
        class CPComponentRevisionDelegate;
    }
}
namespace Teamcenter
{
    class BusinessObjectImpl;
}

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

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


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

    //  Default Constructor
    CPComponentRevisionDispatch();

    //  Default Destructor
    virtual ~CPComponentRevisionDispatch();

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

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

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

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

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