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

#ifndef TEAMCENTER__CM0GNWORKORDERDISPATCH_HXX
#define TEAMCENTER__CM0GNWORKORDERDISPATCH_HXX

#include <vector>
#include <cm/Cm0GnWorkOrder.hxx>
#include <cm/Cm0GnWorkOrderDelegate.hxx>
#include <cmdispatch/ChangeItemDispatch.hxx>
#include <cmdispatch/initializecm.hxx>

#include <cmdispatch/libcmdispatch_exports.h>

namespace Teamcenter
{
    class Cm0GnWorkOrderDispatch;
}
namespace Teamcenter
{
    class Cm0GnWorkOrderDelegate;
}
namespace Teamcenter
{
    class BusinessObjectImpl;
}

class  CMDISPATCH_API  Teamcenter::Cm0GnWorkOrderDispatch
    : public  Teamcenter::Cm0GnWorkOrderDelegate
{
public:
    //  Method to initialize this Class
    static int initializeClass();

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


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

    //  Default Constructor
    Cm0GnWorkOrderDispatch();

    //  Default Destructor
    virtual ~Cm0GnWorkOrderDispatch();

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

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

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

    //  friend
    friend void   ::Teamcenter::CM::initializecmInternal();
    friend void   ::Teamcenter::CM::initializecmExtenders();
    friend class  Teamcenter::Cm0GnWorkOrderDelegate;
};

#include <cmdispatch/libcmdispatch_undef.h>
#endif  //  TEAMCENTER__CM0GNWORKORDERDISPATCH_HXX
