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

Detailed Description

Collection of Control units (ECUs)

interface IControlUnitCol : ICol
{
HRESULT Item([in] VARIANT vIndex, [out, retval] IControlUnit* *pVal);
HRESULT TxEnabled([in] VARIANT_BOOL boNewVal);
HRESULT Simulated([in] VARIANT_BOOL boNewVal);
HRESULT AddControlUnit([in] BSTR sECUName, [out,retval] IControlUnit**);
HRESULT Delete();
HRESULT AddItem(IDatabaseItem* pData);
};

Definition at line 4524 of file cand_tlb.idl.

Member Function Documentation

◆ AddControlUnit()

HRESULT CanEasy::IControlUnitCol::AddControlUnit ( [in] BSTR  sECUName,
[out, retval] IControlUnit **   
)

Adds a new ECU to the collection

Parameters
sECUNameName of the ecu
Returns
Pointer to new created ECU

◆ AddItem()

HRESULT CanEasy::IControlUnitCol::AddItem ( IDatabaseItem pData)

Adds an already created ECU to the collection

◆ Delete()

HRESULT CanEasy::IControlUnitCol::Delete ( )

Deletes all ECUs from the collection

Property Documentation

◆ Item

IControlUnit CanEasy::IControlUnitCol::Item([in] VARIANT vIndex)
get

Returns an ECU by name or index

◆ Simulated

VARIANT_BOOL CanEasy::IControlUnitCol::Simulated
set

Sets all ECUs to simulated or real

◆ TxEnabled

VARIANT_BOOL CanEasy::IControlUnitCol::TxEnabled
set

Activates/Deactivates the transmission of all messages

CanEasy::IControlUnitCol::AddItem
HRESULT AddItem(IDatabaseItem *pData)
CanEasy::IControlUnitCol::Item
IControlUnit Item([in] VARIANT vIndex)
CanEasy::IControlUnitCol::Delete
HRESULT Delete()
CanEasy::IControlUnitCol::Simulated
VARIANT_BOOL Simulated
CanEasy::IControlUnitCol::AddControlUnit
HRESULT AddControlUnit([in] BSTR sECUName, [out, retval] IControlUnit **)
CanEasy::IControlUnitCol::TxEnabled
VARIANT_BOOL TxEnabled