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

#ifndef TEAMCENTER__CBA__PARTOCCTHREADDISPATCH_HXX
#define TEAMCENTER__CBA__PARTOCCTHREADDISPATCH_HXX

#include <vector>
#include <cba/PartOccThread.hxx>
#include <cba/PartOccThreadDelegate.hxx>
#include <foundationdispatch/RuntimeBusinessObjectDispatch.hxx>
#include <cbadispatch/initializecba.hxx>

#include <cbadispatch/libcbadispatch_exports.h>

namespace Teamcenter
{
    namespace cba
    {
        class PartOccThreadDispatch;
    }
}
namespace Teamcenter
{
    namespace cba
    {
        class PartOccThreadDelegate;
    }
}
namespace Teamcenter
{
    class BusinessObjectImpl;
}

class  CBADISPATCH_API  Teamcenter::cba::PartOccThreadDispatch
    : public  Teamcenter::cba::PartOccThreadDelegate
{
public:
    //  Method to initialize this Class
    static int initializeClass();

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


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

    //  Default Constructor
    PartOccThreadDispatch();

    //  Default Destructor
    virtual ~PartOccThreadDispatch();

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

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

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

    //  friend
    friend void   ::Teamcenter::cba::initializecbaInternal();
    friend void   ::Teamcenter::cba::initializecbaExtenders();
    friend class  Teamcenter::cba::PartOccThreadDelegate;
};

#include <cbadispatch/libcbadispatch_undef.h>
#endif  //  TEAMCENTER__CBA__PARTOCCTHREADDISPATCH_HXX
