You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
119 lines
4.3 KiB
119 lines
4.3 KiB
//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, RouteSegmentDelegate
|
|
Filename: RouteSegmentDelegate.hxx
|
|
Module: mechatronics
|
|
@BMIDE autogenerated
|
|
==================================================================================================*/
|
|
|
|
#ifndef TEAMCENTER__ROUTESEGMENTDELEGATE_HXX
|
|
#define TEAMCENTER__ROUTESEGMENTDELEGATE_HXX
|
|
|
|
#include <common/tc_deprecation_macros.h>
|
|
#include <mechatronics/RouteSegment.hxx>
|
|
|
|
#include <mechatronics/libmechatronics_exports.h>
|
|
|
|
namespace Teamcenter
|
|
{
|
|
class RouteSegmentDelegate;
|
|
}
|
|
namespace Teamcenter
|
|
{
|
|
class RouteSegmentImpl;
|
|
}
|
|
namespace Teamcenter
|
|
{
|
|
class RouteSegment;
|
|
}
|
|
namespace Teamcenter
|
|
{
|
|
class RouteSegmentGenImpl;
|
|
}
|
|
|
|
namespace Teamcenter_alias = ::Teamcenter;
|
|
|
|
|
|
class MECHATRONICS_API Teamcenter_alias::RouteSegmentDelegate
|
|
{
|
|
public:
|
|
// Method to initialize this Class
|
|
static int initializeClass();
|
|
|
|
// Method to get the RouteSegmentDelegate instance
|
|
static RouteSegmentDelegate& getInstance();
|
|
|
|
// Method to create the RouteSegmentImpl pointer
|
|
static RouteSegmentImpl* createImpl( RouteSegment& ifObj );
|
|
|
|
// Method to delete the RouteSegmentImpl pointer
|
|
static void deleteImpl( RouteSegmentImpl* impl );
|
|
|
|
|
|
///
|
|
/// This operation is not supported now, there will be no support for issues stemming from uses of this operation.
|
|
/// @version Teamcenter 11.2.2
|
|
/// @param inputs - A vector of data that contains reference to the object to be refreshed
|
|
/// @param bd - A data structure to store objects and other information relevant for set-based operation
|
|
/// @param isLockForDelete - A boolean to indicate if object(s) are to be locked for deletion
|
|
/// @param allowRelock - A boolean to indicate if object(s) can be relocked, which will discard all unsaved changes, if already locked by the same user
|
|
/// @return - This operation returns ITK_ok on success. Otherwise, it will return specific error code.
|
|
///
|
|
int fnd0LockBase( std::vector< ::Teamcenter::BulkInput* > *inputs, ::Teamcenter::BulkData *bd, const bool isLockForDelete, const bool allowRelock );
|
|
|
|
|
|
///
|
|
/// This operation is not supported now, there will be no support for issues stemming from uses of this operation.
|
|
/// @version Teamcenter 11.2.2
|
|
/// @param inputs - A vector of data that contains reference to the object to be refreshed
|
|
/// @param bd - A data structure to store objects and other information relevant for set-based operation
|
|
/// @return - This operation returns ITK_ok on success. Otherwise, it will return specific error code.
|
|
///
|
|
int fnd0RefreshBase( std::vector< ::Teamcenter::BulkInput* > *inputs, ::Teamcenter::BulkData *bd );
|
|
|
|
|
|
///
|
|
/// This operation is not supported now, there will be no support for issues stemming from uses of this operation.
|
|
/// @version Teamcenter 11.2.2
|
|
/// @param inputs - A vector of data that contains reference to the object to be refreshed
|
|
/// @param bd - A data structure to store objects and other information relevant for set-based operation
|
|
/// @return - This operation returns ITK_ok on success. Otherwise, it will return specific error code.
|
|
///
|
|
int fnd0UnlockBase( std::vector< ::Teamcenter::BulkInput* > *inputs, ::Teamcenter::BulkData *bd );
|
|
|
|
|
|
///
|
|
/// desc for validate for create
|
|
/// @version Tc 8
|
|
/// @param creInput - desc for creInput parameter
|
|
/// @return - ret desc for validate for create
|
|
///
|
|
int validateCreateInputBase(const RouteSegment &ifObj, ::Teamcenter::CreateInput *creInput );
|
|
|
|
|
|
|
|
protected:
|
|
// Pointer to the instance
|
|
static RouteSegmentDelegate* m_pInstance;
|
|
|
|
RouteSegmentDelegate();
|
|
virtual ~RouteSegmentDelegate();
|
|
static void setInstance( RouteSegmentDelegate* instance );
|
|
|
|
|
|
private:
|
|
friend class ::Teamcenter::RouteSegmentGenImpl;
|
|
|
|
};
|
|
|
|
#include <mechatronics/libmechatronics_undef.h>
|
|
#endif // TEAMCENTER__ROUTESEGMENTDELEGATE_HXX
|