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

#ifndef TEAMCENTER__FORMDISPATCH_HXX
#define TEAMCENTER__FORMDISPATCH_HXX

#include <vector>
#include <form/Form.hxx>
#include <form/FormDelegate.hxx>
#include <foundationdispatch/WorkspaceObjectDispatch.hxx>
#include <foundationdispatch/initializefoundation.hxx>

#include <foundationdispatch/libfoundationdispatch_exports.h>

namespace Teamcenter
{
    class FormDispatch;
}
namespace Teamcenter
{
    class FormDelegate;
}
namespace Teamcenter
{
    class BusinessObjectImpl;
}

class  FOUNDATIONDISPATCH_API  Teamcenter::FormDispatch
    : public  Teamcenter::FormDelegate
{
public:
    //  Method to initialize this Class
    static int initializeClass();

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


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

    //  Default Constructor
    FormDispatch();

    //  Default Destructor
    virtual ~FormDispatch();

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

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

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

    //  friend
    friend void   ::Teamcenter::initializefoundationInternal();
    friend void   ::Teamcenter::initializefoundationExtenders();
    friend class  Teamcenter::FormDelegate;
};

#include <foundationdispatch/libfoundationdispatch_undef.h>
#endif  //  TEAMCENTER__FORMDISPATCH_HXX
