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

#ifndef TEAMCENTER__CMRELATIONDISPATCH_HXX
#define TEAMCENTER__CMRELATIONDISPATCH_HXX

#include <vector>
#include <cm/CMRelation.hxx>
#include <cm/CMRelationDelegate.hxx>
#include <foundationdispatch/ImanRelationDispatch.hxx>
#include <cmdispatch/initializecm.hxx>

#include <cmdispatch/libcmdispatch_exports.h>

namespace Teamcenter
{
    class CMRelationDispatch;
}
namespace Teamcenter
{
    class CMRelationDelegate;
}
namespace Teamcenter
{
    class BusinessObjectImpl;
}

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

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


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

    //  Default Constructor
    CMRelationDispatch();

    //  Default Destructor
    virtual ~CMRelationDispatch();

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

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

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

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

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