IGWv4EcuObject

Contents

Properties

Property Description
AxisCount Get number of axes.
SiteCount Get total number of sites.
Index Index, index of the object in the collection of similarly typed objects.
Name Name of the object.
Description Description, description of the object.
Units Units of the object.
ElementSize Element size, in bytes.
Address Address, address of the object.
IsBit IsBit, true if object is a single bit.
IsReadOnly IsReadOnly, true if object is read only.
IsSigned IsSigned, true if object is signed.
MaxRaw MaxRaw, maximum raw value.
MinRaw MinRaw, minimum raw value.
MaxReal MaxReal, maximum real value.
MinReal MinReal, minimum real value.

Public Methods

Function Description
GetReal Get the real value of the object.
SetReal Set the real value of the object.
GetRaw Get the raw value of the object.
SetRaw Set the raw value of the object.
GetString Get the string value of the object.
SetString Set the string value of the object.
GetAxis Get object representing the specified axis.
GetAttribute Get attribute with given name.
HasAttribute Determine if attribute exists.
RawFromReal Convert real value to raw value.
RealFromRaw Convert raw value to real value.
StringFromRaw Convert raw value to string value.

Properties

AxisCount

Get number of axes.

int AxisCount

SiteCount

Get total number of sites.

int SiteCount

Index

Index, index of the object in the collection of similarly typed objects.

int Index

Name

Name of the object.

BSTR Name

Description

Description, description of the object.

BSTR Description

Units

Units of the object.

BSTR Units

ElementSize

Element size, in bytes.

int ElementSize

Address

Address, address of the object.

long Address

For A2L files, this includes the address extension in the upper 32 bits.

IsBit

IsBit, true if object is a single bit.

VARIANT_BOOL IsBit

IsReadOnly

IsReadOnly, true if object is read only.

VARIANT_BOOL IsReadOnly

IsSigned

IsSigned, true if object is signed.

VARIANT_BOOL IsSigned

MaxRaw

MaxRaw, maximum raw value.

VARIANT MaxRaw

MinRaw

MinRaw, minimum raw value.

VARIANT MinRaw

MaxReal

MaxReal, maximum real value.

VARIANT MaxReal

MinReal

MinReal, minimum real value.

VARIANT MinReal

Public Methods

Method: GetReal

Get the real value of the object.

HRESULT GetReal([in, optional] VARIANT *axes, [out, retval] VARIANT *value)

Method: SetReal

Set the real value of the object.

HRESULT SetReal([in] VARIANT value, [in, optional] VARIANT *axes)

Method: GetRaw

Get the raw value of the object.

HRESULT GetRaw([in, optional] VARIANT *axes, [out, retval] VARIANT *value)

Method: SetRaw

Set the raw value of the object.

HRESULT SetRaw([in] VARIANT value, [in, optional] VARIANT *axes)

Method: GetString

Get the string value of the object.

HRESULT GetString([in, optional] VARIANT *axes, [out, retval] BSTR *value)

Method: SetString

Set the string value of the object.

HRESULT SetString([in] VARIANT value, [in, optional] VARIANT *axes)

Method: GetAxis

Get object representing the specified axis.

HRESULT GetAxis([in] unsigned int axis, [out, retval] IGWv4EcuObject **value)

Method: GetAttribute

Get attribute with given name.

HRESULT GetAttribute([in] VARIANT name, [out, retval] BSTR *result)

Method: HasAttribute

Determine if attribute exists.

HRESULT HasAttribute([in] VARIANT name, [out, retval] BOOL *result)

Method: RawFromReal

Convert real value to raw value.

HRESULT RawFromReal([in] VARIANT real, [in, optional] VARIANT *axes, [out, retval] VARIANT *raw)

Method: RealFromRaw

Convert raw value to real value.

HRESULT RealFromRaw([in] VARIANT raw, [in, optional] VARIANT *axes, [out, retval] VARIANT *real)

Method: StringFromRaw

Convert raw value to string value.

HRESULT StringFromRaw([in] VARIANT raw, [in, optional] VARIANT *axes, [out, retval] BSTR *result)