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
AddItem(IDatabaseItem* pData);
};
Definition at line 5030 of file cand_tlb.idl.
◆ AddBus()
HRESULT CanEasy::IBusCol::AddBus |
( |
[in] enum BusType |
enType, |
|
|
[in] BSTR |
sName, |
|
|
[out, retval] IBus ** |
|
|
) |
| |
Adds a new bus into the collection
- Parameters
-
enType | Bus type (CAN, LIN, ETH) |
sName | Name of the new bus |
- Returns
- Pointer to new created bus
◆ AddItem()
Adds an already created bus into the collection
◆ Delete()
HRESULT CanEasy::IBusCol::Delete |
( |
| ) |
|
◆ ResetChannel()
HRESULT CanEasy::IBusCol::ResetChannel |
( |
| ) |
|
Resets all busses/channels
◆ 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