FairMQ
1.2.1
C++ Message Passing Framework
|
#include <FairMQSuboptParser.h>
Public Types | |
enum | channelOptionKeyIds { NAME = 0, TYPE, METHOD, ADDRESS, TRANSPORT, SNDBUFSIZE, RCVBUFSIZE, SNDKERNELSIZE, RCVKERNELSIZE, RATELOGGING, NUMSOCKETS, lastsocketkey } |
Public Member Functions | |
FairMQMap | UserParser (const std::vector< std::string > &channelConfig, const std::string &deviceId, const std::string &rootNode="fairMQOptions") |
Static Public Attributes | |
static constexpr const char * | channelOptionKeys [] |
A parser implementation for FairMQ channel properties. The parser handles a comma separated key=value list format by using the getsubopt function of the standard library.
The option key '–channel-config' can be used with the list of key/value pairs like e.g.
--channel-config name=output,type=push,method=bind
The FairMQ option parser defines a 'UserParser' function for different formats. Currently it is strictly parsing channel options, but in general the concept is extensible by renaming UserParser to ChannelPropertyParser and introducing additional parser functions.
|
static |