//Copyright 2020 Siemens Digital Industries Software
//==================================================
//Copyright $2020.
//Siemens Product Lifecycle Management Software Inc.
//All Rights Reserved.
//e
//==================================================
//Copyright 2020 Siemens Digital Industries Software

/*==================================================================================================
File description:
    This file contains the declaration for the Business Object, C2CapaDispatch
    Filename:   C2CapaDispatch.hxx
    Module:     cpa0capadatamodeldispatch
    @BMIDE autogenerated
==================================================================================================*/

#ifndef CAPADATAMODEL__C2CAPADISPATCH_HXX
#define CAPADATAMODEL__C2CAPADISPATCH_HXX

#include <vector>
#include <CPA0capadatamodel/C2Capa.hxx>
#include <CPA0capadatamodel/C2CapaDelegate.hxx>
#include <cmdispatch/ProblemReportDispatch.hxx>
#include <cpa0capadatamodeldispatch/initializecpa0capadatamodel.hxx>

#include <cpa0capadatamodeldispatch/libcpa0capadatamodeldispatch_exports.h>

namespace capadatamodel
{
    class C2CapaDispatch;
}
namespace capadatamodel
{
    class C2CapaDelegate;
}
namespace Teamcenter
{
    class BusinessObjectImpl;
}

class  CPA0CAPADATAMODELDISPATCH_API  capadatamodel::C2CapaDispatch
    : public  capadatamodel::C2CapaDelegate
{
public:
    //  Method to initialize this Class
    static int initializeClass();

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


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

    //  Default Constructor
    C2CapaDispatch();

    //  Default Destructor
    virtual ~C2CapaDispatch();

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

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

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

    //  friend
    friend void   ::cpa0capadatamodel::initializecpa0capadatamodelInternal();
    friend void   ::cpa0capadatamodel::initializecpa0capadatamodelExtenders();
    friend class  capadatamodel::C2CapaDelegate;
};

#include <cpa0capadatamodeldispatch/libcpa0capadatamodeldispatch_undef.h>
#endif  //  CAPADATAMODEL__C2CAPADISPATCH_HXX
