ICP
1
|
#include <CRPTProxy.h>
Public Member Functions | |
ISISCRPT_DATA () | |
void | init () |
void | zeroSpectrum (int spec, int) |
void | incrementSpectrum (int spec, int) |
void | copy (const ISISCRPT_DATA &clone) |
isisU32_t | rawDataSizeMax () const |
isisU32_t | fileSizeMax () const |
std::string | fileName () const |
std::string | sectionName () const |
isisU32_t * | rawData () |
const isisU32_t * | rawData () const |
isisU32_t * | spectrumIntegrals () |
const isisU32_t * | spectrumIntegrals () const |
void | zeroRawData (isisU32_t data_size=0) |
bool | valid () const |
int | flush () |
void | unload (bool delete_file) |
int | loadOrCreate (const char *crpt_data_file, const char *crpt_data_name, int crpt_data_size, DAEstatus &status) |
int | load (const char *crpt_data_file, HANDLE crpt_data_fh, const char *crpt_data_name, int crpt_data_size, bool read_only, DAEstatus &status) |
int | map (const std::string &crpt_data_name, bool read_only, bool) |
Private Attributes | |
isisU32_t * | m_crpt_data |
this will also be the base address for all mappings More... | |
isisU32_t | m_crpt_data_size |
in words More... | |
isisU32_t * | m_spec_integrals |
isisU32_t | m_spec_integrals_size |
in words More... | |
HANDLE | m_crpt_data_fh |
HANDLE | m_crpt_data_fm |
std::string | m_crpt_data_file |
std::string | m_crpt_data_name |
name of memory section More... | |
Additional Inherited Members | |
Protected Member Functions inherited from ISIS::Base | |
Base (const std::string &logger_name="UNKNOWN") | |
void | setLoggerName (const std::string &logger_name) |
virtual | ~Base () |
virtual std::string | loggingPrefix () const |
void | setThisLoggerLevel (int level) |
Static Protected Member Functions inherited from ISIS::Base | |
static void | setAllLoggerLevel (int level) |
Protected Attributes inherited from ISIS::Base | |
Poco::Logger * | m_logger |
Poco::LogStream * | m_logstr |
Poco::Mutex | m_logger_lock |
Definition at line 6 of file CRPTProxy.h.
|
inline |
Definition at line 19 of file CRPTProxy.h.
|
inline |
Definition at line 43 of file CRPTProxy.h.
References m_crpt_data, m_crpt_data_size, m_spec_integrals, and m_spec_integrals_size.
Referenced by CRPTProxy::updateFrom().
|
inline |
Definition at line 53 of file CRPTProxy.h.
References m_crpt_data_file.
Referenced by CRPTProxy::dataFileName().
|
inline |
Definition at line 52 of file CRPTProxy.h.
References m_crpt_data_size, and m_spec_integrals_size.
Referenced by CRPTProxy::dataFileSize(), load(), and loadOrCreate().
|
inline |
Definition at line 69 of file CRPTProxy.h.
References m_crpt_data, m_crpt_data_fh, and DAEstatus::Success.
Referenced by CRPTProxy::flushCRPT().
|
inline |
Definition at line 35 of file CRPTProxy.h.
References m_spec_integrals, and m_spec_integrals_size.
Referenced by CRPTProxy::histogramEventsToCRPT().
|
inline |
Definition at line 21 of file CRPTProxy.h.
References m_crpt_data, m_crpt_data_fh, m_crpt_data_fm, m_crpt_data_size, m_spec_integrals, and m_spec_integrals_size.
Referenced by CRPTProxy::invalidateHandles(), load(), loadOrCreate(), CRPTProxy::loadOrCreateCRPT(), and unload().
|
inline |
Definition at line 147 of file CRPTProxy.h.
References DAEstatus::add(), DAEstatus::addVa(), defaultNoInheritHandles(), ERRTYPE_OUTOFMEM, FAC_CRPT, DAEstatus::Failure, fileSizeMax(), init(), ISISCRPT_MAX_DETECTOR, m_crpt_data, m_crpt_data_fh, m_crpt_data_file, m_crpt_data_fm, m_crpt_data_name, m_crpt_data_size, m_spec_integrals, m_spec_integrals_size, SEV_ERROR, SEV_WARNING, DAEstatus::Success, and unload().
Referenced by CRPTProxy::loadCRPT().
|
inline |
Definition at line 97 of file CRPTProxy.h.
References DAEstatus::add(), DAEstatus::addInfoVa(), DAEstatus::addVa(), defaultNoInheritHandles(), ERRTYPE_OUTOFMEM, FAC_CRPT, DAEstatus::Failure, fileSizeMax(), init(), ISISCRPT_MAX_DETECTOR, m_crpt_data, m_crpt_data_fh, m_crpt_data_file, m_crpt_data_fm, m_crpt_data_name, m_crpt_data_size, m_spec_integrals, m_spec_integrals_size, SEV_ERROR, SEV_WARNING, DAEstatus::Success, and unload().
Referenced by CRPTProxy::loadOrCreateCRPT().
|
inline |
Definition at line 188 of file CRPTProxy.h.
References DAEstatus::Failure, fileNameFromMappedView(), fileSizeBytes(), LOGSTR_ERROR, m_crpt_data, m_crpt_data_fm, m_crpt_data_size, m_spec_integrals, and DAEstatus::Success.
Referenced by CRPTProxy::mapCRPT().
|
inline |
Definition at line 55 of file CRPTProxy.h.
References m_crpt_data.
Referenced by CRPTProxy::histogramEventsToCRPT(), CRPTProxy::rawData(), unload(), and CRPTProxy::zeroEventRawData().
|
inline |
Definition at line 56 of file CRPTProxy.h.
References m_crpt_data.
|
inline |
Definition at line 51 of file CRPTProxy.h.
References m_crpt_data_size.
Referenced by CRPTProxy::histogramEventsToCRPT(), and CRPTProxy::rawDataSizeMax().
|
inline |
Definition at line 54 of file CRPTProxy.h.
References m_crpt_data_name.
Referenced by CRPTProxy::dataSectionName().
|
inline |
Definition at line 57 of file CRPTProxy.h.
References m_spec_integrals.
Referenced by CRPTProxy::spectrumIntegrals().
|
inline |
Definition at line 58 of file CRPTProxy.h.
References m_spec_integrals.
|
inline |
Definition at line 75 of file CRPTProxy.h.
References init(), LOGSTR_INFORMATION, m_crpt_data_fh, m_crpt_data_file, m_crpt_data_fm, rawData(), and valid().
Referenced by load(), loadOrCreate(), and CRPTProxy::unloadCRPT().
|
inline |
|
inline |
Definition at line 59 of file CRPTProxy.h.
References m_crpt_data, m_crpt_data_size, m_spec_integrals, and m_spec_integrals_size.
Referenced by CRPTProxy::zeroAllRawData(), and CRPTProxy::zeroUsedRawData().
|
inline |
Definition at line 28 of file CRPTProxy.h.
References m_spec_integrals, and m_spec_integrals_size.
Referenced by CRPTProxy::zeroEventRawData().
|
private |
this will also be the base address for all mappings
Definition at line 9 of file CRPTProxy.h.
Referenced by copy(), flush(), init(), load(), loadOrCreate(), map(), rawData(), valid(), and zeroRawData().
|
private |
Definition at line 13 of file CRPTProxy.h.
Referenced by flush(), init(), load(), loadOrCreate(), and unload().
|
private |
Definition at line 15 of file CRPTProxy.h.
Referenced by fileName(), load(), loadOrCreate(), and unload().
|
private |
Definition at line 14 of file CRPTProxy.h.
Referenced by init(), load(), loadOrCreate(), map(), and unload().
|
private |
name of memory section
Definition at line 16 of file CRPTProxy.h.
Referenced by load(), loadOrCreate(), and sectionName().
|
private |
in words
Definition at line 10 of file CRPTProxy.h.
Referenced by copy(), fileSizeMax(), init(), load(), loadOrCreate(), map(), rawDataSizeMax(), and zeroRawData().
|
private |
Definition at line 11 of file CRPTProxy.h.
Referenced by copy(), incrementSpectrum(), init(), load(), loadOrCreate(), map(), spectrumIntegrals(), zeroRawData(), and zeroSpectrum().
|
private |
in words
Definition at line 12 of file CRPTProxy.h.
Referenced by copy(), fileSizeMax(), incrementSpectrum(), init(), load(), loadOrCreate(), zeroRawData(), and zeroSpectrum().