|
FairMQ
1.4.33
C++ Message Queuing Library and Framework
|
Tools for interfacing containers to the transport via polymorphic allocators. More...
Namespaces | |
| shmem | |
Classes | |
| struct | Alignment |
| class | ChannelResource |
| struct | DeviceErrorState |
| class | DeviceRunner |
| Utility class to facilitate a convenient top-level device launch/shutdown. More... | |
| struct | ErrorCategory |
| struct | Event |
| class | EventManager |
| Manages event callbacks from different subscribers. More... | |
| class | FairMQMemoryResource |
| struct | MessageBadAlloc |
| struct | MessageError |
| struct | OngoingTransition |
| struct | ParserError |
| class | Plugin |
| Base class for FairMQ plugins. More... | |
| class | PluginManager |
| manages and owns plugin instances More... | |
| class | PluginServices |
| Facilitates communication between devices and plugins. More... | |
| struct | PollerError |
| class | ProgOptions |
| struct | PropertyChange |
| struct | PropertyChangeAsString |
| class | PropertyHelper |
| struct | PropertyNotFoundError |
| struct | SocketError |
| class | StateMachine |
| class | StateQueue |
| struct | TransportError |
| struct | TransportFactoryError |
Typedefs | |
| using | Message = FairMQMessage |
| using | MessagePtr = FairMQMessagePtr |
| using | Poller = FairMQPoller |
| using | PollerPtr = FairMQPollerPtr |
| using | Socket = FairMQSocket |
| using | SocketPtr = FairMQSocketPtr |
| using | TransportFactory = FairMQTransportFactory |
| using | RegionCallback = FairMQRegionCallback |
| using | RegionBulkCallback = FairMQRegionBulkCallback |
| using | RegionEventCallback = FairMQRegionEventCallback |
| using | RegionEvent = FairMQRegionEvent |
| using | RegionInfo = FairMQRegionInfo |
| using | RegionBlock = FairMQRegionBlock |
| using | UnmanagedRegion = FairMQUnmanagedRegion |
| using | UnmanagedRegionPtr = FairMQUnmanagedRegionPtr |
| using | byte = unsigned char |
| using | BytePmrAllocator = pmr::polymorphic_allocator< fair::mq::byte > |
| using | Property = boost::any |
| using | Properties = std::map< std::string, Property > |
Functions | |
| fair::mq::Properties | PtreeParser (const ptree &pt, const string &id) |
| fair::mq::Properties | JSONParser (const string &filename, const string &deviceId) |
| fair::mq::Properties | PtreeParser (const boost::property_tree::ptree &pt, const std::string &deviceId) |
| fair::mq::Properties | JSONParser (const std::string &filename, const std::string &deviceId) |
| template<typename ContainerT > | |
| FairMQMessagePtr | getMessage (ContainerT &&container_, FairMQMemoryResource *targetResource=nullptr) |
| ValInfo | ConvertVarValToValInfo (const po::variable_value &v) |
| string | ConvertVarValToString (const po::variable_value &v) |
| template<class T > | |
| ostream & | operator<< (ostream &os, const vector< T > &v) |
| ostream & | operator<< (ostream &os, const vector< signed char > &v) |
| ostream & | operator<< (ostream &os, const vector< unsigned char > &v) |
| template<typename T > | |
| pair< string, string > | getString (const boost::any &v, const string &label) |
| template<typename T > | |
| pair< string, string > | getStringPair (const boost::any &v, const string &label) |
| std::error_code | MakeErrorCode (ErrorCode e) |
| string | GetStateName (const State state) |
| string | GetTransitionName (const Transition transition) |
| State | GetState (const string &state) |
| Transition | GetTransition (const string &transition) |
| State | GetState (const std::string &state) |
| Transition | GetTransition (const std::string &transition) |
| std::ostream & | operator<< (std::ostream &os, const State &state) |
| std::ostream & | operator<< (std::ostream &os, const Transition &transition) |
| Properties | SuboptParser (const vector< string > &channelConfig, const string &deviceId) |
| Properties | SuboptParser (const std::vector< std::string > &channelConfig, const std::string &deviceId) |
| std::string | TransportName (Transport transport) |
| Transport | TransportType (const std::string &transport) |
Variables | |
| const ErrorCategory | errorCategory {} |
| array< string, 16 > | stateNames |
| unordered_map< string, State > | states |
| array< string, 12 > | transitionNames |
| unordered_map< string, Transition > | transitions |
Tools for interfacing containers to the transport via polymorphic allocators.
| Properties fair::mq::SuboptParser | ( | const std::vector< std::string > & | channelConfig, |
| const std::string & | deviceId | ||
| ) |
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.
| array<string, 16> fair::mq::stateNames |
| unordered_map<string, State> fair::mq::states |
| array<string, 12> fair::mq::transitionNames |
| unordered_map<string, Transition> fair::mq::transitions |