#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.
UpdatedReferenceDataSource< T >::~UpdatedReferenceDataSource | ( | ) | [inline] |
Use shared_ptr.
Definition at line 210 of file datasource_fixture.hpp.
UpdatedReferenceDataSource< T >::UpdatedReferenceDataSource | ( | typename AssignableDataSource< T >::reference_t | ref | ) | [inline] |
Definition at line 214 of file datasource_fixture.hpp.
virtual UpdatedReferenceDataSource<T>* UpdatedReferenceDataSource< T >::clone | ( | ) | const [inline, virtual] |
Definition at line 233 of file datasource_fixture.hpp.
virtual UpdatedReferenceDataSource<T>* UpdatedReferenceDataSource< T >::copy | ( | std::map< const base::DataSourceBase *, base::DataSourceBase * > & | alreadyCloned | ) | const [inline, virtual] |
Definition at line 235 of file datasource_fixture.hpp.
DataSource<T>::result_t UpdatedReferenceDataSource< T >::get | ( | ) | const [inline] |
Definition at line 216 of file datasource_fixture.hpp.
DataSource<T>::const_reference_t UpdatedReferenceDataSource< T >::rvalue | ( | ) | const [inline] |
Definition at line 226 of file datasource_fixture.hpp.
void UpdatedReferenceDataSource< T >::updated | ( | ) | [inline] |
Definition at line 231 of file datasource_fixture.hpp.
DataSource<T>::result_t UpdatedReferenceDataSource< T >::value | ( | ) | const [inline] |
Definition at line 221 of file datasource_fixture.hpp.
DataSource<T>::value_t UpdatedReferenceDataSource< T >::mcopy [private] |
Definition at line 205 of file datasource_fixture.hpp.
AssignableDataSource<T>::reference_t UpdatedReferenceDataSource< T >::mref [private] |
Definition at line 204 of file datasource_fixture.hpp.