CanEasy COM-Help
CanEasy::ISignalCol Interface Reference
Inheritance diagram for CanEasy::ISignalCol:
CanEasy::ICol

Detailed Description

Collection containing signals

interface ISignalCol : ICol
{
HRESULT Item([in] VARIANT vIndex, [out, retval] ISignal** pVal);
HRESULT Factor([in] double dNewVal);
HRESULT Offset([in] double dNewVal);
HRESULT Max([in] double dNewVal);
HRESULT Min([in] double dNewVal);
HRESULT AddSignal([in] BSTR sSigName, [in] long lStartBit, [in] long lBitCount, [in] enum ByteOrder enByteOrder, [out,retval] ISignal**);
HRESULT Delete();
HRESULT SigType([in] enum SigType enNewVal);
HRESULT SigValType([in] enum SigValType enNewVal);
HRESULT Unit([in] BSTR sNewVal);
HRESULT ValueTable([in] IValueTable* pNewVal);
HRESULT Send();
HRESULT AddItem(IDatabaseItem* ppData);
};

Definition at line 3678 of file cand_tlb.idl.

Member Function Documentation

◆ AddItem()

HRESULT CanEasy::ISignalCol::AddItem ( IDatabaseItem ppData)

Adds an already created signal to this collection

◆ AddSignal()

HRESULT CanEasy::ISignalCol::AddSignal ( [in] BSTR  sSigName,
[in] long  lStartBit,
[in] long  lBitCount,
[in] enum ByteOrder  enByteOrder,
[out, retval] ISignal **   
)

Adds a new signal to this collection

Parameters
sSigNameName of the new signal
lStartBitStartbit mapped to the message payload
lBitCountBitlength mapped to the message payload
enByteOrderByte order (Motorola, Intel)
Returns
New created signal

◆ Delete()

HRESULT CanEasy::ISignalCol::Delete ( )

Deletes all signals of this collection

◆ Send()

HRESULT CanEasy::ISignalCol::Send ( )

Sends the message related to the signals

Property Documentation

◆ Factor

double CanEasy::ISignalCol::Factor
set

Sets the factor for all signals of this collection

◆ Item

ISignal CanEasy::ISignalCol::Item([in] VARIANT vIndex)
get

Returns a signal by name or index

◆ Max

double CanEasy::ISignalCol::Max
set

Sets the maximum for all signals of this collection

◆ Min

double CanEasy::ISignalCol::Min
set

Sets the minimum for all signals of this collection

◆ Offset

double CanEasy::ISignalCol::Offset
set

Sets the offset for all signals of this collection

◆ SigType

SigType CanEasy::ISignalCol::SigType
set

Sets the signal type for all signals of this collection

◆ SigValType

SigValType CanEasy::ISignalCol::SigValType
set

Sets the value type for all signals of this collection

◆ Unit

BSTR CanEasy::ISignalCol::Unit
set

Sets the unit for all signals of this collection

◆ ValueTable

IValueTable CanEasy::ISignalCol::ValueTable
set

Sets value table for all signals of this collection

CanEasy::ISignalCol::Delete
HRESULT Delete()
CanEasy::ISignalCol::Min
double Min
CanEasy::ISignalCol::AddSignal
HRESULT AddSignal([in] BSTR sSigName, [in] long lStartBit, [in] long lBitCount, [in] enum ByteOrder enByteOrder, [out, retval] ISignal **)
CanEasy::ISignalCol::Factor
double Factor
CanEasy::ISignalCol::SigType
SigType SigType
CanEasy::ISignalCol::AddItem
HRESULT AddItem(IDatabaseItem *ppData)
CanEasy::ISignalCol::Item
ISignal Item([in] VARIANT vIndex)
CanEasy::ISignalCol::Unit
BSTR Unit
CanEasy::ISignalCol::ValueTable
IValueTable ValueTable
CanEasy::ISignalCol::Max
double Max
CanEasy::ISignalCol::Offset
double Offset
CanEasy::ByteOrder
ByteOrder
The ByteOrder enumeration defines the byte order of a signal.
Definition: cand_tlb.idl:246
CanEasy::ISignalCol::SigValType
SigValType SigValType
CanEasy::ISignalCol::Send
HRESULT Send()