$search
#include <DataSourceProxy.hpp>
Public Member Functions | |
virtual internal::AssignableDataSource < T > * | clone () const |
virtual internal::AssignableDataSource < T > * | copy (std::map< const base::DataSourceBase *, base::DataSourceBase * > &alreadyCloned) const |
virtual internal::DataSource < T >::result_t | get () const |
internal::AssignableDataSource < T >::const_reference_t | rvalue () const |
virtual internal::AssignableDataSource < T >::reference_t | set () |
virtual void | set (typename internal::AssignableDataSource< T >::param_t t) |
virtual void | updated () |
internal::DataSource< T >::result_t | value () const |
ValueDataSourceProxy (corba::CService_ptr serv, const std::string &name, bool isproperty) | |
Private Types | |
typedef internal::AssignableDataSource < T >::value_t | value_t |
Private Attributes | |
CorbaTypeTransporter * | ctp |
bool | misproperty |
const std::string | mname |
corba::CService_var | mserv |
internal::AssignableDataSource < value_t >::shared_ptr | storage |
Mirrors a remote assignable value datasource.
Definition at line 141 of file DataSourceProxy.hpp.
typedef internal::AssignableDataSource<T>::value_t RTT::corba::ValueDataSourceProxy< T >::value_t [private] |
The bare type of T is extracted into value_t.
Reimplemented from RTT::internal::AssignableDataSource< T >.
Definition at line 144 of file DataSourceProxy.hpp.
RTT::corba::ValueDataSourceProxy< T >::ValueDataSourceProxy | ( | corba::CService_ptr | serv, | |
const std::string & | name, | |||
bool | isproperty | |||
) | [inline] |
Definition at line 153 of file DataSourceProxy.hpp.
virtual internal::AssignableDataSource<T>* RTT::corba::ValueDataSourceProxy< T >::clone | ( | ) | const [inline, virtual] |
Return a shallow clone of this DataSource. This method returns a duplicate of this instance which re-uses the DataSources this internal::DataSource holds reference to. The clone() function is thus a non-deep copy.
Implements RTT::internal::AssignableDataSource< T >.
Definition at line 213 of file DataSourceProxy.hpp.
virtual internal::AssignableDataSource<T>* RTT::corba::ValueDataSourceProxy< T >::copy | ( | std::map< const base::DataSourceBase *, base::DataSourceBase * > & | alreadyCloned | ) | const [inline, virtual] |
Implements RTT::internal::AssignableDataSource< T >.
Definition at line 217 of file DataSourceProxy.hpp.
virtual internal::DataSource<T>::result_t RTT::corba::ValueDataSourceProxy< T >::get | ( | ) | const [inline, virtual] |
Return the data as type T.
Implements RTT::internal::DataSource< T >.
Definition at line 177 of file DataSourceProxy.hpp.
internal::AssignableDataSource<T>::const_reference_t RTT::corba::ValueDataSourceProxy< T >::rvalue | ( | ) | const [inline, virtual] |
Get a const reference to the value of this DataSource. You must call evaluate() prior to calling this function in order to get the most recent value of this attribute.
Implements RTT::internal::DataSource< T >.
Definition at line 172 of file DataSourceProxy.hpp.
virtual internal::AssignableDataSource<T>::reference_t RTT::corba::ValueDataSourceProxy< T >::set | ( | ) | [inline, virtual] |
Get a reference to the value of this DataSource. Getting a reference to an internal data structure is not thread-safe.
Implements RTT::internal::AssignableDataSource< T >.
Definition at line 203 of file DataSourceProxy.hpp.
virtual void RTT::corba::ValueDataSourceProxy< T >::set | ( | typename internal::AssignableDataSource< T >::param_t | t | ) | [inline, virtual] |
Definition at line 191 of file DataSourceProxy.hpp.
virtual void RTT::corba::ValueDataSourceProxy< T >::updated | ( | ) | [inline, virtual] |
In case the internal::DataSource returns a 'reference' type, call this method to notify it that the data was updated in the course of an invocation of get().
Reimplemented from RTT::base::DataSourceBase.
Definition at line 208 of file DataSourceProxy.hpp.
internal::DataSource<T>::result_t RTT::corba::ValueDataSourceProxy< T >::value | ( | ) | const [inline, virtual] |
Return the result of the last evaluate() function. You must call evaluate() prior to calling this function in order to get the most recent value of this attribute.
Implements RTT::internal::DataSource< T >.
Definition at line 168 of file DataSourceProxy.hpp.
CorbaTypeTransporter* RTT::corba::ValueDataSourceProxy< T >::ctp [private] |
Definition at line 149 of file DataSourceProxy.hpp.
bool RTT::corba::ValueDataSourceProxy< T >::misproperty [private] |
Definition at line 147 of file DataSourceProxy.hpp.
const std::string RTT::corba::ValueDataSourceProxy< T >::mname [private] |
Definition at line 146 of file DataSourceProxy.hpp.
corba::CService_var RTT::corba::ValueDataSourceProxy< T >::mserv [private] |
Definition at line 145 of file DataSourceProxy.hpp.
internal::AssignableDataSource<value_t>::shared_ptr RTT::corba::ValueDataSourceProxy< T >::storage [private] |
Definition at line 148 of file DataSourceProxy.hpp.