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

#ifndef TEAMCENTER__SERVICEEVENTMANAGEMENT__SERVICEEVENTDISPATCH_HXX
#define TEAMCENTER__SERVICEEVENTMANAGEMENT__SERVICEEVENTDISPATCH_HXX

#include <vector>
#include <serviceeventmanagement/ServiceEvent.hxx>
#include <serviceeventmanagement/ServiceEventDelegate.hxx>
#include <serviceprocessingdispatch/ServicePerformedDispatch.hxx>
#include <serviceeventmanagementdispatch/initializeserviceeventmanagement.hxx>

#include <serviceeventmanagementdispatch/libserviceeventmanagementdispatch_exports.h>

namespace Teamcenter
{
    namespace serviceeventmanagement
    {
        class ServiceEventDispatch;
    }
}
namespace Teamcenter
{
    namespace serviceeventmanagement
    {
        class ServiceEventDelegate;
    }
}
namespace Teamcenter
{
    class BusinessObjectImpl;
}

class  SERVICEEVENTMANAGEMENTDISPATCH_API  Teamcenter::serviceeventmanagement::ServiceEventDispatch
    : public  Teamcenter::serviceeventmanagement::ServiceEventDelegate
{
public:
    //  Method to initialize this Class
    static int initializeClass();

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


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

    //  Default Constructor
    ServiceEventDispatch();

    //  Default Destructor
    virtual ~ServiceEventDispatch();

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

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

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

    //  friend
    friend void   ::Teamcenter::serviceeventmanagement::initializeserviceeventmanagementInternal();
    friend void   ::Teamcenter::serviceeventmanagement::initializeserviceeventmanagementExtenders();
    friend class  Teamcenter::serviceeventmanagement::ServiceEventDelegate;
};

#include <serviceeventmanagementdispatch/libserviceeventmanagementdispatch_undef.h>
#endif  //  TEAMCENTER__SERVICEEVENTMANAGEMENT__SERVICEEVENTDISPATCH_HXX
