CanEasy COM-Help
CanEasy::IDataEntryColOfDynamic Interface Reference
Inheritance diagram for CanEasy::IDataEntryColOfDynamic:
CanEasy::IDataEntryColBase CanEasy::ICol

Detailed Description

Collection of database items which are mapping their data to parent and children

interface IDataEntryColOfDynamic : IDataEntryColBase
{
HRESULT AddStaticDataEntry([in] BSTR sName, [in] long lStartBit, [in] long lBitCount, [in] enum ByteOrder enByteOrder, [out, retval] IStaticDataEntry**);
HRESULT AddDynamicDataEntry([in] BSTR sName, [in] long lStartByte, [in] long lByteCount, [in] enum ByteOrder enByteOrder, [out, retval] IDynamicDataEntry**);
HRESULT AddArray([in] BSTR sName, [in] long lStartByte, [in] long lByteCount, [in] enum ByteOrder enByteOrder, [in] long lArrayElemByteCount, [out, retval] IDataArray**);
};

Definition at line 3346 of file cand_tlb.idl.

Member Function Documentation

◆ AddArray()

HRESULT CanEasy::IDataEntryColOfDynamic::AddArray ( [in] BSTR  sName,
[in] long  lStartByte,
[in] long  lByteCount,
[in] enum ByteOrder  enByteOrder,
[in] long  lArrayElemByteCount,
[out, retval] IDataArray **   
)

Adds new array database item (byte aligned)

Parameters
sNameName of the new item
lStartBytestart byte mapped to the parent data
lByteCountByte length
enByteOrderByte order (Motorola, Intel)
lArrayElemByteCountByte length of one array element
Returns
New created array data entry

◆ AddDynamicDataEntry()

HRESULT CanEasy::IDataEntryColOfDynamic::AddDynamicDataEntry ( [in] BSTR  sName,
[in] long  lStartByte,
[in] long  lByteCount,
[in] enum ByteOrder  enByteOrder,
[out, retval] IDynamicDataEntry **   
)

Adds new dynamic database item (byte aligned)

Parameters
sNameName of the new item
lStartBytestart byte mapped to the parent data
lByteCountByte length
enByteOrderByte order (Motorola, Intel)
Returns
New created dynamic data entry

◆ AddStaticDataEntry()

HRESULT CanEasy::IDataEntryColOfDynamic::AddStaticDataEntry ( [in] BSTR  sName,
[in] long  lStartBit,
[in] long  lBitCount,
[in] enum ByteOrder  enByteOrder,
[out, retval] IStaticDataEntry **   
)

Adds new static database item using bit mask

Parameters
sNameName of the new item
lStartBitstart bit mapped to the parent data
lBitCountBit length internally converted to bit mask
enByteOrderByte order (Motorola, Intel)
Returns
New created static data entry
CanEasy::IDataEntryColOfDynamic::AddDynamicDataEntry
HRESULT AddDynamicDataEntry([in] BSTR sName, [in] long lStartByte, [in] long lByteCount, [in] enum ByteOrder enByteOrder, [out, retval] IDynamicDataEntry **)
CanEasy::IDataEntryColOfDynamic::AddStaticDataEntry
HRESULT AddStaticDataEntry([in] BSTR sName, [in] long lStartBit, [in] long lBitCount, [in] enum ByteOrder enByteOrder, [out, retval] IStaticDataEntry **)
CanEasy::ByteOrder
ByteOrder
The ByteOrder enumeration defines the byte order of a signal.
Definition: cand_tlb.idl:246
CanEasy::IDataEntryColOfDynamic::AddArray
HRESULT AddArray([in] BSTR sName, [in] long lStartByte, [in] long lByteCount, [in] enum ByteOrder enByteOrder, [in] long lArrayElemByteCount, [out, retval] IDataArray **)