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

#ifndef TEAMCENTER__SNAPSHOTDELEGATE_HXX
#define TEAMCENTER__SNAPSHOTDELEGATE_HXX

#include <common/tc_deprecation_macros.h>
#include <bom/Snapshot.hxx>

#include <bom/libbom_exports.h>

namespace Teamcenter
{
    class SnapshotDelegate;
}
namespace Teamcenter
{
    class SnapshotImpl;
}
namespace Teamcenter
{
    class Snapshot;
}
namespace Teamcenter
{
    class SnapshotGenImpl;
}

namespace Teamcenter_alias = ::Teamcenter;


class  BOM_API Teamcenter_alias::SnapshotDelegate
{
public:
    //  Method to initialize this Class
    static int initializeClass();

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

    //  Method to create the SnapshotImpl pointer
    static SnapshotImpl*  createImpl( Snapshot&  ifObj );

    //  Method to delete the SnapshotImpl pointer
    static void deleteImpl( SnapshotImpl*  impl );



protected:
    //  Pointer to the instance
    static SnapshotDelegate*  m_pInstance;

    SnapshotDelegate();
    virtual ~SnapshotDelegate();
    static void setInstance( SnapshotDelegate*  instance );


private:
    friend class  ::Teamcenter::SnapshotGenImpl;

};

#include <bom/libbom_undef.h>
#endif  //  TEAMCENTER__SNAPSHOTDELEGATE_HXX
