User story #186
Updated by André Neto over 9 years ago
Refactor the original MARTe named objects (aka GCNamedObject).
This would satisfy requirement:
* MARTe-EX-F-2.1.4: The framework shall allow to associate a name to any of its objects.
h1. Source code files modified
* Source/Core/L1Objects/Object.cpp
* Source/Core/L1Objects/Object.h
h1. Architecture & design review
*Date of the review:* 31/07/2015
*Person who did the review:* Andre' Neto
*Version of architecture & design document:* As #184.
*Result of review:* N/A
*List of non-conformities:* N/A
h1. Code and documentation review
*Date of the review:* 17/08/2015
*Person who did the review:* Giuseppe Ferrò
*Result of review:* SUCCESS
*List of non-conformities:* N/A.
Notes:
- The global FastPollingMutexSem in Object.cpp could be a class attribute.
- In the function DecrementReferences it's better initailize ret to referencesNumber.
- Lint Warning in Object: Warning 1502: defined object 'ObjectHeap_' of type 'Heap' has no nonstatic data members
h1. Unit test review
*Date of the review:* 20/08/2015 --/--/2015
*Person who did the review:* Andre' Neto -----
*Result of coverage tests review:* PASS [PASS/FAIL]
*Result of functional tests review:* PASS [PASS/FAIL]
*Result of review:* PASS [PASS/FAIL]
*List of non-conformities:*
Notes:
The following is left for a later sprint when introspection and configuration will be available:
void Object::GetIntrospectionCopy
This would satisfy requirement:
* MARTe-EX-F-2.1.4: The framework shall allow to associate a name to any of its objects.
h1. Source code files modified
* Source/Core/L1Objects/Object.cpp
* Source/Core/L1Objects/Object.h
h1. Architecture & design review
*Date of the review:* 31/07/2015
*Person who did the review:* Andre' Neto
*Version of architecture & design document:* As #184.
*Result of review:* N/A
*List of non-conformities:* N/A
h1. Code and documentation review
*Date of the review:* 17/08/2015
*Person who did the review:* Giuseppe Ferrò
*Result of review:* SUCCESS
*List of non-conformities:* N/A.
Notes:
- The global FastPollingMutexSem in Object.cpp could be a class attribute.
- In the function DecrementReferences it's better initailize ret to referencesNumber.
- Lint Warning in Object: Warning 1502: defined object 'ObjectHeap_' of type 'Heap' has no nonstatic data members
h1. Unit test review
*Date of the review:* 20/08/2015 --/--/2015
*Person who did the review:* Andre' Neto -----
*Result of coverage tests review:* PASS [PASS/FAIL]
*Result of functional tests review:* PASS [PASS/FAIL]
*Result of review:* PASS [PASS/FAIL]
*List of non-conformities:*
Notes:
The following is left for a later sprint when introspection and configuration will be available:
void Object::GetIntrospectionCopy