diff options
author | Zane Shelley <zshelle@us.ibm.com> | 2014-08-11 18:21:15 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2014-09-22 13:25:39 -0500 |
commit | d45b9d097a66478cbf9d0aa8324becf414582128 (patch) | |
tree | 8b4af6ca3262a33274642891de851499a045fb4c /src/usr/diag/prdf/common/framework/service/iipServiceDataCollector.h | |
parent | 9cc8c4e87e331944bce8fb527564ff254af799cf (diff) | |
download | talos-hostboot-d45b9d097a66478cbf9d0aa8324becf414582128.tar.gz talos-hostboot-d45b9d097a66478cbf9d0aa8324becf414582128.zip |
PRD: Refactored ServiceDataCollector::GetMruList()
Change-Id: I01b6bbbe87e9f061eda92be5d203e50b214ce367
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/13255
Reviewed-by: Zane Shelley <zshelle@us.ibm.com>
Tested-by: Jenkins Server
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/13456
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/diag/prdf/common/framework/service/iipServiceDataCollector.h')
-rwxr-xr-x | src/usr/diag/prdf/common/framework/service/iipServiceDataCollector.h | 23 |
1 files changed, 8 insertions, 15 deletions
diff --git a/src/usr/diag/prdf/common/framework/service/iipServiceDataCollector.h b/src/usr/diag/prdf/common/framework/service/iipServiceDataCollector.h index 94d410ace..ec0b988db 100755 --- a/src/usr/diag/prdf/common/framework/service/iipServiceDataCollector.h +++ b/src/usr/diag/prdf/common/framework/service/iipServiceDataCollector.h @@ -225,7 +225,7 @@ public: <br><b>Parameters: </b> a valid PRDcallout & PRDpriority <br><b>Returns: </b> None. <br><b>Requirements:</b> None - <br><b>Promises: </b> GetMruList().GetCount()++ + <br><b>Promises: </b> getMruList().GetCount()++ <br><b>Exceptions: </b> None. <br><b>Notes: </b> No implementation for Apache or Northstar </ul><br> @@ -247,21 +247,14 @@ public: */ void AddSignatureList( ErrorSignature & i_sig ); - /** - Access the list of Mrus - <ul> - <br><b>Parameters: </b> None. - <br><b>Returns: </b> SDC_MRU_LIST - @see MruListClass - <br><b>Requirements:</b> None. - <br><b>Promises: </b> None - <br><b>Exceptions: </b> None. - <br><b>Notes: </b> No implementation for Apache or Northstar - </ul><br> - */ - SDC_MRU_LIST & GetMruList(void); // dg07 + /** @return The list of MRUs currently stored in the SDC. */ + const SDC_MRU_LIST & getMruList() const { return xMruList; } + + /** @return The size of the MRU list currently stored in the SDC. */ + size_t getMruListSize() const { return xMruList.size(); } - PRDF_SIGNATURES & GetSignatureList(void); // jl00 + /** @return The secondary signature list stored in the SDC. */ + const PRDF_SIGNATURES & getSignatureList() const { return iv_SignatureList;} /** Clear the list of MruCallouts |