A queue class that writes out data in the order it is recieved.  
 More...
#include <DataOutputQueue.h>
|  | 
| class | DataSet | 
|  | A set of data in the form of bytes to be written to disk.  More... 
 | 
|  | 
|  | DataOutputQueue () | 
|  | Create a DataOutputQueue. 
 | 
| virtual | ~DataOutputQueue () | 
| virtual void | pushDataSet (uint type, uint replicate, ::google::protobuf::Message *message, void *payload=NULL, size_t payloadSize=0, void(*payloadSerializer)(void *, void *, size_t)=NULL) | 
|  | Put some data on the queue to be output. 
 | 
| virtual void | pushDataSet (void *data, size_t dataSize) | 
|  | Put some data on the queue. 
 | 
| virtual void | pushDataSet (DataSet *dataSet) | 
|  | Put a DataSet on the queue. 
 | 
| virtual void | pushDataSet (const H5MetaData md, uint replicate, void *payload) | 
| template<typename T> | 
| void | queryH5 (const H5Lookup::Mode mode, H5MetaData &hdr, std::vector< T > &payload, const uint replicate, const std::string path, const std::string attr="") | 
| template<typename T> | 
| T | queryH5attr (const uint replicate, const std::string path, const std::string attr) | 
A queue class that writes out data in the order it is recieved. 
◆ DataOutputQueue()
      
        
          | lm::main::DataOutputQueue::DataOutputQueue | ( |  | ) |  | 
      
 
 
◆ ~DataOutputQueue()
  
  | 
        
          | lm::main::DataOutputQueue::~DataOutputQueue | ( |  | ) |  |  | virtual | 
 
 
◆ getInstance()
Get the current DataOuputQueue tht is active. 
- Returns
- Active output queue 
 
 
◆ pushDataSet() [1/4]
  
  | 
        
          | void lm::main::DataOutputQueue::pushDataSet | ( | const H5MetaData | md, |  
          |  |  | uint | replicate, |  
          |  |  | void * | payload ) |  | virtual | 
 
 
◆ pushDataSet() [2/4]
  
  | 
        
          | void lm::main::DataOutputQueue::pushDataSet | ( | DataSet * | dataSet | ) |  |  | virtual | 
 
 
◆ pushDataSet() [3/4]
  
  | 
        
          | void lm::main::DataOutputQueue::pushDataSet | ( | uint | type, |  
          |  |  | uint | replicate, |  
          |  |  | ::google::protobuf::Message * | message, |  
          |  |  | void * | payload = NULL, |  
          |  |  | size_t | payloadSize = 0, |  
          |  |  | void(* | payloadSerializer )(void *, void *, size_t) = NULL ) |  | virtual | 
 
Put some data on the queue to be output. 
- Parameters
- 
  
    | type | Type of data that is written to the data as a metaheader |  | message | A message to put to protocol buffers |  | payload | The data to be output |  | payloadSize | The size of the payload in bytes |  | payloadSerializer | A function that converts the object/data to a stream of bytes (If this is NULL the object is written out as pure bytes) |  
 
 
 
◆ pushDataSet() [4/4]
  
  | 
        
          | void lm::main::DataOutputQueue::pushDataSet | ( | void * | data, |  
          |  |  | size_t | dataSize ) |  | virtual | 
 
Put some data on the queue. 
- Parameters
- 
  
    | data | The data to be output |  | dataSize | Size of the data in bytes |  
 
 
 
◆ queryH5()
template<typename T> 
  
  | 
        
          | void lm::main::DataOutputQueue::queryH5 | ( | const H5Lookup::Mode | mode, |  
          |  |  | H5MetaData & | hdr, |  
          |  |  | std::vector< T > & | payload, |  
          |  |  | const uint | replicate, |  
          |  |  | const std::string | path, |  
          |  |  | const std::string | attr = "" ) |  | inline | 
 
 
◆ queryH5attr()
template<typename T> 
  
  | 
        
          | T lm::main::DataOutputQueue::queryH5attr | ( | const uint | replicate, |  
          |  |  | const std::string | path, |  
          |  |  | const std::string | attr ) |  | inline | 
 
 
◆ setInstance()
Sets the current DataOutputQueue that is active. 
- Parameters
- 
  
    | instance | The new "current" queue |  
 
 
 
◆ ARBITRARY_H5
  
  | 
        
          | const uint lm::main::DataOutputQueue::ARBITRARY_H5 = 23 |  | static | 
 
 
◆ ARBITRARY_H5_READ
  
  | 
        
          | const uint lm::main::DataOutputQueue::ARBITRARY_H5_READ = 24 |  | static | 
 
 
◆ BYTE_LATTICE
  
  | 
        
          | const uint lm::main::DataOutputQueue::BYTE_LATTICE = 20 |  | static | 
 
 
◆ dataMutex
  
  | 
        
          | pthread_mutex_t lm::main::DataOutputQueue::dataMutex |  | protected | 
 
 
◆ dataQueue
  
  | 
        
          | queue<DataSet *> lm::main::DataOutputQueue::dataQueue |  | protected | 
 
 
◆ FIRST_PASSAGE_TIMES
  
  | 
        
          | const uint lm::main::DataOutputQueue::FIRST_PASSAGE_TIMES = 11 |  | static | 
 
 
◆ INT_LATTICE
  
  | 
        
          | const uint lm::main::DataOutputQueue::INT_LATTICE = 21 |  | static | 
 
 
◆ PARAMETER_VALUES
  
  | 
        
          | const uint lm::main::DataOutputQueue::PARAMETER_VALUES = 12 |  | static | 
 
 
◆ returnAvailable
  
  | 
        
          | pthread_cond_t lm::main::DataOutputQueue::returnAvailable |  | protected | 
 
 
◆ returnList
  
  | 
        
          | std::list<DataSet *> lm::main::DataOutputQueue::returnList |  | protected | 
 
 
◆ returnMutex
  
  | 
        
          | pthread_mutex_t lm::main::DataOutputQueue::returnMutex |  | protected | 
 
 
◆ SITE_LATTICE
  
  | 
        
          | const uint lm::main::DataOutputQueue::SITE_LATTICE = 22 |  | static | 
 
 
◆ SPECIES_COUNTS
  
  | 
        
          | const uint lm::main::DataOutputQueue::SPECIES_COUNTS = 10 |  | static | 
 
 
The documentation for this class was generated from the following files: