CanEasy COM-Help
CanEasy::_IBusEvents Interface Reference

Detailed Description

Events provided by a bus/channel

dispinterface _IBusEvents
{
properties:
methods:
HRESULT OnCanEvent([in] enum CanBusEvent enCanBusEvent);
HRESULT OnCanError();
HRESULT OnLinEvent([in] enum LinBusState enLinBusState);
HRESULT OnLinError([in] enum LinBusError enLinBusError, [in] TransmissionData* pTransmission);
HRESULT OnPreTransmit([in] TransmissionData* pTransmission, [in] BoolValue* boAllowSend);
HRESULT OnPreCopy([in] TransmissionData* pTransmission, [out] BoolValue* boAllowCopy);
HRESULT OnTxConfirm([in] TransmissionData* pTransmission);
HRESULT OnRxConfirm([in] TransmissionData* pTransmission);
HRESULT OnTransmission([in] TransmissionData* pTransmission);
HRESULT OnPreTransmitSync([in] TransmissionData* pTransmission, [in] BoolValue* boAllowSend);
HRESULT OnPreCopySync([in] TransmissionData* pTransmission, [out] BoolValue* boAllowCopy);
HRESULT OnTxConfirmSync([in] TransmissionData* pTransmission);
HRESULT OnRxConfirmSync([in] TransmissionData* pTransmission);
HRESULT OnTransmissionMT([in] TransmissionData* pTransmission);
HRESULT OnCanEventSync([in] enum CanBusEvent enCanBusEvent);
HRESULT OnCanErrorSync();
HRESULT OnLinEventSync([in] enum LinBusState enLinBusState);
HRESULT OnLinErrorSync([in] enum LinBusError enLinBusError, [in] TransmissionData* pTransmission);
HRESULT OnInitError([in] Bus* pBus, [out] BoolValue* boHandled);
};

Definition at line 4639 of file cand_tlb.idl.

Member Function Documentation

◆ OnCanError()

HRESULT CanEasy::_IBusEvents::OnCanError ( )

Called on error frames

◆ OnCanErrorSync()

HRESULT CanEasy::_IBusEvents::OnCanErrorSync ( )

Called on error frames (runtime thread context)

◆ OnCanEvent()

HRESULT CanEasy::_IBusEvents::OnCanEvent ( [in] enum CanBusEvent  enCanBusEvent)

Called when a chipstate was received from the CAN transceiver

◆ OnCanEventSync()

HRESULT CanEasy::_IBusEvents::OnCanEventSync ( [in] enum CanBusEvent  enCanBusEvent)

Called when a chipstate was received from the CAN transceiver (runtime thread context)

◆ OnInitError()

HRESULT CanEasy::_IBusEvents::OnInitError ( [in] Bus pBus,
[out] BoolValue boHandled 
)

Called on hardware init errors. Setting boHandled to True will skip this error.

◆ OnLinError()

HRESULT CanEasy::_IBusEvents::OnLinError ( [in] enum LinBusError  enLinBusError,
[in] TransmissionData pTransmission 
)

Called on a LIN bus errors

◆ OnLinErrorSync()

HRESULT CanEasy::_IBusEvents::OnLinErrorSync ( [in] enum LinBusError  enLinBusError,
[in] TransmissionData pTransmission 
)

Called on a LIN bus errors (runtime thread context)

◆ OnLinEvent()

HRESULT CanEasy::_IBusEvents::OnLinEvent ( [in] enum LinBusState  enLinBusState)

Called on a LIN bus state (wakeup, sleep) change

◆ OnLinEventSync()

HRESULT CanEasy::_IBusEvents::OnLinEventSync ( [in] enum LinBusState  enLinBusState)

Called on a LIN bus state (wakeup, sleep) change (runtime thread context)

◆ OnPreCopy()

HRESULT CanEasy::_IBusEvents::OnPreCopy ( [in] TransmissionData pTransmission,
[out] BoolValue boAllowCopy 
)

Called before reception of a message is processed

◆ OnPreCopySync()

HRESULT CanEasy::_IBusEvents::OnPreCopySync ( [in] TransmissionData pTransmission,
[out] BoolValue boAllowCopy 
)

Called before reception of a message is processed, from high prio transmission thread

◆ OnPreTransmit()

HRESULT CanEasy::_IBusEvents::OnPreTransmit ( [in] TransmissionData pTransmission,
[in] BoolValue boAllowSend 
)

Called before a message gets transmitted

◆ OnPreTransmitSync()

HRESULT CanEasy::_IBusEvents::OnPreTransmitSync ( [in] TransmissionData pTransmission,
[in] BoolValue boAllowSend 
)

Called before a message gets transmitted, from high prio transmission thread

◆ OnRxConfirm()

HRESULT CanEasy::_IBusEvents::OnRxConfirm ( [in] TransmissionData pTransmission)

Deprecated: Called when a message was received. Use OnTransmission instead.

◆ OnRxConfirmSync()

HRESULT CanEasy::_IBusEvents::OnRxConfirmSync ( [in] TransmissionData pTransmission)

Deprecated: Called when a message was received. Use OnTransmission instead.

◆ OnTransmission()

HRESULT CanEasy::_IBusEvents::OnTransmission ( [in] TransmissionData pTransmission)

Called before a message gets transmitted or received

◆ OnTransmissionMT()

HRESULT CanEasy::_IBusEvents::OnTransmissionMT ( [in] TransmissionData pTransmission)

Called before a message gets transmitted or received, from high prio transmission thread.

◆ OnTxConfirm()

HRESULT CanEasy::_IBusEvents::OnTxConfirm ( [in] TransmissionData pTransmission)

Deprecated: Called when a message was transmitted. Use OnTransmission instead.

◆ OnTxConfirmSync()

HRESULT CanEasy::_IBusEvents::OnTxConfirmSync ( [in] TransmissionData pTransmission)

Deprecated: Called when a message was transmitted, from high prio transmission thread. Use OnTransmission instead.

CanEasy::_IBusEvents::OnPreCopySync
HRESULT OnPreCopySync([in] TransmissionData *pTransmission, [out] BoolValue *boAllowCopy)
CanEasy::_IBusEvents::OnLinEventSync
HRESULT OnLinEventSync([in] enum LinBusState enLinBusState)
CanEasy::_IBusEvents::OnTransmissionMT
HRESULT OnTransmissionMT([in] TransmissionData *pTransmission)
CanEasy::LinBusError
LinBusError
The LinBusError enumeration defines events from the LIN transceiver used by events.
Definition: cand_tlb.idl:139
CanEasy::_IBusEvents::OnTxConfirm
HRESULT OnTxConfirm([in] TransmissionData *pTransmission)
CanEasy::_IBusEvents::OnTxConfirmSync
HRESULT OnTxConfirmSync([in] TransmissionData *pTransmission)
CanEasy::_IBusEvents::OnLinEvent
HRESULT OnLinEvent([in] enum LinBusState enLinBusState)
CanEasy::CanBusEvent
CanBusEvent
The CanBusEvent enumeration defines chip states from the CAN transceiver.
Definition: cand_tlb.idl:103
CanEasy::_IBusEvents::OnPreTransmitSync
HRESULT OnPreTransmitSync([in] TransmissionData *pTransmission, [in] BoolValue *boAllowSend)
CanEasy::_IBusEvents::OnRxConfirmSync
HRESULT OnRxConfirmSync([in] TransmissionData *pTransmission)
CanEasy::_IBusEvents::OnInitError
HRESULT OnInitError([in] Bus *pBus, [out] BoolValue *boHandled)
CanEasy::LinBusState
LinBusState
The LinBusState enumeration defines wakeup and sleep state for a LIN bus.
Definition: cand_tlb.idl:129
CanEasy::_IBusEvents::OnPreTransmit
HRESULT OnPreTransmit([in] TransmissionData *pTransmission, [in] BoolValue *boAllowSend)
CanEasy::_IBusEvents::OnCanErrorSync
HRESULT OnCanErrorSync()
CanEasy::_IBusEvents::OnRxConfirm
HRESULT OnRxConfirm([in] TransmissionData *pTransmission)
CanEasy::_IBusEvents::OnCanError
HRESULT OnCanError()
CanEasy::_IBusEvents::OnLinErrorSync
HRESULT OnLinErrorSync([in] enum LinBusError enLinBusError, [in] TransmissionData *pTransmission)
CanEasy::_IBusEvents::OnTransmission
HRESULT OnTransmission([in] TransmissionData *pTransmission)
CanEasy::_IBusEvents::OnLinError
HRESULT OnLinError([in] enum LinBusError enLinBusError, [in] TransmissionData *pTransmission)
CanEasy::_IBusEvents::OnCanEvent
HRESULT OnCanEvent([in] enum CanBusEvent enCanBusEvent)
CanEasy::_IBusEvents::OnCanEventSync
HRESULT OnCanEventSync([in] enum CanBusEvent enCanBusEvent)
CanEasy::_IBusEvents::OnPreCopy
HRESULT OnPreCopy([in] TransmissionData *pTransmission, [out] BoolValue *boAllowCopy)