| Lattice Microbes 2.5
    This is for whole cell modeling | 
A class that handles output on a particular core. More...
#include <LocalDataOutputWorker.h>
| Public Member Functions | |
| LocalDataOutputWorker (SimulationFile *file) | |
| Create a new LocalDataOuputWorker. | |
| virtual | ~LocalDataOutputWorker () | 
| virtual void | pushDataSet (DataSet *dataSet) | 
| Push a DataSet for writing. | |
| virtual void | wake () | 
| Wake the thread from sleeping state. | |
| virtual void | abort () | 
| Abort the thread. | |
| virtual void | checkpoint () | 
| Tell the thread to checkpoint at the next available times. | |
| Public Member Functions inherited from lm::thread::Worker | |
| Worker () | |
| Creates thread and attaches it to the manager. | |
| virtual | ~Worker () | 
| Removes thread from manager and deletes thread. | |
| Public Member Functions inherited from lm::thread::Thread | |
| Thread () | |
| Creates a pthread locking mechanism and initializes "Thread". | |
| virtual | ~Thread () | 
| Destory the Thread. | |
| virtual void | start () | 
| If no thread exists, creates a new thread and begins execution. | |
| virtual void | stop () | 
| Joins the thread with the parent waiting if necessary. | |
| virtual pthread_t | getId () | 
| Returns the pthread based id for the Thread. | |
| virtual void | setAffinity (int cpuNumber) | 
| Binds the thread to a CPU core. | |
| Public Member Functions inherited from lm::main::DataOutputQueue | |
| 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 (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) | 
| Protected Member Functions | |
| virtual int | run () | 
| Start running the thread. | |
| Additional Inherited Members | |
| Static Public Member Functions inherited from lm::main::DataOutputQueue | |
| static void | setInstance (DataOutputQueue *instance) | 
| Sets the current DataOutputQueue that is active. | |
| static DataOutputQueue * | getInstance () | 
| Get the current DataOuputQueue tht is active. | |
| Static Public Attributes inherited from lm::main::DataOutputQueue | |
| static const uint | SPECIES_COUNTS = 10 | 
| static const uint | FIRST_PASSAGE_TIMES = 11 | 
| static const uint | PARAMETER_VALUES = 12 | 
| static const uint | BYTE_LATTICE = 20 | 
| static const uint | INT_LATTICE = 21 | 
| static const uint | SITE_LATTICE = 22 | 
| static const uint | ARBITRARY_H5 = 23 | 
| static const uint | ARBITRARY_H5_READ = 24 | 
| Protected Attributes inherited from lm::thread::Worker | |
| volatile bool | aborted | 
| Protected Attributes inherited from lm::thread::Thread | |
| pthread_mutex_t | controlMutex | 
| pthread_t | threadId | 
| volatile bool | running | 
| int | cpuNumber | 
| Protected Attributes inherited from lm::main::DataOutputQueue | |
| pthread_mutex_t | dataMutex | 
| queue< DataSet * > | dataQueue | 
| pthread_mutex_t | returnMutex | 
| std::list< DataSet * > | returnList | 
| pthread_cond_t | returnAvailable | 
A class that handles output on a particular core.
| lm::main::LocalDataOutputWorker::LocalDataOutputWorker | ( | SimulationFile * | file | ) | 
Create a new LocalDataOuputWorker.
| file | The file in which to save the current data stream | 
| 
 | virtual | 
| 
 | virtual | 
Abort the thread.
Reimplemented from lm::thread::Worker.
| 
 | virtual | 
Tell the thread to checkpoint at the next available times.
Reimplemented from lm::thread::Worker.
| 
 | virtual | 
Push a DataSet for writing.
| dataSet | DataSet to add to the queue for writing | 
Reimplemented from lm::main::DataOutputQueue.
| 
 | protectedvirtual | 
Start running the thread.
Implements lm::thread::Thread.
| 
 | virtual | 
Wake the thread from sleeping state.
Implements lm::thread::Thread.