#include <datasource_fixture.hpp>
Public Types | |
typedef boost::intrusive_ptr< UpdatedReferenceDataSource< T > > | shared_ptr |
Public Member Functions | |
virtual UpdatedReferenceDataSource< T > * | clone () const |
virtual UpdatedReferenceDataSource< T > * | copy (std::map< const base::DataSourceBase *, base::DataSourceBase * > &alreadyCloned) const |
DataSource< T >::result_t | get () const |
DataSource< T >::const_reference_t | rvalue () const |
void | updated () |
UpdatedReferenceDataSource (typename AssignableDataSource< T >::reference_t ref) | |
DataSource< T >::result_t | value () const |
~UpdatedReferenceDataSource () | |
Private Attributes | |
DataSource< T >::value_t | mcopy |
AssignableDataSource< T >::reference_t | mref |
Only for unit tests: only returns new value in get() after updated() has been called. Use this to test the calling of updated() after a set().
Definition at line 200 of file datasource_fixture.hpp.
typedef boost::intrusive_ptr<UpdatedReferenceDataSource<T> > UpdatedReferenceDataSource< T >::shared_ptr |
Definition at line 212 of file datasource_fixture.hpp.
|
inline |
Use shared_ptr.
Definition at line 210 of file datasource_fixture.hpp.
|
inline |
Definition at line 214 of file datasource_fixture.hpp.
|
inlinevirtual |
Definition at line 233 of file datasource_fixture.hpp.
|
inlinevirtual |
Definition at line 235 of file datasource_fixture.hpp.
|
inline |
Definition at line 216 of file datasource_fixture.hpp.
|
inline |
Definition at line 226 of file datasource_fixture.hpp.
|
inline |
Definition at line 231 of file datasource_fixture.hpp.
|
inline |
Definition at line 221 of file datasource_fixture.hpp.
|
private |
Definition at line 205 of file datasource_fixture.hpp.
|
private |
Definition at line 204 of file datasource_fixture.hpp.