Changeset 107254 in vbox for trunk/src/VBox/Main/include
- Timestamp:
- Dec 9, 2024 1:09:34 PM (6 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/ObjectsTracker.h
r107240 r107254 145 145 } 146 146 147 inline bool isIdleTimeStarted() const 148 { 149 return m_fIdleTimeStart; 150 } 151 152 inline bool isLifeTimeExpired() const 153 { 154 return m_fLifeTimeExpired; 155 } 156 147 157 com::Utf8Str updateLastAccessTime(); 148 158 com::Utf8Str initIdleTime(); … … 156 166 com::Utf8Str m_componentName; 157 167 RTTIMESPEC m_creationTime;//creation time 168 RTTIMESPEC m_deletionTime;//deletion time (m_creationTime + m_lifeTime + m_idleTime) 158 169 RTTIMESPEC m_idleTimeStart;//idle time beginning (ref counter is 1) 159 RTTIMESPEC m_deletionTime;//deletion time (m_creationTime + m_lifeTime + m_idleTime)160 170 RTTIMESPEC m_lastAccessTime;//last access time 161 171 uint64_t m_lifeTime;//lifetime after creation in seconds, 0 - live till the VBoxSVC lives 162 172 uint64_t m_idleTime;//lifetime after out of usage in seconds, 0 - keep forever 163 173 bool m_fIdleTimeStart;//when ref counter of m_pIface is 1 or m_lifeTime exceeded 174 bool m_fLifeTimeExpired;//set to True only one time during the whole object life 164 175 TrackedObjectState_T m_state; 165 176 ComPtr<IUnknown> m_pIface;//keeps a reference to a tracked object … … 200 211 uint64_t afterLifeTime, 201 212 IUnknown* ptrIface); 213 214 HRESULT updateObj (const TrackedObjectData& aObjData); 202 215 203 216 HRESULT getObj (const com::Utf8Str &aObjId,
Note:
See TracChangeset
for help on using the changeset viewer.