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

#ifndef TEAMCENTER__PKGART__CPPACKAGEITEMDISPATCH_HXX
#define TEAMCENTER__PKGART__CPPACKAGEITEMDISPATCH_HXX

#include <vector>
#include <pkgart/CPPackageItem.hxx>
#include <pkgart/CPPackageItemDelegate.hxx>
#include <foundationdispatch/ItemDispatch.hxx>
#include <pkgartdispatch/initializepkgart.hxx>

#include <pkgartdispatch/libpkgartdispatch_exports.h>

namespace Teamcenter
{
    namespace PKGART
    {
        class CPPackageItemDispatch;
    }
}
namespace Teamcenter
{
    namespace PKGART
    {
        class CPPackageItemDelegate;
    }
}
namespace Teamcenter
{
    class BusinessObjectImpl;
}

class  PKGARTDISPATCH_API  Teamcenter::PKGART::CPPackageItemDispatch
    : public  Teamcenter::PKGART::CPPackageItemDelegate
{
public:
    //  Method to initialize this Class
    static int initializeClass();

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


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

    //  Default Constructor
    CPPackageItemDispatch();

    //  Default Destructor
    virtual ~CPPackageItemDispatch();

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

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

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

    //  friend
    friend void   ::Teamcenter::PKGART::initializepkgartInternal();
    friend void   ::Teamcenter::PKGART::initializepkgartExtenders();
    friend class  Teamcenter::PKGART::CPPackageItemDelegate;
};

#include <pkgartdispatch/libpkgartdispatch_undef.h>
#endif  //  TEAMCENTER__PKGART__CPPACKAGEITEMDISPATCH_HXX
