eXperiment robotics framework

tpn::TinyXmlBinding< T, M > Class Template Reference

#include <TinyXmlBinding.hpp>

Inheritance diagram for tpn::TinyXmlBinding< T, M >:

Inheritance graph
[legend]
Collaboration diagram for tpn::TinyXmlBinding< T, M >:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 TinyXmlBinding (const std::string &name, M T::*offset, MemberType type)
 TinyXmlBinding (const std::string &name, boost::function< const M(T *)> getter, boost::function< void(T *, const M &)> setter, MemberType type)
virtual void DependantFunction1 (boost::any param, T &t)
virtual void DependantFunction2 (boost::any param, T &t)
void BindingToXml (TiXmlElement *element, T &t)
void BindingFromXml (const TiXmlElement *element, T &t)

Protected Attributes

MemberType m_type


Detailed Description

template<typename T, typename M>
class tpn::TinyXmlBinding< T, M >

Definition at line 91 of file TinyXmlBinding.hpp.


Constructor & Destructor Documentation

template<typename T, typename M>
tpn::TinyXmlBinding< T, M >::TinyXmlBinding ( const std::string &  name,
M T::*  offset,
MemberType  type 
) [inline]

Definition at line 94 of file TinyXmlBinding.hpp.

template<typename T, typename M>
tpn::TinyXmlBinding< T, M >::TinyXmlBinding ( const std::string &  name,
boost::function< const M(T *)>  getter,
boost::function< void(T *, const M &)>  setter,
MemberType  type 
) [inline]

Definition at line 97 of file TinyXmlBinding.hpp.


Member Function Documentation

template<typename T, typename M>
virtual void tpn::TinyXmlBinding< T, M >::DependantFunction1 ( boost::any  param,
T &  t 
) [inline, virtual]

Reimplemented from tpn::Binding< T >.

Definition at line 100 of file TinyXmlBinding.hpp.

References tpn::TinyXmlBinding< T, M >::BindingToXml().

template<typename T, typename M>
virtual void tpn::TinyXmlBinding< T, M >::DependantFunction2 ( boost::any  param,
T &  t 
) [inline, virtual]

Reimplemented from tpn::Binding< T >.

Definition at line 109 of file TinyXmlBinding.hpp.

References tpn::TinyXmlBinding< T, M >::BindingFromXml().

template<typename T, typename M>
void tpn::TinyXmlBinding< T, M >::BindingToXml ( TiXmlElement element,
T &  t 
) [inline]

template<typename T, typename M>
void tpn::TinyXmlBinding< T, M >::BindingFromXml ( const TiXmlElement element,
T &  t 
) [inline]


Member Data Documentation

template<typename T, typename M>
MemberType tpn::TinyXmlBinding< T, M >::m_type [protected]


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

The miarn project - written by Joao Xavier