SourcePro® C++ API Reference Guide

Product Documentation:
   SourcePro C++
Documentation Home
List of all members | Public Member Functions
RWQEInMemoryResultHandler Class Reference

#include <rw/rwtest/perf/RWQEInMemoryResultHandler.h>

Public Member Functions

 RWQEInMemoryResultHandler (std::vector< RWQEPerfTestResult > &resultObj)
 
 RWQEInMemoryResultHandler (const RWQEInMemoryResultHandler &rhs)
 
void endSuite ()
 
void endTest ()
 
void handleResult (const RWQEPerfTestResult &result)
 
void startSuite (const std::string &)
 
void startTest (const RWQEPerfTestDef &)
 

Detailed Description

An implementation of the Result Handler API that writes to the supplied std::vector<RWQEPerfTestResult>.

Constructor & Destructor Documentation

RWQEInMemoryResultHandler::RWQEInMemoryResultHandler ( std::vector< RWQEPerfTestResult > &  resultObj)
inline

Constructs an InMemoryResultHandler for the specified std::vector<RWQEPerfTestResult> resultObj.

RWQEInMemoryResultHandler::RWQEInMemoryResultHandler ( const RWQEInMemoryResultHandler rhs)
inline

Copy constructor. The std::vector<RWQEPerfTestResult> object is preserved, however a separate mutex is used to guard against concurrent access to the memory object.

Member Function Documentation

void RWQEInMemoryResultHandler::endSuite ( )
inline

Performs no action in this handler.

void RWQEInMemoryResultHandler::endTest ( )
inline

Performs no action in this handler.

void RWQEInMemoryResultHandler::handleResult ( const RWQEPerfTestResult result)
inline

Appends the result to std::vector<RWQEPerfTestResult> object.

void RWQEInMemoryResultHandler::startSuite ( const std::string &  )
inline

Performs no action in this handler.

void RWQEInMemoryResultHandler::startTest ( const RWQEPerfTestDef )
inline

Performs no action in this handler.

Copyright © 2016 Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Provide feedback to Rogue Wave about its documentation.