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

#ifndef CAPADATAMODEL__C2_CAPAOWNERDISPATCH_HXX
#define CAPADATAMODEL__C2_CAPAOWNERDISPATCH_HXX

#include <vector>
#include <CPA0capadatamodel/C2_CapaOwner.hxx>
#include <CPA0capadatamodel/C2_CapaOwnerDelegate.hxx>
#include <foundationdispatch/ParticipantDispatch.hxx>
#include <cpa0capadatamodeldispatch/initializecpa0capadatamodel.hxx>

#include <cpa0capadatamodeldispatch/libcpa0capadatamodeldispatch_exports.h>

namespace capadatamodel
{
    class C2_CapaOwnerDispatch;
}
namespace capadatamodel
{
    class C2_CapaOwnerDelegate;
}
namespace Teamcenter
{
    class BusinessObjectImpl;
}

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

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


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

    //  Default Constructor
    C2_CapaOwnerDispatch();

    //  Default Destructor
    virtual ~C2_CapaOwnerDispatch();

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

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

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

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

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