HLCC Documentation 2.2.0
Loading...
Searching...
No Matches
Classes | Protected Member Functions | Protected Attributes | List of all members
hlcc::oldbmux::test::CiiOldbDataPointAsyncTest Class Reference
Inheritance diagram for hlcc::oldbmux::test::CiiOldbDataPointAsyncTest:

Classes

struct  OldbWriteResults
 

Protected Member Functions

void SetUp () override
 
void TearDown () override
 
OldbWriteResults CheckOldbWriteFutures (std::vector< boost::future< CiiOldbDataPointAsync< string >::OldbData > > &futures)
 
OldbWriteResults WriteHelloStrings (const int n)
 

Protected Attributes

unique_ptr< log4cplus::Logger > logger
 
boost::asio::thread_pool async_exec {1}
 
shared_ptr< CiiOldbDataPointAsync< string > > dp_async
 

Member Function Documentation

◆ CheckOldbWriteFutures()

CiiOldbDataPointAsyncTest::OldbWriteResults hlcc::oldbmux::test::CiiOldbDataPointAsyncTest::CheckOldbWriteFutures ( std::vector< boost::future< CiiOldbDataPointAsync< string >::OldbData > > & futures)
protected

Helper method that makes statistics from a list of DP-write futures.

◆ SetUp()

void hlcc::oldbmux::test::CiiOldbDataPointAsyncTest::SetUp ( )
inlineoverrideprotected

◆ TearDown()

void hlcc::oldbmux::test::CiiOldbDataPointAsyncTest::TearDown ( )
inlineoverrideprotected

◆ WriteHelloStrings()

CiiOldbDataPointAsyncTest::OldbWriteResults hlcc::oldbmux::test::CiiOldbDataPointAsyncTest::WriteHelloStrings ( const int n)
protected

Test helper function that writes the string "hello test " (plus a suffix number) to our OLDB DP, for the given number of repetitions. It then waits for all writes to finish.

Member Data Documentation

◆ async_exec

boost::asio::thread_pool hlcc::oldbmux::test::CiiOldbDataPointAsyncTest::async_exec {1}
protected

thread pool for background OLDB calls

◆ dp_async

shared_ptr<CiiOldbDataPointAsync<string> > hlcc::oldbmux::test::CiiOldbDataPointAsyncTest::dp_async
protected

◆ logger

unique_ptr<log4cplus::Logger> hlcc::oldbmux::test::CiiOldbDataPointAsyncTest::logger
protected

The documentation for this class was generated from the following file: