ICP  1
Public Member Functions | Public Attributes | Private Attributes | List of all members
Cblock Class Reference

#include <block.h>

Inheritance diagram for Cblock:
Inheritance graph

Public Member Functions

 Cblock ()
 
HRESULT InterfaceSupportsErrorInfo (REFIID riid)
 
HRESULT FinalConstruct ()
 
void FinalRelease ()
 
HRESULT get_setpoint (VARIANT *pVal)
 
HRESULT put_setpoint (VARIANT newVal)
 
HRESULT get_value (VARIANT *pVal)
 
HRESULT getLogValues (BSTR start_time, BSTR end_time, BSTR output_time_format, VARIANT *times, VARIANT *values)
 
HRESULT logValues (BSTR time_format, VARIANT times, VARIANT values)
 
HRESULT getSetpoint (VARIANT *value, BSTR *time)
 
HRESULT getValue (VARIANT *value, BSTR *time)
 
HRESULT get_name (BSTR *pVal)
 
HRESULT put_name (BSTR pVal)
 
HRESULT get_runcontrol (VARIANT_BOOL *pVal)
 
HRESULT put_runcontrol (VARIANT_BOOL pVal)
 
HRESULT get_lowlimit (VARIANT *pVal)
 
HRESULT put_lowlimit (VARIANT pVal)
 
HRESULT get_highlimit (VARIANT *pVal)
 
HRESULT put_highlimit (VARIANT pVal)
 
HRESULT enterSetpointOnly (VARIANT newVal)
 
HRESULT enterSetpointOnlyExt (VARIANT newVal, VARIANT *results)
 
HRESULT pushSetButton ()
 
HRESULT pushSetButtonExt (VARIANT *results)
 
HRESULT setValue (VARIANT newVal)
 
HRESULT setValueExt (VARIANT newVal, VARIANT *results)
 

Public Attributes

unsigned long m_session_id
 0 is an invalid session More...
 

Private Attributes

CComBSTR m_name
 

Detailed Description

Definition at line 22 of file block.h.

Constructor & Destructor Documentation

Cblock::Cblock ( )
inline

Definition at line 36 of file block.h.

Member Function Documentation

HRESULT Cblock::enterSetpointOnly ( VARIANT  newVal)

Definition at line 126 of file block.cpp.

References callInstAPILib(), m_name, m_session_id, and InstAPILib::sendBlockSetpoint().

HRESULT Cblock::enterSetpointOnlyExt ( VARIANT  newVal,
VARIANT *  results 
)

Definition at line 132 of file block.cpp.

References callInstAPILib(), m_name, m_session_id, and InstAPILib::sendBlockSetpoint().

HRESULT Cblock::FinalConstruct ( )
inline

Definition at line 59 of file block.h.

void Cblock::FinalRelease ( )
inline

Definition at line 64 of file block.h.

HRESULT Cblock::get_highlimit ( VARIANT *  pVal)

Definition at line 114 of file block.cpp.

References callInstAPILib(), InstAPILib::getRunControlLimit(), m_name, and m_session_id.

HRESULT Cblock::get_lowlimit ( VARIANT *  pVal)

Definition at line 101 of file block.cpp.

References callInstAPILib(), InstAPILib::getRunControlLimit(), m_name, and m_session_id.

HRESULT Cblock::get_name ( BSTR *  pVal)

Definition at line 74 of file block.cpp.

References m_name.

HRESULT Cblock::get_runcontrol ( VARIANT_BOOL *  pVal)

Definition at line 88 of file block.cpp.

References callInstAPILib(), InstAPILib::getRunControl(), m_name, and m_session_id.

HRESULT Cblock::get_setpoint ( VARIANT *  pVal)

Definition at line 27 of file block.cpp.

References callInstAPILib(), InstAPILib::getBlockSetpoint(), m_name, and m_session_id.

HRESULT Cblock::get_value ( VARIANT *  pVal)

Definition at line 40 of file block.cpp.

References callInstAPILib(), InstAPILib::getBlockValue(), m_name, and m_session_id.

HRESULT Cblock::getLogValues ( BSTR  start_time,
BSTR  end_time,
BSTR  output_time_format,
VARIANT *  times,
VARIANT *  values 
)

Definition at line 46 of file block.cpp.

HRESULT Cblock::getSetpoint ( VARIANT *  value,
BSTR *  time 
)

Definition at line 62 of file block.cpp.

References callInstAPILib(), InstAPILib::getBlockSetpoint(), m_name, and m_session_id.

HRESULT Cblock::getValue ( VARIANT *  value,
BSTR *  time 
)

Definition at line 68 of file block.cpp.

References callInstAPILib(), InstAPILib::getBlockValue(), m_name, and m_session_id.

HRESULT Cblock::InterfaceSupportsErrorInfo ( REFIID  riid)

Definition at line 11 of file block.cpp.

HRESULT Cblock::logValues ( BSTR  time_format,
VARIANT  times,
VARIANT  values 
)

Definition at line 54 of file block.cpp.

HRESULT Cblock::pushSetButton ( )

Definition at line 137 of file block.cpp.

References callInstAPILib(), m_name, m_session_id, and InstAPILib::pushBlockButton().

HRESULT Cblock::pushSetButtonExt ( VARIANT *  results)

Definition at line 143 of file block.cpp.

References callInstAPILib(), m_name, m_session_id, and InstAPILib::pushBlockButton().

HRESULT Cblock::put_highlimit ( VARIANT  pVal)

Definition at line 120 of file block.cpp.

References callInstAPILib(), m_name, m_session_id, and InstAPILib::setRunControlLimit().

HRESULT Cblock::put_lowlimit ( VARIANT  pVal)

Definition at line 108 of file block.cpp.

References callInstAPILib(), m_name, m_session_id, and InstAPILib::setRunControlLimit().

HRESULT Cblock::put_name ( BSTR  pVal)

Definition at line 81 of file block.cpp.

References m_name.

HRESULT Cblock::put_runcontrol ( VARIANT_BOOL  pVal)

Definition at line 95 of file block.cpp.

References callInstAPILib(), m_name, m_session_id, and InstAPILib::setRunControl().

HRESULT Cblock::put_setpoint ( VARIANT  newVal)

Definition at line 33 of file block.cpp.

References callInstAPILib(), m_name, m_session_id, and InstAPILib::sendBlockSetpoint().

HRESULT Cblock::setValue ( VARIANT  newVal)

Definition at line 148 of file block.cpp.

References callInstAPILib(), m_name, m_session_id, and InstAPILib::sendBlockSetpoint().

HRESULT Cblock::setValueExt ( VARIANT  newVal,
VARIANT *  results 
)

Definition at line 154 of file block.cpp.

References callInstAPILib(), m_name, m_session_id, and InstAPILib::sendBlockSetpoint().

Member Data Documentation

CComBSTR Cblock::m_name
private
unsigned long Cblock::m_session_id

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