ICP  1
Classes | Typedefs | Functions | Variables
instapi_utils.h File Reference
#include "../instapi_lib/instapi_lib.h"

Go to the source code of this file.

Classes

class  MyChannel
 

Typedefs

typedef boost::function< void(InstAPILib *)> instapi_lib_call_t
 

Functions

template<class T >
HRESULT reportError (T *obj, const std::string &errmsg)
 
template<class T >
HRESULT callInstAPILib (T *obj, instapi_lib_call_t func)
 
Poco::Logger & createLogger (const std::string &name)
 

Variables

Poco::SingletonHolder< InstAPILibinst_api
 

Typedef Documentation

typedef boost::function<void(InstAPILib*)> instapi_lib_call_t

Definition at line 22 of file instapi_utils.h.

Function Documentation

template<class T >
HRESULT callInstAPILib ( T *  obj,
instapi_lib_call_t  func 
)

Definition at line 25 of file instapi_utils.h.

References inst_api, and reportError().

Referenced by Csession::abortRun(), Csession::beginRun(), Csession::callLabview(), Csession::changeNumberOfSoftwarePeriods(), Csession::changeSeciConfiguration(), Csession::clearDatabaseLogs(), Csession::clearLogFiles(), Csession::clearSeciGraphs(), Csession::closeViFrontPanel(), Csession::deleteAllBeamlineParameters(), Csession::deleteAllSampleParameters(), Csession::deleteBeamlineParameter(), Csession::deleteSampleParameter(), Csession::endRun(), Cblock::enterSetpointOnly(), Cblock::enterSetpointOnlyExt(), Csession::FinalRelease(), Cblock::get_highlimit(), Cblock::get_lowlimit(), Csession::get_role(), Cblock::get_runcontrol(), Cblock::get_setpoint(), Cblock::get_value(), Csession::getBeamlineParameter(), Csession::getBeamlineParameterNames(), Csession::getBlockNames(), Csession::getCurrentPeriod(), Csession::getGoodFrames(), Csession::getLabviewVar(), Csession::getMeasurementId(), Csession::getMeasurementLabel(), Csession::getMessages(), Csession::getMEvents(), Csession::getNumberOfPeriods(), Csession::getRBNumber(), Csession::getRunNumber(), Csession::getRunState(), Csession::getSampleParameter(), Csession::getSampleParameterNames(), Csession::getSeciConfig(), Cblock::getSetpoint(), Csession::getSpectrum(), Csession::getTotalCounts(), Csession::getUamps(), Cblock::getValue(), Csession::getViNames(), Csession::getViState(), Csession::isSeciBusy(), Csession::logBlocksNow(), Csession::pauseRun(), Cblock::pushSetButton(), Cblock::pushSetButtonExt(), Cblock::put_highlimit(), Cblock::put_lowlimit(), Csession::put_role(), Cblock::put_runcontrol(), Cblock::put_setpoint(), Csession::putMessage(), Csession::recoverRun(), Csession::resumeRun(), Csession::saveRun(), Csession::setBeamlineParameter(), Csession::setLabviewVar(), Csession::setLabviewVarExt(), Csession::setMeasurementLabel(), Csession::setPeriod(), Csession::setRBNumber(), Csession::setSampleParameter(), Csession::setTitle(), Cblock::setValue(), Cblock::setValueExt(), Csession::snapshotCRPT(), Csession::startVi(), Csession::stopVi(), Csession::storeCRPT(), Csession::sumAllHistogramMemory(), Csession::sumAllSpectra(), Csession::toggleViVisibility(), Csession::updateCRPT(), and Csession::vmeWriteValue().

Poco::Logger& createLogger ( const std::string &  name)

Definition at line 5 of file instapi_utils.cpp.

template<class T >
HRESULT reportError ( T *  obj,
const std::string &  errmsg 
)

Definition at line 9 of file instapi_utils.h.

Referenced by callInstAPILib(), Capi::create(), and Csession::getBlock().

Variable Documentation

Poco::SingletonHolder<InstAPILib> inst_api