RSB  0.9.6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
rsb::converter::ConverterSelectionStrategy< WireType > Class Template Referenceabstract

Implementation of this interface perform mappings of one of the followings forms: More...

#include <ConverterSelectionStrategy.h>

Inheritance diagram for rsb::converter::ConverterSelectionStrategy< WireType >:
Inheritance graph
Collaboration diagram for rsb::converter::ConverterSelectionStrategy< WireType >:
Collaboration graph

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. More...
 

Detailed Description

template<typename WireType>
class rsb::converter::ConverterSelectionStrategy< WireType >

Implementation of this interface perform mappings of one of the followings forms:

Author
jmoringe

Definition at line 49 of file ConverterSelectionStrategy.h.

Member Typedef Documentation

template<typename WireType>
typedef Converter<WireType>::Ptr rsb::converter::ConverterSelectionStrategy< WireType >::ConverterPtr

Definition at line 51 of file ConverterSelectionStrategy.h.

template<typename WireType>
typedef boost::shared_ptr< ConverterSelectionStrategy<WireType> > rsb::converter::ConverterSelectionStrategy< WireType >::Ptr

Definition at line 53 of file ConverterSelectionStrategy.h.

Member Function Documentation

template<typename WireType>
virtual ConverterPtr rsb::converter::ConverterSelectionStrategy< WireType >::getConverter ( const std::string &  key) const
pure virtual

Tries to look up the converter designator by key.

Parameters
keyA wire-schema or data-type desinated the desired converter.
Returns
A boost::shared_ptr holding the converter.
Exceptions
rsc::runtime::NoSuchObjectIf 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().

Here is the caller graph for this function:


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