RSB
0.7.0
|
This base class enables look up of suitable rsb::converter::Converter s in rsb::transport::Connector classes. More...
#include <ConverterSelectingConnector.h>
Public Types | |
typedef converter::Converter < WireType >::Ptr | ConverterPtr |
typedef converter::ConverterSelectionStrategy < WireType >::Ptr | ConverterSelectionStrategyPtr |
Protected Member Functions | |
ConverterSelectingConnector (ConverterSelectionStrategyPtr converters) | |
ConverterPtr | getConverter (const std::string &key) const |
Try to find a suitable converter for key . |
Private Attributes | |
rsc::logging::LoggerPtr | logger |
ConverterSelectionStrategyPtr | converters |
This base class enables look up of suitable rsb::converter::Converter s in rsb::transport::Connector classes.
Definition at line 47 of file ConverterSelectingConnector.h.
typedef converter::Converter<WireType>::Ptr rsb::transport::ConverterSelectingConnector< WireType >::ConverterPtr |
Definition at line 49 of file ConverterSelectingConnector.h.
typedef converter::ConverterSelectionStrategy<WireType>::Ptr rsb::transport::ConverterSelectingConnector< WireType >::ConverterSelectionStrategyPtr |
Definition at line 50 of file ConverterSelectingConnector.h.
|
inlineprotected |
Definition at line 53 of file ConverterSelectingConnector.h.
|
inlineprotected |
Try to find a suitable converter for key .
It is considered a program error if no such converter can be found. The error condition can be avoided by:
key | the wire-schema or data-type of the converter being requested. |
rsc::runtime::NoSuchObject | If no converter could be found for key. |
Definition at line 71 of file ConverterSelectingConnector.h.
Referenced by rsb::spread::ReceiverTask::notifyHandler().
|
private |
Definition at line 77 of file ConverterSelectingConnector.h.
Referenced by rsb::transport::ConverterSelectingConnector< std::string >::getConverter().
|
private |
Definition at line 75 of file ConverterSelectingConnector.h.