Teamcenter C++ API Reference  2312
Lis0FactoryService.hxx
Go to the documentation of this file.
1 //Copyright 2022 Siemens Digital Industries Software
2 //==================================================
3 //Copyright $2023.
4 //Siemens Product Lifecycle Management Software Inc.
5 //All Rights Reserved.
6 //==================================================
7 //Copyright 2022 Siemens Digital Industries Software
8 
9 /*==================================================================================================
10 File description:
11  This file contains the declaration for the Business Object, Lis0FactoryService
12  Filename: Lis0FactoryService.hxx
13  Module: Lis0lisfmwrk
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef LIS0LISFMWRK__LIS0FACTORYSERVICE__HXX
18 #define LIS0LISFMWRK__LIS0FACTORYSERVICE__HXX
19 
20 #include <unidefs.h>
21 #include <vector>
22 #include <common/tc_deprecation_macros.h>
23 #include <tccore/POM_object.hxx>
24 
25 #include <Lis0lisfmwrk/liblis0lisfmwrk_exports.h>
26 
27 namespace lis0lisfmwrk
28 {
29  class Lis0FactoryService;
30 }
31 namespace lis0lisfmwrk
32 {
33  class Lis0FactoryServiceImpl;
34 }
35 namespace lis0lisfmwrk
36 {
37  class Lis0FactoryServiceDelegate;
38 }
39 namespace lis0lisfmwrk
40 {
41  class Lis0FactoryServiceDispatch;
42 }
43 namespace lis0lisfmwrk
44 {
45  class Lis0FactoryServiceGenImpl;
46 }
47 namespace Teamcenter
48 {
49  class RootObjectImpl;
50 }
51 
52 class LIS0LISFMWRK_API lis0lisfmwrk::Lis0FactoryService
54 {
55 public:
56 
61  static const std::string& getInterfaceName();
62 
63 
71  int lis0GetFactoryService( tag_t serviceProvider, std::vector< tag_t > *factoryServicesList );
72 protected:
73  // Method to initialize
74  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
75 
80 
84  virtual ~Lis0FactoryService();
85 
86 private:
87  // Getter method for the Implementation Object
88  Lis0FactoryServiceImpl* getLis0FactoryServiceImpl() const;
89  // Setter method for the Implementation Object
90  ::Teamcenter::RootObjectImpl* setLis0FactoryServiceImpl( ::Teamcenter::RootObjectImpl* impl );
91 
92  // Method to set the delete impl boolean
93  void setDeleteImpl( bool del );
94 
95  // Pointer to the Implementation object
96  Lis0FactoryServiceImpl* m_lis0factoryserviceImpl;
97 
98  // Flag to indicate if Implementation object needs to be deleted
100 
104  static std::string name;
105 
112 
113  friend class Lis0FactoryServiceDelegate;
114  friend class Lis0FactoryServiceGenImpl;
115 };
116 
117 #include <Lis0lisfmwrk/liblis0lisfmwrk_undef.h>
118 #endif // LIS0LISFMWRK__LIS0FACTORYSERVICE__HXX