CanEasy COM-Help
CanEasy::_IPreTransmitEvents Interface Reference

Detailed Description

Events provided by PreTransmit class

dispinterface _IPreTransmitEvents
{
properties:
methods:
HRESULT OnPreTransmit([in] TransmissionData* pTransmission, [in] IBoolValue* pAllowSend);
HRESULT OnPreTransmitSync([in] TransmissionData* pTransmission, [in] IBoolValue* pAllowSend);
};

Definition at line 8115 of file cand_tlb.idl.

Member Function Documentation

◆ OnPreTransmit()

HRESULT CanEasy::_IPreTransmitEvents::OnPreTransmit ( [in] TransmissionData pTransmission,
[in] IBoolValue pAllowSend 
)

Called before a message gets transmitted

Parameters
pTransmissionContains information about the transmission (like timestamp, payload, identifier)
pAllowSendAllows to deny sending of this message

◆ OnPreTransmitSync()

HRESULT CanEasy::_IPreTransmitEvents::OnPreTransmitSync ( [in] TransmissionData pTransmission,
[in] IBoolValue pAllowSend 
)

Called before a message gets transmitted from high prio runtime thread

Parameters
pTransmissionContains information about the transmission (like timestamp, payload, identifier)
pAllowSendAllows to deny sending of this message
CanEasy::_IPreTransmitEvents::OnPreTransmitSync
HRESULT OnPreTransmitSync([in] TransmissionData *pTransmission, [in] IBoolValue *pAllowSend)
CanEasy::_IPreTransmitEvents::OnPreTransmit
HRESULT OnPreTransmit([in] TransmissionData *pTransmission, [in] IBoolValue *pAllowSend)