common_library: gettid is multiple declaration in cl_error
[staging/basesystem.git] / video_in_hal / nsframework / notification_persistent_service / server / include / ns_npp_personality.h
1 /*
2  * @copyright Copyright (c) 2016-2020 TOYOTA MOTOR CORPORATION.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17 ////////////////////////////////////////////////////////////////////////////////////////////////////
18 /// \defgroup <<Group Tag>> <<Group Name>>
19 /// \ingroup  tag_NS_NPPService
20 /// .
21 ////////////////////////////////////////////////////////////////////////////////////////////////////
22
23 ////////////////////////////////////////////////////////////////////////////////////////////////////
24 /// \ingroup  tag_NS_NPPService
25 /// \brief    This file contain declaration of CNotificationpersistentservicePersonality class.
26 ///       The class object define personality.
27 ///
28 ////////////////////////////////////////////////////////////////////////////////////////////////////
29
30 #ifndef NOTIFICATION_PERSISTENT_SERVICE_SERVER_INCLUDE_NS_NPP_PERSONALITY_H_
31 #define NOTIFICATION_PERSISTENT_SERVICE_SERVER_INCLUDE_NS_NPP_PERSONALITY_H_
32
33 ////////////////////////////////////////////////////////////////////////////////////////////////////
34 // Include Files
35 ////////////////////////////////////////////////////////////////////////////////////////////////////
36
37 #include <native_service/frameworkunified_types.h>
38 #include <string>
39
40 /**
41  *  This class holds all the informations related to a personality.
42  */
43 class CNotificationpersistentservicePersonality {
44  private:
45   // no members in private
46
47  public:
48   std::string m_cUserName;  ///< user name
49
50   UI_32 m_uiUserId;     ///< unique identifier of each user
51
52   ////////////////////////////////////////////////////////////////////////////////////////////////
53   /// CNotificationpersistentservicePersonality
54   /// Constructor of CNotificationpersistentservicePersonality class
55   ///
56   /// \param
57   ///
58   /// \return
59   ///
60   ////////////////////////////////////////////////////////////////////////////////////////////////
61   CNotificationpersistentservicePersonality(): m_cUserName(""), m_uiUserId(0) {}  // LCOV_EXCL_BR_LINE 11: unexpected branch
62
63   ////////////////////////////////////////////////////////////////////////////////////////////////
64   /// ~CNotificationpersistentservicePersonality
65   /// Destructor of CNotificationpersistentservicePersonality class
66   ///
67   /// \param
68   ///
69   /// \return
70   ///
71   ////////////////////////////////////////////////////////////////////////////////////////////////
72   ~CNotificationpersistentservicePersonality() {}
73 };
74
75 #endif  // NOTIFICATION_PERSISTENT_SERVICE_SERVER_INCLUDE_NS_NPP_PERSONALITY_H_