public class DataContainer extends Object implements IQuimpSerialize
All modules can add here their configuration sets. This structure is used for exchanging data between modules. It can be dynamically modified.
FormatConverter
,
QParams
,
QParamsQconf
Modifier and Type | Field and Description |
---|---|
static int |
ANA_RUN
Indicate that ANA module is not null (it has been run already on those data).
|
ANAParamCollection |
ANAState
Hold ANA state.
|
static int |
BOA_RUN
Indicate that BOAState module is not null.
|
BOAState |
BOAState
Object to store all BOA state.
|
static int |
ECMM_RUN
Indicate that ECMM module is not null (it has been run already on those data).
|
OutlinesCollection |
ECMMState
Object to store ECCM output.
|
static int |
Q_RUN
Indicate that Q module is not null (it has been run already on those data).
|
STmap[] |
QState
Store maps generated by Q Analysis plugin for every OutlineHandler from ECMMState.
|
StatsCollection |
Stats
Store statistics for cells computed for outlines and fluorescence data.
|
static int |
STATS_AVAIL
Indicate that QCONF contains statistics.
|
Constructor and Description |
---|
DataContainer()
Default constructor.
|
DataContainer(PluginFactory pf,
ViewUpdater vu)
Create DataContainer with attached
PluginFactory and ViewUpdater . |
Modifier and Type | Method and Description |
---|---|
void |
afterSerialize()
Called after serialization.
|
void |
beforeSerialize()
Called before serialization.
|
ANAParamCollection |
getANAState()
getANAState.
|
BOAState |
getBOAState()
getBOAState.
|
OutlinesCollection |
getEcmmState()
getECMMState.
|
STmap[] |
getQState()
getQState.
|
StatsCollection |
getStats()
getStats.
|
int |
validateDataContainer()
Get information about available modules in object.
|
public static final int BOA_RUN
public static final int ECMM_RUN
public static final int ANA_RUN
public static final int Q_RUN
public static final int STATS_AVAIL
public BOAState BOAState
public OutlinesCollection ECMMState
public ANAParamCollection ANAState
public STmap[] QState
The order of STmap object in this array is correlated with the order of OutlineHandlers in ECMMState, thus n-th STmap has been calculated from n-th Outline by Q Analysis module.
public StatsCollection Stats
public DataContainer()
public DataContainer(PluginFactory pf, ViewUpdater vu)
PluginFactory
and ViewUpdater
.pf
- PluginFactory
object referencevu
- ViewUpdater
object referencepublic BOAState getBOAState()
public OutlinesCollection getEcmmState()
public STmap[] getQState()
public ANAParamCollection getANAState()
public StatsCollection getStats()
public int validateDataContainer()
QconfLoader
public void beforeSerialize()
Call similar method for all stored object allowing them for self-preparation for normal operations after loading
beforeSerialize
in interface IQuimpSerialize
Serializer.save(String)
public void afterSerialize() throws Exception
Call similar method for all stored object allowing them for self-preparation for saving
afterSerialize
in interface IQuimpSerialize
Exception
- from wrapped object in any problem. This is implementation dependentSerializer.load(String)
Copyright © 2002–2019 Department of Computer Science, Warwick University. All rights reserved.