#include <demux.hpp>
Definition at line 99 of file demux.hpp.
 
Store demux's in an invisible storage location. 
This makes storage transparent for the user. Note that it will only allocate when first called. 
- Returns
Definition at line 203 of file demux.cpp.
 
 
template<typename C > 
  
  | 
        
          | static void mm_mux_demux::MessageDemux::registerSubscriber | ( | const std::string & | name, |  
          |  |  | const unsigned int & | id, |  
          |  |  | void(C::*)(const unsigned char *, const unsigned int &) | processPacket, |  
          |  |  | C & | s |  
          |  | ) |  |  |  | inlinestatic | 
 
Register a callback with the specified demux. 
Basically we just need a function that can handle const unsigned char* buffers.
Could make this more specific and specify 'template<typename DataType>' with 'Subscriber<DataType>' instead of 'C', but this keeps it open for creating new subscriber types.
- Parameters
- 
  
  
Definition at line 136 of file demux.hpp.
 
 
  
  | 
        
          | void mm_mux_demux::MessageDemux::shutdown | ( |  | ) |  |  | static | 
 
 
  
  | 
        
          | void mm_mux_demux::MessageDemux::shutdown | ( | const std::string & | name | ) |  |  | static | 
 
 
  
  | 
        
          | void mm_mux_demux::MessageDemux::unregisterSubscriber | ( | const std::string & | name, |  
          |  |  | const unsigned int & | id |  
          |  | ) |  |  |  | static | 
 
 
The documentation for this class was generated from the following files: