swift
Public Member Functions | Public Attributes | List of all members
MiscTest::CValueCacheUser Class Reference

Simple class which uses CCached, for testing. More...

Inheritance diagram for MiscTest::CValueCacheUser:
[legend]

Public Member Functions

 CValueCacheUser (swift::misc::CValueCache *cache)
 Constructor.
 
void ps_valueChanged ()
 Slot to be called when a cached value changes.
 
bool slotFired ()
 Detect whether the slot was called, for verification.
 

Public Attributes

std::promise< void > m_slotFired
 Flag marking whether the slot was called.
 
swift::misc::CCached< int > m_value1
 First cached value.
 
swift::misc::CCached< int > m_value2
 Second cached value.
 

Detailed Description

Simple class which uses CCached, for testing.

Definition at line 81 of file testvaluecache.cpp.


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