RSB
0.7.0
|
Implementation of this interface perform mappings of one of the followings forms: More...
#include <ConverterSelectionStrategy.h>
Public Types | |
typedef Converter< WireType >::Ptr | ConverterPtr |
typedef boost::shared_ptr < ConverterSelectionStrategy < WireType > > | Ptr |
Public Member Functions | |
virtual ConverterPtr | getConverter (const std::string &key) const =0 |
Tries to look up the converter designator by key. |
Implementation of this interface perform mappings of one of the followings forms:
Definition at line 49 of file ConverterSelectionStrategy.h.
typedef Converter<WireType>::Ptr rsb::converter::ConverterSelectionStrategy< WireType >::ConverterPtr |
Definition at line 51 of file ConverterSelectionStrategy.h.
typedef boost::shared_ptr< ConverterSelectionStrategy<WireType> > rsb::converter::ConverterSelectionStrategy< WireType >::Ptr |
Definition at line 53 of file ConverterSelectionStrategy.h.
|
pure virtual |
Tries to look up the converter designator by key.
key | A wire-schema or data-type desinated the desired converter. |
rsc::runtime::NoSuchObject | If there is no converter fo key. |
Implemented in rsb::converter::PredicateConverterList< WireType >, and rsb::converter::UnambiguousConverterMap< WireType >.
Referenced by rsb::converter::EventsByScopeMapConverter::deserialize(), and rsb::converter::EventsByScopeMapConverter::serialize().