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

Detailed Description

Collection for busses/channels

interface IBusCol : ICol
{
HRESULT Item([in] VARIANT vIndex, [out, retval] IBus* *pVal);
HRESULT TxEnabled([out,retval] VARIANT_BOOL*);
HRESULT TxEnabled([in] VARIANT_BOOL boNewVal);
HRESULT RxEnabled([out,retval] VARIANT_BOOL*);
HRESULT RxEnabled([in] VARIANT_BOOL boNewVal);
HRESULT AddBus([in] enum BusType enType, [in] BSTR sName, [out,retval] IBus**);
HRESULT Delete();
HRESULT ResetChannel();
HRESULT AddItem(IDatabaseItem* pData);
};

Definition at line 5030 of file cand_tlb.idl.

Member Function Documentation

◆ AddBus()

HRESULT CanEasy::IBusCol::AddBus ( [in] enum BusType  enType,
[in] BSTR  sName,
[out, retval] IBus **   
)

Adds a new bus into the collection

Parameters
enTypeBus type (CAN, LIN, ETH)
sNameName of the new bus
Returns
Pointer to new created bus

◆ AddItem()

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

Adds an already created bus into the collection

◆ Delete()

HRESULT CanEasy::IBusCol::Delete ( )

Deletes all busses

◆ ResetChannel()

HRESULT CanEasy::IBusCol::ResetChannel ( )

Resets all busses/channels

Property Documentation

◆ Item

IBus CanEasy::IBusCol::Item([in] VARIANT vIndex)
get

Returns a bus by name or index

◆ RxEnabled

VARIANT_BOOL CanEasy::IBusCol::RxEnabled
getset

Activates/Deactivates the reception of all messages

◆ TxEnabled

VARIANT_BOOL CanEasy::IBusCol::TxEnabled
getset

Activates/Deactivates the transmission of all messages

CanEasy::BusType
BusType
The BusType enumeration defines all the supported bus types.
Definition: cand_tlb.idl:90
CanEasy::IBusCol::Delete
HRESULT Delete()
CanEasy::IBusCol::RxEnabled
VARIANT_BOOL RxEnabled
CanEasy::IBusCol::TxEnabled
VARIANT_BOOL TxEnabled
CanEasy::IBusCol::Item
IBus Item([in] VARIANT vIndex)
CanEasy::IBusCol::ResetChannel
HRESULT ResetChannel()
CanEasy::IBusCol::AddItem
HRESULT AddItem(IDatabaseItem *pData)
CanEasy::IBusCol::AddBus
HRESULT AddBus([in] enum BusType enType, [in] BSTR sName, [out, retval] IBus **)