ICP  1
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Types | Protected Member Functions | List of all members
Cdae Class Reference

#include <dae.h>

Inheritance diagram for Cdae:
Inheritance graph

Public Member Functions

 Cdae ()
 
HRESULT InterfaceSupportsErrorInfo (REFIID riid)
 
HRESULT FinalConstruct ()
 
void FinalRelease ()
 
void registerICPCallbacks ()
 
void unregisterICPCallbacks ()
 
HRESULT updateStatusXML (BSTR *cluster_xml, BSTR *messages)
 
HRESULT beginRun (BSTR *messages)
 
HRESULT endRun (BSTR *messages)
 
HRESULT pauseRun (BSTR *messages)
 
HRESULT resumeRun (BSTR *messages)
 
HRESULT saveRun (BSTR *messages)
 
HRESULT abortRun (BSTR *messages)
 
HRESULT startSEWait (BSTR *messages)
 
HRESULT endSEWait (BSTR *messages)
 
HRESULT getSpectrum (LONG spectrum_number, LONG period, VARIANT *time_channels, VARIANT *signal, LONG as_histogram, LONG as_distribution, LONG *sum, BSTR *messages)
 
HRESULT changeTCB (BSTR tcb_xml, BSTR *messages)
 
HRESULT changeDAEsettings (BSTR dae_xml, BSTR *messages)
 
HRESULT getSpectrumIntegral (LONG spectrum_number, LONG period, FLOAT time_low, FLOAT time_high, LONG *counts, BSTR *messages)
 
HRESULT getSpectraIntegral (VARIANT spectrum_numbers, LONG period, VARIANT time_low, VARIANT time_high, VARIANT *counts, BSTR *messages)
 
HRESULT getsect (LONG start, LONG length, VARIANT *values, BSTR *messages)
 
HRESULT rio (LONG address, LONG *value, BSTR *messages)
 
HRESULT getValue (BSTR name, BSTR *messages, VARIANT *result)
 
HRESULT getRawFramesTotal (BSTR *messages, LONG *value)
 
HRESULT getGoodFramesTotal (BSTR *messages, LONG *value)
 
HRESULT getGoodUAmpH (BSTR *messages, DOUBLE *value)
 
HRESULT getSpectraSum (LONG period, LONG first_spec, LONG num_spec, LONG spec_type, DOUBLE time_low, DOUBLE time_high, VARIANT *sums, VARIANT *max_vals, VARIANT *spec_nums, BSTR *messages)
 
HRESULT changeSample (BSTR sample_xml, BSTR *messages)
 
HRESULT changeUser (BSTR user_xml, BSTR *messages)
 
HRESULT changeHardwarePeriods (BSTR periods_xml, BSTR *messages)
 
HRESULT changePeriod (LONG period_number, BSTR *messages)
 
HRESULT dumpDebugInfo (BSTR *messages)
 
HRESULT VMEWriteValue (ULONG card_id, ULONG card_address, ULONG word_size, ULONG value, ULONG mode, BSTR *messages)
 
HRESULT VMEReadValue (ULONG card_id, ULONG card_address, ULONG word_size, ULONG *value, BSTR *messages)
 
HRESULT sumAllSpectra (LONG *counts, LONG *bin0_counts, BSTR *messages)
 
HRESULT sumAllHistogramMemory (LONG *counts, BSTR *messages)
 
HRESULT VMEReadArray (ULONG card_id, ULONG card_address, VARIANT *values, ULONG num_values, BSTR *messages)
 
HRESULT VMEWriteArray (ULONG card_id, ULONG card_address, VARIANT values, BSTR *messages)
 
HRESULT VMEReadValuesToString (ULONG card_id, ULONG card_address, ULONG word_size, ULONG num_values, BSTR *values, BSTR *messages)
 
HRESULT refreshCachedValues (BSTR *messages)
 
HRESULT setOptions (BSTR options_xml, BSTR *messages)
 
HRESULT getOptions (BSTR *options_xml, BSTR *messages)
 
HRESULT getArrayValue (BSTR name, VARIANT arg, BSTR *messages, VARIANT *result)
 
HRESULT updateCRPT (BSTR *messages)
 
HRESULT storeCRPT (BSTR *messages)
 
HRESULT setICPValueLong (BSTR name, LONG value, BSTR *messages)
 
HRESULT notifyICP (LONG event_id, BSTR param, BSTR *messages)
 
HRESULT setBlocksTable (VARIANT table, BSTR *messages)
 
HRESULT setSampleParameters (VARIANT table, BSTR *messages)
 
HRESULT setBeamlineParameters (VARIANT table, BSTR *messages)
 
HRESULT setUserParameters (LONG rbno, VARIANT table, BSTR *messages)
 
HRESULT areYouThere (void)
 
HRESULT changeUpdateSettings (BSTR update_xml, BSTR *messages)
 
HRESULT getNPRatio (FLOAT *current, FLOAT *average, BSTR *messages)
 
HRESULT getTotalCounts (BSTR *messages, LONG *counts)
 
HRESULT getMEvents (BSTR *messages, DOUBLE *mevents)
 
HRESULT getCurrentPeriodNumber (LONG *period, LONG *daq_period, BSTR *messages)
 
HRESULT snapshotCRPT (BSTR filename, LONG do_update, LONG do_pause, BSTR *messages)
 
HRESULT changePeriodWhileRunning (LONG period, LONG pause_first, BSTR *messages)
 
HRESULT getDAEsettings (BSTR dae_xml_in, BSTR *dae_xml_out, BSTR *messages)
 
HRESULT getHardwarePeriods (BSTR periods_xml_in, BSTR *periods_xml_out, BSTR *messages)
 
HRESULT getTCB (BSTR tcb_xml_in, BSTR *tcb_xml_out, BSTR *messages)
 
HRESULT getUpdateSettings (BSTR update_xml_in, BSTR *update_xml_out, BSTR *messages)
 
HRESULT changeNumberOfSoftwarePeriods (LONG nperiod, BSTR *messages)
 
HRESULT getRunState (BSTR *messages, LONG *state)
 
HRESULT beginRunEx (LONG options, LONG period, BSTR *messages)
 
HRESULT fillWithTestPattern (ULONG pattern, BSTR *messages)
 
HRESULT getVetoStatus (BSTR *veto_status, BSTR *messages)
 
HRESULT loadDAEWithData (BSTR file_name, LONG options, BSTR *messages)
 
HRESULT setVeto (BSTR name, LONG enable, BSTR *messages)
 
HRESULT checkTestPattern (ULONG pattern, BSTR *messages)
 
HRESULT getRunNumber (BSTR *messages, LONG *run_number)
 
HRESULT changeMonitoringSettings (BSTR monitor_xml, BSTR *messages)
 
HRESULT getMonitoringSettings (BSTR monitor_xml_in, BSTR *monitor_xml_out, BSTR *messages)
 
HRESULT getStatusMessages (LONG stream, VARIANT *messages)
 
HRESULT getGoodFramesPeriod (BSTR *messages, LONG *value)
 
HRESULT getGoodUAmpHPeriod (BSTR *messages, DOUBLE *value)
 
HRESULT getFramesAllPeriods (VARIANT *good_frames, VARIANT *raw_frames, BSTR *messages)
 
HRESULT getUAmpHAllPeriods (VARIANT *good_uamph, VARIANT *raw_uamph, BSTR *messages)
 
HRESULT getMEventsPeriod (LONG period, BSTR *messages, DOUBLE *mevents)
 
HRESULT updateCRPTSpectra (LONG period, LONG spec_start, LONG nspec, BSTR *messages)
 
HRESULT getCRPTSpectraIntegral (VARIANT spectrum_numbers, LONG period, VARIANT time_low, VARIANT time_high, VARIANT *counts, BSTR *messages)
 
HRESULT quit (BSTR *messages)
 
HRESULT requestEndRunAfterNextSequenceCompletes (BSTR *messages)
 
HRESULT isFinalSequenceComplete (BSTR *messages, LONG *complete)
 
HRESULT getSpectrumNumbersForTR (LONG time_regime, LONG *spec_min, LONG *spec_max, BSTR *messages)
 
HRESULT getSpectraIntegral2 (LONG spec_start, LONG nspectra, LONG period, FLOAT time_low, FLOAT time_high, VARIANT *counts, BSTR *messages)
 
HRESULT getNumberOfPeriods (BSTR *messages, LONG *nperiod)
 
HRESULT updateStatusXML2 (BSTR status_xml_in, BSTR *status_xml_out, BSTR *messages)
 
- Public Member Functions inherited from CProxy_IdaeEvents< Cdae >
HRESULT Fire_OnRunStateChange (BSTR run_state)
 

Static Public Member Functions

static BSTR makeBSTR (const char *str)
 

Public Attributes

std::list
< boost::signals2::connection > 
m_connection
 

Static Public Attributes

static CRITICAL_SECTION * m_critical = NULL
 

Protected Types

typedef int(ISISinstrumentControl::* xml_get_func_t )(const std::string &xml_in, std::string &xml_out, DAEstatus &status)
 
typedef int(ISISinstrumentControl::* xml_set_func_t )(const std::string &xml_in, DAEstatus &status)
 
typedef int(ISISinstrumentControl::* spec_int_func_t )(long n, const long spec_no[], long period, const float t_low[], const float t_high[], long integral[], long max_val[], DAEstatus &status)
 

Protected Member Functions

template<typename T >
HRESULT callICP (BSTR *messages, T &result, boost::function< T(ISISinstrumentControl *, DAEstatus &)> func)
 
template<typename T >
HRESULT callICP (BSTR *messages, boost::function< T(ISISinstrumentControl *, DAEstatus &)> func)
 
HRESULT makeResult (DAEstatus &status, BSTR *messages, bool force_success_result=false)
 
int getValueMain (ISISinstrumentControl *the_icp, const char *item_name, VARIANT *result, DAEstatus &status)
 
int getArrayValueMain (ISISinstrumentControl *the_icp, const char *item_name, long args[], int nargs, VARIANT *result, DAEstatus &status)
 
int reallocBSTR (BSTR *bstr, const char *str)
 
HRESULT getSettings (BSTR xml_in, BSTR *xml_out, BSTR *messages, xml_get_func_t func)
 
HRESULT updateSettings (BSTR xml_in, BSTR *messages, xml_set_func_t func)
 
HRESULT getSpectraIntegralHelper (spec_int_func_t func, VARIANT spectrum_numbers, LONG period, VARIANT time_low, VARIANT time_high, VARIANT *counts, BSTR *messages)
 

Detailed Description

Definition at line 20 of file dae.h.

Member Typedef Documentation

typedef int(ISISinstrumentControl::* Cdae::spec_int_func_t)(long n, const long spec_no[], long period, const float t_low[], const float t_high[], long integral[], long max_val[], DAEstatus &status)
protected

Definition at line 92 of file dae.h.

typedef int(ISISinstrumentControl::* Cdae::xml_get_func_t)(const std::string &xml_in, std::string &xml_out, DAEstatus &status)
protected

Definition at line 87 of file dae.h.

typedef int(ISISinstrumentControl::* Cdae::xml_set_func_t)(const std::string &xml_in, DAEstatus &status)
protected

Definition at line 88 of file dae.h.

Constructor & Destructor Documentation

Cdae::Cdae ( )
inline

Definition at line 29 of file dae.h.

Member Function Documentation

HRESULT Cdae::abortRun ( BSTR *  messages)

Definition at line 269 of file dae.cpp.

References ISISinstrumentControl::abortRun().

HRESULT Cdae::areYouThere ( void  )

Definition at line 1050 of file dae.cpp.

References g_icp_singleton.

HRESULT Cdae::beginRun ( BSTR *  messages)

Definition at line 244 of file dae.cpp.

References ISISinstrumentControl::beginRun().

HRESULT Cdae::beginRunEx ( LONG  options,
LONG  period,
BSTR *  messages 
)

Definition at line 1189 of file dae.cpp.

References ISISinstrumentControl::beginRunEx().

template<typename T >
HRESULT Cdae::callICP ( BSTR *  messages,
T &  result,
boost::function< T(ISISinstrumentControl *, DAEstatus &)>  func 
)
protected
template<typename T >
HRESULT Cdae::callICP ( BSTR *  messages,
boost::function< T(ISISinstrumentControl *, DAEstatus &)>  func 
)
protected

Definition at line 85 of file dae.cpp.

HRESULT Cdae::changeDAEsettings ( BSTR  dae_xml,
BSTR *  messages 
)

Definition at line 334 of file dae.cpp.

References getXML(), and ISISinstrumentControl::updateDAEsettingsXML().

HRESULT Cdae::changeHardwarePeriods ( BSTR  periods_xml,
BSTR *  messages 
)

Definition at line 753 of file dae.cpp.

References getXML(), and ISISinstrumentControl::updateHardwarePeriodsXML().

HRESULT Cdae::changeMonitoringSettings ( BSTR  monitor_xml,
BSTR *  messages 
)

Definition at line 1281 of file dae.cpp.

References ISISinstrumentControl::updateMonitoringXML(), and updateSettings().

HRESULT Cdae::changeNumberOfSoftwarePeriods ( LONG  nperiod,
BSTR *  messages 
)

Definition at line 1167 of file dae.cpp.

References ISISinstrumentControl::changeNumberOfSoftwarePeriods().

HRESULT Cdae::changePeriod ( LONG  period_number,
BSTR *  messages 
)

Definition at line 760 of file dae.cpp.

References ISISinstrumentControl::changePeriod().

HRESULT Cdae::changePeriodWhileRunning ( LONG  period,
LONG  pause_first,
BSTR *  messages 
)

Definition at line 1119 of file dae.cpp.

References ISISinstrumentControl::changePeriodWhileRunning().

HRESULT Cdae::changeSample ( BSTR  sample_xml,
BSTR *  messages 
)

Definition at line 739 of file dae.cpp.

References getXML(), and ISISinstrumentControl::updateSampleXML().

HRESULT Cdae::changeTCB ( BSTR  tcb_xml,
BSTR *  messages 
)

Definition at line 327 of file dae.cpp.

References getXML(), and ISISinstrumentControl::updateTCBXML().

HRESULT Cdae::changeUpdateSettings ( BSTR  update_xml,
BSTR *  messages 
)

Definition at line 1065 of file dae.cpp.

References ISISinstrumentControl::changeUpdateSettingsXML(), and getXML().

HRESULT Cdae::changeUser ( BSTR  user_xml,
BSTR *  messages 
)

Definition at line 746 of file dae.cpp.

References getXML(), and ISISinstrumentControl::updateUserXML().

HRESULT Cdae::checkTestPattern ( ULONG  pattern,
BSTR *  messages 
)
HRESULT Cdae::dumpDebugInfo ( BSTR *  messages)
HRESULT Cdae::endRun ( BSTR *  messages)

Definition at line 249 of file dae.cpp.

References ISISinstrumentControl::endRun().

HRESULT Cdae::endSEWait ( BSTR *  messages)

Definition at line 279 of file dae.cpp.

References ISISinstrumentControl::endSEWait().

HRESULT Cdae::fillWithTestPattern ( ULONG  pattern,
BSTR *  messages 
)
HRESULT Cdae::FinalConstruct ( )
inline

Definition at line 51 of file dae.h.

void Cdae::FinalRelease ( )
inline

Definition at line 62 of file dae.h.

HRESULT Cdae::getArrayValue ( BSTR  name,
VARIANT  arg,
BSTR *  messages,
VARIANT *  result 
)
int Cdae::getArrayValueMain ( ISISinstrumentControl the_icp,
const char *  item_name,
long  args[],
int  nargs,
VARIANT *  result,
DAEstatus status 
)
protected
HRESULT Cdae::getCRPTSpectraIntegral ( VARIANT  spectrum_numbers,
LONG  period,
VARIANT  time_low,
VARIANT  time_high,
VARIANT *  counts,
BSTR *  messages 
)
HRESULT Cdae::getCurrentPeriodNumber ( LONG *  period,
LONG *  daq_period,
BSTR *  messages 
)

Definition at line 1102 of file dae.cpp.

References ISISinstrumentControl::getCurrentPeriodNumber().

HRESULT Cdae::getDAEsettings ( BSTR  dae_xml_in,
BSTR *  dae_xml_out,
BSTR *  messages 
)

Definition at line 1147 of file dae.cpp.

References ISISinstrumentControl::getDAEsettingsXML(), and getSettings().

HRESULT Cdae::getFramesAllPeriods ( VARIANT *  good_frames,
VARIANT *  raw_frames,
BSTR *  messages 
)
HRESULT Cdae::getGoodFramesPeriod ( BSTR *  messages,
LONG *  value 
)

Definition at line 1349 of file dae.cpp.

References ISISinstrumentControl::getCurrentPeriodGoodFrames().

HRESULT Cdae::getGoodFramesTotal ( BSTR *  messages,
LONG *  value 
)

Definition at line 673 of file dae.cpp.

References ISISinstrumentControl::getGoodFrames().

HRESULT Cdae::getGoodUAmpH ( BSTR *  messages,
DOUBLE *  value 
)

Definition at line 678 of file dae.cpp.

References ISISinstrumentControl::getGoodUAmpH().

HRESULT Cdae::getGoodUAmpHPeriod ( BSTR *  messages,
DOUBLE *  value 
)

Definition at line 1354 of file dae.cpp.

References ISISinstrumentControl::getCurrentPeriodGoodUAmpH().

HRESULT Cdae::getHardwarePeriods ( BSTR  periods_xml_in,
BSTR *  periods_xml_out,
BSTR *  messages 
)

Definition at line 1152 of file dae.cpp.

References ISISinstrumentControl::getHardwarePeriodsXML(), and getSettings().

HRESULT Cdae::getMEvents ( BSTR *  messages,
DOUBLE *  mevents 
)

Definition at line 1092 of file dae.cpp.

References ISISinstrumentControl::getMEvents().

HRESULT Cdae::getMEventsPeriod ( LONG  period,
BSTR *  messages,
DOUBLE *  mevents 
)

Definition at line 1097 of file dae.cpp.

References ISISinstrumentControl::getMEventsPeriod().

HRESULT Cdae::getMonitoringSettings ( BSTR  monitor_xml_in,
BSTR *  monitor_xml_out,
BSTR *  messages 
)

Definition at line 1286 of file dae.cpp.

References ISISinstrumentControl::getMonitoringXML(), and getSettings().

HRESULT Cdae::getNPRatio ( FLOAT *  current,
FLOAT *  average,
BSTR *  messages 
)

Definition at line 1072 of file dae.cpp.

References ISISinstrumentControl::getNPRatio().

HRESULT Cdae::getNumberOfPeriods ( BSTR *  messages,
LONG *  nperiod 
)

Definition at line 1470 of file dae.cpp.

References ISISinstrumentControl::getNumberOfPeriods().

HRESULT Cdae::getOptions ( BSTR *  options_xml,
BSTR *  messages 
)

Definition at line 932 of file dae.cpp.

References ISISinstrumentControl::getOptions(), getXML(), and reallocBSTR().

HRESULT Cdae::getRawFramesTotal ( BSTR *  messages,
LONG *  value 
)

Definition at line 668 of file dae.cpp.

References ISISinstrumentControl::getRawFrames().

HRESULT Cdae::getRunNumber ( BSTR *  messages,
LONG *  run_number 
)
HRESULT Cdae::getRunState ( BSTR *  messages,
LONG *  state 
)
HRESULT Cdae::getsect ( LONG  start,
LONG  length,
VARIANT *  values,
BSTR *  messages 
)
HRESULT Cdae::getSettings ( BSTR  xml_in,
BSTR *  xml_out,
BSTR *  messages,
xml_get_func_t  func 
)
protected

Definition at line 1124 of file dae.cpp.

References getXML(), and makeBSTR().

Referenced by getDAEsettings(), getHardwarePeriods(), getMonitoringSettings(), getTCB(), and getUpdateSettings().

HRESULT Cdae::getSpectraIntegral ( VARIANT  spectrum_numbers,
LONG  period,
VARIANT  time_low,
VARIANT  time_high,
VARIANT *  counts,
BSTR *  messages 
)
HRESULT Cdae::getSpectraIntegral2 ( LONG  spec_start,
LONG  nspectra,
LONG  period,
FLOAT  time_low,
FLOAT  time_high,
VARIANT *  counts,
BSTR *  messages 
)
HRESULT Cdae::getSpectraIntegralHelper ( spec_int_func_t  func,
VARIANT  spectrum_numbers,
LONG  period,
VARIANT  time_low,
VARIANT  time_high,
VARIANT *  counts,
BSTR *  messages 
)
protected
HRESULT Cdae::getSpectraSum ( LONG  period,
LONG  first_spec,
LONG  num_spec,
LONG  spec_type,
DOUBLE  time_low,
DOUBLE  time_high,
VARIANT *  sums,
VARIANT *  max_vals,
VARIANT *  spec_nums,
BSTR *  messages 
)
HRESULT Cdae::getSpectrum ( LONG  spectrum_number,
LONG  period,
VARIANT *  time_channels,
VARIANT *  signal,
LONG  as_histogram,
LONG  as_distribution,
LONG *  sum,
BSTR *  messages 
)
HRESULT Cdae::getSpectrumIntegral ( LONG  spectrum_number,
LONG  period,
FLOAT  time_low,
FLOAT  time_high,
LONG *  counts,
BSTR *  messages 
)
HRESULT Cdae::getSpectrumNumbersForTR ( LONG  time_regime,
LONG *  spec_min,
LONG *  spec_max,
BSTR *  messages 
)
HRESULT Cdae::getStatusMessages ( LONG  stream,
VARIANT *  messages 
)
HRESULT Cdae::getTCB ( BSTR  tcb_xml_in,
BSTR *  tcb_xml_out,
BSTR *  messages 
)

Definition at line 1157 of file dae.cpp.

References getSettings(), and ISISinstrumentControl::getTCBXML().

HRESULT Cdae::getTotalCounts ( BSTR *  messages,
LONG *  counts 
)

Definition at line 1077 of file dae.cpp.

References ISISinstrumentControl::getTotalCounts().

HRESULT Cdae::getUAmpHAllPeriods ( VARIANT *  good_uamph,
VARIANT *  raw_uamph,
BSTR *  messages 
)
HRESULT Cdae::getUpdateSettings ( BSTR  update_xml_in,
BSTR *  update_xml_out,
BSTR *  messages 
)

Definition at line 1162 of file dae.cpp.

References getSettings(), and ISISinstrumentControl::getUpdateSettingsXML().

HRESULT Cdae::getValue ( BSTR  name,
BSTR *  messages,
VARIANT *  result 
)
int Cdae::getValueMain ( ISISinstrumentControl the_icp,
const char *  item_name,
VARIANT *  result,
DAEstatus status 
)
protected
HRESULT Cdae::getVetoStatus ( BSTR *  veto_status,
BSTR *  messages 
)
HRESULT Cdae::InterfaceSupportsErrorInfo ( REFIID  riid)

Definition at line 15 of file dae.cpp.

HRESULT Cdae::isFinalSequenceComplete ( BSTR *  messages,
LONG *  complete 
)

Definition at line 1455 of file dae.cpp.

References ISISinstrumentControl::isFinalSequenceComplete().

HRESULT Cdae::loadDAEWithData ( BSTR  file_name,
LONG  options,
BSTR *  messages 
)

Definition at line 1231 of file dae.cpp.

References getBSTRValue(), and ISISinstrumentControl::loadDAEWithData().

BSTR Cdae::makeBSTR ( const char *  str)
static
HRESULT Cdae::makeResult ( DAEstatus status,
BSTR *  messages,
bool  force_success_result = false 
)
protected
HRESULT Cdae::notifyICP ( LONG  event_id,
BSTR  param,
BSTR *  messages 
)

Definition at line 1015 of file dae.cpp.

References ISISinstrumentControl::notifyICP().

HRESULT Cdae::pauseRun ( BSTR *  messages)

Definition at line 254 of file dae.cpp.

References ISISinstrumentControl::pauseRun().

HRESULT Cdae::quit ( BSTR *  messages)
int Cdae::reallocBSTR ( BSTR *  bstr,
const char *  str 
)
protected

Definition at line 184 of file dae.cpp.

Referenced by getOptions(), and updateStatusXML().

HRESULT Cdae::refreshCachedValues ( BSTR *  messages)

Definition at line 920 of file dae.cpp.

References ISISinstrumentControl::refreshCachedValues().

void Cdae::registerICPCallbacks ( )

Definition at line 1401 of file dae.cpp.

HRESULT Cdae::requestEndRunAfterNextSequenceCompletes ( BSTR *  messages)
HRESULT Cdae::resumeRun ( BSTR *  messages)

Definition at line 259 of file dae.cpp.

References ISISinstrumentControl::resumeRun().

HRESULT Cdae::rio ( LONG  address,
LONG *  value,
BSTR *  messages 
)
HRESULT Cdae::saveRun ( BSTR *  messages)

Definition at line 264 of file dae.cpp.

References ISISinstrumentControl::saveRun().

HRESULT Cdae::setBeamlineParameters ( VARIANT  table,
BSTR *  messages 
)
HRESULT Cdae::setBlocksTable ( VARIANT  table,
BSTR *  messages 
)

Definition at line 1022 of file dae.cpp.

References ISISinstrumentControl::setBlockTable(), and variantToStringTable().

HRESULT Cdae::setICPValueLong ( BSTR  name,
LONG  value,
BSTR *  messages 
)
HRESULT Cdae::setOptions ( BSTR  options_xml,
BSTR *  messages 
)

Definition at line 925 of file dae.cpp.

References getXML(), and ISISinstrumentControl::setOptions().

HRESULT Cdae::setSampleParameters ( VARIANT  table,
BSTR *  messages 
)
HRESULT Cdae::setUserParameters ( LONG  rbno,
VARIANT  table,
BSTR *  messages 
)

Definition at line 1043 of file dae.cpp.

References ISISinstrumentControl::setUserParameters(), and variantToStringTable().

HRESULT Cdae::setVeto ( BSTR  name,
LONG  enable,
BSTR *  messages 
)

Definition at line 1238 of file dae.cpp.

References getBSTRValue(), and ISISinstrumentControl::setVeto().

HRESULT Cdae::snapshotCRPT ( BSTR  filename,
LONG  do_update,
LONG  do_pause,
BSTR *  messages 
)

Definition at line 1111 of file dae.cpp.

References NULL_TERMINATE, and ISISinstrumentControl::snapshotCRPT().

HRESULT Cdae::startSEWait ( BSTR *  messages)

Definition at line 274 of file dae.cpp.

References ISISinstrumentControl::startSEWait().

HRESULT Cdae::storeCRPT ( BSTR *  messages)

Definition at line 982 of file dae.cpp.

References ISISinstrumentControl::storeCRPT().

HRESULT Cdae::sumAllHistogramMemory ( LONG *  counts,
BSTR *  messages 
)
HRESULT Cdae::sumAllSpectra ( LONG *  counts,
LONG *  bin0_counts,
BSTR *  messages 
)
void Cdae::unregisterICPCallbacks ( )

Definition at line 1407 of file dae.cpp.

HRESULT Cdae::updateCRPT ( BSTR *  messages)

Definition at line 977 of file dae.cpp.

References ISISinstrumentControl::updateCRPTWithDAE().

HRESULT Cdae::updateCRPTSpectra ( LONG  period,
LONG  spec_start,
LONG  nspec,
BSTR *  messages 
)

Definition at line 1420 of file dae.cpp.

References ISISinstrumentControl::updateCRPTSpectra().

HRESULT Cdae::updateSettings ( BSTR  xml_in,
BSTR *  messages,
xml_set_func_t  func 
)
protected

Definition at line 1139 of file dae.cpp.

References getXML().

Referenced by changeMonitoringSettings().

HRESULT Cdae::updateStatusXML ( BSTR *  cluster_xml,
BSTR *  messages 
)

Definition at line 147 of file dae.cpp.

References getXML(), reallocBSTR(), and ISISinstrumentControl::updateStatusXML().

Referenced by updateStatusXML2().

HRESULT Cdae::updateStatusXML2 ( BSTR  status_xml_in,
BSTR *  status_xml_out,
BSTR *  messages 
)

Definition at line 1476 of file dae.cpp.

References updateStatusXML().

HRESULT Cdae::VMEReadArray ( ULONG  card_id,
ULONG  card_address,
VARIANT *  values,
ULONG  num_values,
BSTR *  messages 
)
HRESULT Cdae::VMEReadValue ( ULONG  card_id,
ULONG  card_address,
ULONG  word_size,
ULONG *  value,
BSTR *  messages 
)
HRESULT Cdae::VMEReadValuesToString ( ULONG  card_id,
ULONG  card_address,
ULONG  word_size,
ULONG  num_values,
BSTR *  values,
BSTR *  messages 
)
HRESULT Cdae::VMEWriteArray ( ULONG  card_id,
ULONG  card_address,
VARIANT  values,
BSTR *  messages 
)
HRESULT Cdae::VMEWriteValue ( ULONG  card_id,
ULONG  card_address,
ULONG  word_size,
ULONG  value,
ULONG  mode,
BSTR *  messages 
)

Member Data Documentation

std::list<boost::signals2::connection> Cdae::m_connection

Definition at line 75 of file dae.h.

CRITICAL_SECTION * Cdae::m_critical = NULL
static

The documentation for this class was generated from the following files: