CanEasy COM-Help
CanEasy::IValue Interface Reference
Inheritance diagram for CanEasy::IValue:
CanEasy::IDatabaseItem CanEasy::IAttribute CanEasy::IDataEntryBase CanEasy::IDTCContainer CanEasy::IEnvVar CanEasy::IValueItem CanEasy::IDynamicDataEntryBase CanEasy::ISignalGroup CanEasy::IStaticDataEntryBase CanEasy::IDataArray CanEasy::IDynamicDataEntry CanEasy::IServiceRequest CanEasy::IServiceResponse CanEasy::ISignal CanEasy::IStaticDataEntry CanEasy::IDynamicServiceParam CanEasy::IStaticServiceParam

Detailed Description

Base interface for everything what is a kind of value object.

interface IValue : IDatabaseItem
{
HRESULT Value([out, retval] VARIANT*);
HRESULT Value([in] VARIANT vVal);
HRESULT ValueType([out, retval] enum ValueType*);
HRESULT ValueType([in] enum ValueType enVal);
HRESULT ValueString([out, retval] BSTR*);
HRESULT ValueString([in] BSTR sVal);
HRESULT ValueDouble([out, retval] double*);
HRESULT ValueDouble([in] double dVal);
HRESULT ValueInt64([out, retval] INT64*);
HRESULT ValueInt64([in] INT64 llVal);
HRESULT MinValueInt64([out, retval] INT64*);
HRESULT MinValueInt64([in] INT64 llVal);
HRESULT MaxValueDouble([out, retval] double*);
HRESULT MaxValueDouble([in] double dVal);
HRESULT StartValue([out, retval] IAttribute**);
HRESULT StartValueActive([out, retval] IAttribute**);
HRESULT Minimum([out, retval] IAttribute**);
HRESULT Maximum([out, retval] IAttribute**);
HRESULT Unit([out, retval] IAttribute**);
HRESULT DisplayType([out, retval] IAttribute**);
HRESULT DisplayValueType([out, retval] IAttribute**);
HRESULT DecimalPlaces([out, retval] IAttribute**);
HRESULT ValueConversion([out, retval] enum ValueConversionType*);
HRESULT ValueConversion([in] enum ValueConversionType enVal);
HRESULT Conversion([out, retval] IConversion**);
HRESULT Conversion([in] IConversion* ppItem);
HRESULT ValueTable([out, retval] IValueTable**);
HRESULT ValueTable([in] IValueTable* ppItem);
HRESULT DataChangeEvents([out, retval] VARIANT_BOOL*);
HRESULT DataChangeEvents([in] VARIANT_BOOL val);
HRESULT Asynchron([out, retval] VARIANT_BOOL*);
HRESULT Asynchron([in] VARIANT_BOOL val);
HRESULT Factor([out, retval] double*);
HRESULT Factor([in] double newVal);
HRESULT Offset([out, retval] double*);
HRESULT Offset([in] double newVal);
HRESULT DisplayTypeEnum([out, retval] enum ValueDisplayType*);
HRESULT DisplayTypeEnum([in] enum ValueDisplayType enVal);
HRESULT MaxValueInt64([out, retval] INT64*);
HRESULT MaxValueInt64([in] INT64 llVal);
HRESULT ValuePhys([out, retval] double*);
HRESULT ValuePhys([in] double dVal);
HRESULT MinValuePhys([out, retval] double*);
HRESULT MinValuePhys([in] double dVal);
HRESULT MaxValuePhys([out, retval] double*);
HRESULT MaxValuePhys([in] double dVal);
HRESULT ValueRaw64([out, retval] INT64*);
HRESULT ValueRaw64([in] INT64 llVal);
HRESULT MinValueRaw64([out, retval] INT64*);
HRESULT MinValueRaw64([in] INT64 llVal);
HRESULT MaxValueRaw64([out, retval] INT64*);
HRESULT MaxValueRaw64([in] INT64 llVal);
HRESULT ValueRaw([out, retval] double*);
HRESULT ValueRaw([in] double dVal);
HRESULT MinValueRaw([out, retval] double*);
HRESULT MinValueRaw([in] double dVal);
HRESULT MaxValueRaw([out, retval] double*);
HRESULT MaxValueRaw([in] double dVal);
HRESULT ValueObject([in] IValue* pVal);
};

Definition at line 1658 of file cand_tlb.idl.

Property Documentation

◆ Asynchron

VARIANT_BOOL CanEasy::IValue::Asynchron
getset

True if value change events are notified asynchrony (default)

◆ Conversion

IConversion CanEasy::IValue::Conversion
getset

Conversion to convert raw value into physical value

◆ DataChangeEvents

VARIANT_BOOL CanEasy::IValue::DataChangeEvents
getset

Activates database change events. If true the class notifies events on each value change.

◆ DecimalPlaces

IAttribute CanEasy::IValue::DecimalPlaces
get

Decimal places (attribute reference)

◆ DisplayType

IAttribute CanEasy::IValue::DisplayType
get

Display type (attribute reference)

◆ DisplayTypeEnum

ValueDisplayType CanEasy::IValue::DisplayTypeEnum
getset

Display type of this value (checkbox, slider, edit, combobox)

◆ DisplayValueType

IAttribute CanEasy::IValue::DisplayValueType
get

Display value type (attribute reference)

◆ Factor

double CanEasy::IValue::Factor
getset

Factor for the conversion from raw value into physical value

◆ Maximum

IAttribute CanEasy::IValue::Maximum
get

Maximum value (attribute reference)

◆ MaxValueDouble

double CanEasy::IValue::MaxValueDouble
getset

Minimum value as double

◆ MaxValueInt64

INT64 CanEasy::IValue::MaxValueInt64
getset

Maximum value as int64

◆ MaxValuePhys

double CanEasy::IValue::MaxValuePhys
getset

Physical maximum value as double

◆ MaxValueRaw

double CanEasy::IValue::MaxValueRaw
getset

Maximum raw value as int64

◆ MaxValueRaw64

INT64 CanEasy::IValue::MaxValueRaw64
getset

Maximum raw value as int64

◆ Minimum

IAttribute CanEasy::IValue::Minimum
get

Minimum value (attribute reference)

◆ MinValueInt64

INT64 CanEasy::IValue::MinValueInt64
getset

Minimum value as int64

◆ MinValuePhys

double CanEasy::IValue::MinValuePhys
getset

Physical minimum value as double

◆ MinValueRaw

double CanEasy::IValue::MinValueRaw
getset

Minimum raw value as int64

◆ MinValueRaw64

INT64 CanEasy::IValue::MinValueRaw64
getset

Minimum raw value as int64

◆ Offset

double CanEasy::IValue::Offset
getset

Offset for the conversion from raw value into physical value

◆ StartValue

IAttribute CanEasy::IValue::StartValue
get

Start value (attribute reference)

◆ StartValueActive

IAttribute CanEasy::IValue::StartValueActive
get

True if start value is active. If start value is not active it gets not written as value on simulation start.

◆ Unit

IAttribute CanEasy::IValue::Unit
get

Unit (attribute reference)

◆ Value

VARIANT CanEasy::IValue::Value
getset

Value of this item as VARIANT

◆ ValueConversion

ValueConversionType CanEasy::IValue::ValueConversion
getset

Value conversion (signed, unsigned)

◆ ValueDouble

double CanEasy::IValue::ValueDouble
getset

Value as double

◆ ValueInt64

INT64 CanEasy::IValue::ValueInt64
getset

Value as int64

◆ ValueObject

IValue CanEasy::IValue::ValueObject
set

Replaces the internal database reference

◆ ValuePhys

double CanEasy::IValue::ValuePhys
getset

Physical value as double

◆ ValueRaw

double CanEasy::IValue::ValueRaw
getset

Raw value as int64

◆ ValueRaw64

INT64 CanEasy::IValue::ValueRaw64
getset

Raw value as int64

◆ ValueString

BSTR CanEasy::IValue::ValueString
getset

Value as string

◆ ValueTable

IValueTable CanEasy::IValue::ValueTable
getset

Valuetable to convert raw value into text

◆ ValueType

ValueType CanEasy::IValue::ValueType
getset

Type of value (int, double, ...)

CanEasy::ValueConversionType
ValueConversionType
The ValueConversionType enumeration defines the data type of a value.
Definition: cand_tlb.idl:278
CanEasy::IValue::MaxValuePhys
double MaxValuePhys
CanEasy::IValue::Maximum
IAttribute Maximum
CanEasy::IValue::Factor
double Factor
CanEasy::IValue::Minimum
IAttribute Minimum
CanEasy::IValue::StartValueActive
IAttribute StartValueActive
CanEasy::IValue::MaxValueRaw64
INT64 MaxValueRaw64
CanEasy::IValue::ValueType
ValueType ValueType
CanEasy::IValue::ValueConversion
ValueConversionType ValueConversion
CanEasy::IValue::ValueTable
IValueTable ValueTable
CanEasy::IValue::MinValueInt64
INT64 MinValueInt64
CanEasy::IValue::ValueObject
IValue ValueObject
CanEasy::IValue::ValueInt64
INT64 ValueInt64
CanEasy::IValue::DecimalPlaces
IAttribute DecimalPlaces
CanEasy::IValue::Value
VARIANT Value
CanEasy::IValue::MinValueRaw
double MinValueRaw
CanEasy::IValue::ValueDouble
double ValueDouble
CanEasy::IValue::DisplayType
IAttribute DisplayType
CanEasy::IValue::DataChangeEvents
VARIANT_BOOL DataChangeEvents
CanEasy::IValue::MinValuePhys
double MinValuePhys
CanEasy::IValue::ValueRaw64
INT64 ValueRaw64
CanEasy::IValue::DisplayTypeEnum
ValueDisplayType DisplayTypeEnum
CanEasy::IValue::ValueString
BSTR ValueString
CanEasy::IValue::StartValue
IAttribute StartValue
CanEasy::IValue::MinValueRaw64
INT64 MinValueRaw64
CanEasy::IValue::MaxValueRaw
double MaxValueRaw
CanEasy::IValue::ValuePhys
double ValuePhys
CanEasy::ValueDisplayType
ValueDisplayType
The ValueDisplayType enumeration defines the type of control to show a database value.
Definition: cand_tlb.idl:234
CanEasy::IValue::MaxValueInt64
INT64 MaxValueInt64
CanEasy::IValue::ValueRaw
double ValueRaw
CanEasy::IValue::Unit
IAttribute Unit
CanEasy::IValue::DisplayValueType
IAttribute DisplayValueType
CanEasy::IValue::Offset
double Offset
CanEasy::IValue::MaxValueDouble
double MaxValueDouble
CanEasy::IValue::Conversion
IConversion Conversion
CanEasy::IValue::Asynchron
VARIANT_BOOL Asynchron