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.
254 lines
7.6 KiB
254 lines
7.6 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, Fnd0Profiler
|
|
Filename: Fnd0Profiler.hxx
|
|
Module: Fnd0profiler
|
|
@BMIDE autogenerated
|
|
==================================================================================================*/
|
|
|
|
#ifndef TEAMCENTER__FND0PROFILER__HXX
|
|
#define TEAMCENTER__FND0PROFILER__HXX
|
|
|
|
#include <string>
|
|
#include <common/tc_deprecation_macros.h>
|
|
#include <metaframework/RuntimeBusinessObject.hxx>
|
|
|
|
#include <Fnd0profiler/libfnd0profiler_exports.h>
|
|
|
|
namespace Teamcenter
|
|
{
|
|
class Fnd0Profiler;
|
|
}
|
|
namespace Teamcenter
|
|
{
|
|
class Fnd0ProfilerImpl;
|
|
}
|
|
namespace Teamcenter
|
|
{
|
|
class Fnd0ProfilerDelegate;
|
|
}
|
|
namespace Teamcenter
|
|
{
|
|
class Fnd0ProfilerDispatch;
|
|
}
|
|
namespace Teamcenter
|
|
{
|
|
class Fnd0ProfilerGenImpl;
|
|
}
|
|
namespace Teamcenter
|
|
{
|
|
class RootObjectImpl;
|
|
}
|
|
|
|
class FND0PROFILER_API Teamcenter::Fnd0Profiler
|
|
: public ::Teamcenter::RuntimeBusinessObject
|
|
{
|
|
public:
|
|
|
|
/**
|
|
* Get the Interface Name
|
|
* @return - return desc for getInterfaceName
|
|
*/
|
|
static const std::string& getInterfaceName();
|
|
|
|
|
|
///
|
|
/// Getter for a Double Property
|
|
/// @version Teamcenter 9
|
|
/// @param value - Parameter Value
|
|
/// @param isNull - Returns true if the Parameter value is null
|
|
/// @return - Status. 0 if successful
|
|
///
|
|
int getFnd0cpu_time( double &value, bool &isNull ) const;
|
|
|
|
///
|
|
/// Getter for a Double Property
|
|
/// @version Teamcenter 9
|
|
/// @param value - Parameter Value
|
|
/// @param isNull - Returns true if the Parameter value is null
|
|
/// @return - Status. 0 if successful
|
|
///
|
|
int getFnd0db_time( double &value, bool &isNull ) const;
|
|
|
|
///
|
|
/// Getter for a Double Property
|
|
/// @version Teamcenter 11.1
|
|
/// @param value - Parameter Value
|
|
/// @param isNull - Returns true if the Parameter value is null
|
|
/// @return - Status. 0 if successful
|
|
///
|
|
int getFnd0process_memory_usage( double &value, bool &isNull ) const;
|
|
|
|
///
|
|
/// Getter for a string Property
|
|
/// @version Teamcenter 9
|
|
/// @param value - Parameter value
|
|
/// @param isNull - Returns true if the Parameter value is null
|
|
/// @return - Status. 0 if successful
|
|
///
|
|
int getFnd0server_request_id( std::string &value, bool &isNull ) const;
|
|
|
|
///
|
|
/// Getter for a string Property
|
|
/// @version Teamcenter 9
|
|
/// @param value - Parameter value
|
|
/// @param isNull - Returns true if the Parameter value is null
|
|
/// @return - Status. 0 if successful
|
|
///
|
|
int getFnd0server_request_name( std::string &value, bool &isNull ) const;
|
|
|
|
///
|
|
/// Getter for a Double Property
|
|
/// @version Teamcenter 11.1
|
|
/// @param value - Parameter Value
|
|
/// @param isNull - Returns true if the Parameter value is null
|
|
/// @return - Status. 0 if successful
|
|
///
|
|
int getFnd0sm_memory_usage( double &value, bool &isNull ) const;
|
|
|
|
///
|
|
/// Getter for an Integer Property
|
|
/// @version Teamcenter 9
|
|
/// @param value - Parameter Value
|
|
/// @param isNull - Returns true if the Parameter value is null
|
|
/// @return - Status. 0 if successful
|
|
///
|
|
int getFnd0sql_count( int &value, bool &isNull ) const;
|
|
|
|
///
|
|
/// Getter for a Double Property
|
|
/// @version Teamcenter 9
|
|
/// @param value - Parameter Value
|
|
/// @param isNull - Returns true if the Parameter value is null
|
|
/// @return - Status. 0 if successful
|
|
///
|
|
int getFnd0wall_clock_time( double &value, bool &isNull ) const;
|
|
|
|
///
|
|
/// Setter for a Double Property
|
|
/// @version Teamcenter 9
|
|
/// @param value - Value to be set for the parameter
|
|
/// @param isNull - If true, set the parameter value to null
|
|
/// @return - Status. 0 if successful
|
|
///
|
|
int setFnd0cpu_time( double value, bool isNull=false );
|
|
|
|
///
|
|
/// Setter for a Double Property
|
|
/// @version Teamcenter 9
|
|
/// @param value - Value to be set for the parameter
|
|
/// @param isNull - If true, set the parameter value to null
|
|
/// @return - Status. 0 if successful
|
|
///
|
|
int setFnd0db_time( double value, bool isNull=false );
|
|
|
|
///
|
|
/// Setter for a Double Property
|
|
/// @version Teamcenter 11.1
|
|
/// @param value - Value to be set for the parameter
|
|
/// @param isNull - If true, set the parameter value to null
|
|
/// @return - Status. 0 if successful
|
|
///
|
|
int setFnd0process_memory_usage( double value, bool isNull=false );
|
|
|
|
///
|
|
/// Setter for a string Property
|
|
/// @version Teamcenter 9
|
|
/// @param value - Value to be set for the parameter
|
|
/// @param isNull - If true, set the parameter value to null
|
|
/// @return - Status. 0 if successful
|
|
///
|
|
int setFnd0server_request_id( const std::string &value, bool isNull=false );
|
|
|
|
///
|
|
/// Setter for a string Property
|
|
/// @version Teamcenter 9
|
|
/// @param value - Value to be set for the parameter
|
|
/// @param isNull - If true, set the parameter value to null
|
|
/// @return - Status. 0 if successful
|
|
///
|
|
int setFnd0server_request_name( const std::string &value, bool isNull=false );
|
|
|
|
///
|
|
/// Setter for a Double Property
|
|
/// @version Teamcenter 11.1
|
|
/// @param value - Value to be set for the parameter
|
|
/// @param isNull - If true, set the parameter value to null
|
|
/// @return - Status. 0 if successful
|
|
///
|
|
int setFnd0sm_memory_usage( double value, bool isNull=false );
|
|
|
|
///
|
|
/// Setter for an Integer Property
|
|
/// @version Teamcenter 9
|
|
/// @param value - Value to be set for the parameter
|
|
/// @param isNull - If true, set the parameter value to null
|
|
/// @return - Status. 0 if successful
|
|
///
|
|
int setFnd0sql_count( int value, bool isNull=false );
|
|
|
|
///
|
|
/// Setter for a Double Property
|
|
/// @version Teamcenter 9
|
|
/// @param value - Value to be set for the parameter
|
|
/// @param isNull - If true, set the parameter value to null
|
|
/// @return - Status. 0 if successful
|
|
///
|
|
int setFnd0wall_clock_time( double value, bool isNull=false );
|
|
protected:
|
|
// Method to initialize
|
|
virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
|
|
|
|
/**
|
|
* Constructor
|
|
*/
|
|
Fnd0Profiler();
|
|
|
|
/**
|
|
* Destructor
|
|
*/
|
|
virtual ~Fnd0Profiler();
|
|
|
|
private:
|
|
// Getter method for the Implementation Object
|
|
Fnd0ProfilerImpl* getFnd0ProfilerImpl() const;
|
|
// Setter method for the Implementation Object
|
|
::Teamcenter::RootObjectImpl* setFnd0ProfilerImpl( ::Teamcenter::RootObjectImpl* impl );
|
|
|
|
// Method to set the delete impl boolean
|
|
void setDeleteImpl( bool del );
|
|
|
|
// Pointer to the Implementation object
|
|
Fnd0ProfilerImpl* m_fnd0profilerImpl;
|
|
|
|
// Flag to indicate if Implementation object needs to be deleted
|
|
bool m_deleteImpl;
|
|
|
|
/**
|
|
* Name of the Business Object
|
|
*/
|
|
static std::string name;
|
|
|
|
/**
|
|
* Private default constructor. We do not want this class instantiated without the business object passed in.
|
|
* @param Fnd0Profiler - desc for Fnd0Profiler parameter
|
|
*/
|
|
Fnd0Profiler( const Fnd0Profiler& );
|
|
Fnd0Profiler& operator=( const Fnd0Profiler& );
|
|
|
|
friend class Fnd0ProfilerDelegate;
|
|
friend class Fnd0ProfilerDispatch;
|
|
friend class Fnd0ProfilerGenImpl;
|
|
};
|
|
|
|
#include <Fnd0profiler/libfnd0profiler_undef.h>
|
|
#endif // TEAMCENTER__FND0PROFILER__HXX
|