CanEasy COM-Help
CanEasy::_IMessageEvents Interface Reference

Detailed Description

Events provided by a message

dispinterface _IMessageEvents
{
properties:
methods:
HRESULT OnChanged();
HRESULT OnPreTransmit([in] TransmissionData* pTransmission, [in] BoolValue* pAllowSend);
HRESULT OnPreCopy([in] TransmissionData* pTransmission, [out] BoolValue* pAllowCopy);
HRESULT OnTxConfirm([in] TransmissionData* pTransmission);
HRESULT OnRxConfirm([in] TransmissionData* pTransmission);
HRESULT OnTransmission([in] TransmissionData* pTransmission);
HRESULT OnChangedSync();
HRESULT OnPreTransmitSync([in] TransmissionData* pTransmission, [in] BoolValue* pAllowSend);
HRESULT OnPreCopySync([in] TransmissionData* pTransmission, [out] BoolValue* pAllowCopy);
HRESULT OnTxConfirmSync([in] TransmissionData* pTransmission);
HRESULT OnRxConfirmSync([in] TransmissionData* pTransmission);
HRESULT OnTransmissionMT([in] TransmissionData* data);
};

Definition at line 3869 of file cand_tlb.idl.

Member Function Documentation

◆ OnChanged()

HRESULT CanEasy::_IMessageEvents::OnChanged ( )

Called when message payload has changed

◆ OnChangedSync()

HRESULT CanEasy::_IMessageEvents::OnChangedSync ( )

Called when message payload was changed from thread that changed the data

◆ OnPreCopy()

HRESULT CanEasy::_IMessageEvents::OnPreCopy ( [in] TransmissionData pTransmission,
[out] BoolValue pAllowCopy 
)

Called before reception of the message is processed

◆ OnPreCopySync()

HRESULT CanEasy::_IMessageEvents::OnPreCopySync ( [in] TransmissionData pTransmission,
[out] BoolValue pAllowCopy 
)

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

◆ OnPreTransmit()

HRESULT CanEasy::_IMessageEvents::OnPreTransmit ( [in] TransmissionData pTransmission,
[in] BoolValue pAllowSend 
)

Called before the message gets transmitted

◆ OnPreTransmitSync()

HRESULT CanEasy::_IMessageEvents::OnPreTransmitSync ( [in] TransmissionData pTransmission,
[in] BoolValue pAllowSend 
)

Called before the message gets transmitted from high prio transmission thread

◆ OnRxConfirm()

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

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

◆ OnRxConfirmSync()

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

Deprecated: Called when the message was received from high prio transmission thread. Use OnTransmission instead.

◆ OnTransmission()

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

Called before the message gets transmitted or received

◆ OnTxConfirm()

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

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

◆ OnTxConfirmSync()

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

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

CanEasy::_IMessageEvents::OnTxConfirm
HRESULT OnTxConfirm([in] TransmissionData *pTransmission)
CanEasy::_IMessageEvents::OnPreTransmitSync
HRESULT OnPreTransmitSync([in] TransmissionData *pTransmission, [in] BoolValue *pAllowSend)
CanEasy::_IMessageEvents::OnTransmission
HRESULT OnTransmission([in] TransmissionData *pTransmission)
CanEasy::_IMessageEvents::OnChanged
HRESULT OnChanged()
CanEasy::_IMessageEvents::OnChangedSync
HRESULT OnChangedSync()
CanEasy::_IMessageEvents::OnPreCopy
HRESULT OnPreCopy([in] TransmissionData *pTransmission, [out] BoolValue *pAllowCopy)
CanEasy::_IMessageEvents::OnTxConfirmSync
HRESULT OnTxConfirmSync([in] TransmissionData *pTransmission)
CanEasy::_IMessageEvents::OnPreTransmit
HRESULT OnPreTransmit([in] TransmissionData *pTransmission, [in] BoolValue *pAllowSend)
CanEasy::_IMessageEvents::OnRxConfirmSync
HRESULT OnRxConfirmSync([in] TransmissionData *pTransmission)
CanEasy::_IMessageEvents::OnRxConfirm
HRESULT OnRxConfirm([in] TransmissionData *pTransmission)
CanEasy::_IMessageEvents::OnPreCopySync
HRESULT OnPreCopySync([in] TransmissionData *pTransmission, [out] BoolValue *pAllowCopy)