Teamcenter C++ API Reference  2312
UserSessionDelegateExt.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, UserSessionDelegate
12  Filename: UserSessionDelegateExt.hxx
13  Module: cm
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef CM0__TEAMCENTER__CM__USERSESSIONDELEGATE_HXX
18 #define CM0__TEAMCENTER__CM__USERSESSIONDELEGATE_HXX
19 
20 #include <common/tc_deprecation_macros.h>
21 #include <cm/UserSessionExt.hxx>
22 
23 #include <cm/libcm_exports.h>
24 
25 
26 namespace cm0
27 {
28  namespace Teamcenter
29  {
30  namespace CM
31  {
32  class UserSessionDelegate;
33  }
34  }
35 }
36 namespace cm0
37 {
38  namespace Teamcenter
39  {
40  namespace CM
41  {
42  class UserSessionImpl;
43  }
44  }
45 }
46 namespace cm0
47 {
48  namespace Teamcenter
49  {
50  namespace CM
51  {
52  class UserSession;
53  }
54  }
55 }
56 namespace cm0
57 {
58  namespace Teamcenter
59  {
60  namespace CM
61  {
62  class UserSessionGenImpl;
63  }
64  }
65 }
66 
67 namespace cm0_alias = ::cm0;
68 
69 
70 class CM_API cm0_alias::Teamcenter::CM::UserSessionDelegate
71 {
72 public:
73  // Constructor Method
74  static ::Teamcenter::BusinessObjectExtender* constructor( tag_t objTag );
75 
76  // Method to initialize this Class
77  static int initializeClass();
78 
79  // Method to get the UserSessionDelegate instance
81 
82  // Method to create the UserSessionImpl pointer
83  static UserSessionImpl* createImpl( UserSession& ifObj );
84 
85  // Method to delete the UserSessionImpl pointer
86  static void deleteImpl( UserSessionImpl* impl );
87 
88 
96  int getCm0GlobalChangeContextBase(const UserSession &ifObj, tag_t &value, bool &isNull ) const;
97 
98 
106  int setCm0GlobalChangeContextBase(UserSession &ifObj, const tag_t &value, bool isNull );
107 
108 
109 
110 protected:
111  // Pointer to the instance
113 
115  virtual ~UserSessionDelegate();
116 
117 private:
118  friend class ::cm0::Teamcenter::CM::UserSessionGenImpl;
119 
120 };
121 
122 #include <cm/libcm_undef.h>
123 #endif // CM0__TEAMCENTER__CM__USERSESSIONDELEGATE_HXX