Teamcenter C++ API Reference  2312
ScopedUserAction.hxx
Go to the documentation of this file.
1 // Copyright 2022 Siemens Digital Industries Software
2 // ==================================================
3 // Copyright 2022.
4 // Siemens Product Lifecycle Management Software Inc.
5 // All Rights Reserved.
6 // ==================================================
7 // Copyright 2022 Siemens Digital Industries Software
8 
9 #ifndef TEAMCENTER_COMMON_LOGGING_SCOPEDUSERACTION_HXX
10 #define TEAMCENTER_COMMON_LOGGING_SCOPEDUSERACTION_HXX
11 
13 
14 
15 #include <tclogging/libtclogging_exports.h>
16 
17 namespace Teamcenter::Common::Logging
18 {
19 
24  class TCLOGGING_API ScopedUserAction
25  {
26  public:
27  ScopedUserAction() = delete;
28  ScopedUserAction( const std::string& );
29  virtual ~ScopedUserAction();
30 
31  ScopedUserAction( const ScopedUserAction& ) = delete;
32  ScopedUserAction( ScopedUserAction&& ) = delete;
33  ScopedUserAction& operator=( const ScopedUserAction& ) = delete;
34  ScopedUserAction& operator=( ScopedUserAction&& ) = delete;
35  };
36 
37 }
38 
39 #include <tclogging/libtclogging_undef.h>
40 #endif