![]() |
QMCPACK
|
Public Member Functions | |
auto | getParticularListener (Vector< Real > &local_vector) |
Return listener frunction that has captured an object data member. More... | |
ListenerVector< Real > | makeListener () |
Public Attributes | |
Vector< Real > | receiver_vector_ |
Definition at line 49 of file test_Listener.cpp.
Return listener frunction that has captured an object data member.
returning a lambda allows access to the listening object controlled but allows a great deal of flexibility in dealing with the vector report. In this case the receiver just copies the vector it is called with to local storage which the lambda has captured.
Definition at line 57 of file test_Listener.cpp.
Referenced by MockPerParticleEstimator::makeListener().
|
inline |
Definition at line 63 of file test_Listener.cpp.
References MockPerParticleEstimator::getParticularListener(), and MockPerParticleEstimator::receiver_vector_.
Referenced by qmcplusplus::testing::TEST_CASE().
Definition at line 66 of file test_Listener.cpp.
Referenced by MockPerParticleEstimator::makeListener(), and qmcplusplus::testing::TEST_CASE().