CanEasy COM-Help
CanEasy::ITransmissionEvent Interface Reference

Inherits IDispatch.

Detailed Description

Interface configure transmission events which are called when a message is received or transmitted.

interface ITransmissionEvent : IDispatch
{
HRESULT Active([out, retval] VARIANT_BOOL*);
HRESULT Active([in] VARIANT_BOOL boNewVal);
HRESULT Filter([out, retval] BSTR*);
HRESULT Filter([in] BSTR pFilter);
HRESULT Position([out, retval] enum CallbackPosition*);
HRESULT Position([in] enum CallbackPosition enPosition);
HRESULT Id([out, retval] BSTR*);
HRESULT Id([in] BSTR sStrId);
HRESULT Object([out, retval] IDatabaseItem**);
HRESULT Object([in] IDatabaseItem *pData);
HRESULT Asynchron([out, retval] VARIANT_BOOL*);
HRESULT Asynchron([in] VARIANT_BOOL boNewVal);
HRESULT DirectionFilter([out, retval] enum DirectionFilter*);
HRESULT DirectionFilter([in] enum DirectionFilter enNewVal);
};

Definition at line 2069 of file cand_tlb.idl.

Property Documentation

◆ Active

VARIANT_BOOL CanEasy::ITransmissionEvent::Active
getset

Must be set to True to activate events.

◆ Asynchron

VARIANT_BOOL CanEasy::ITransmissionEvent::Asynchron
getset

Specifies whether the event is called synchronous or asynchronous.

By default transmission events are queued and called synchronous. Setting Asynchron to false is not recommended.

◆ DirectionFilter

DirectionFilter CanEasy::ITransmissionEvent::DirectionFilter
getset

By default the event is called independet whether CanEasy transmits a message (tx) or whether it is received (rx). Use the DirectionFilter if you want to get just rx or tx events.

◆ Filter

BSTR CanEasy::ITransmissionEvent::Filter
getset

Allows setting a string filter which can reduce the number of events.

Example: c(can1) id(1-a) data(ab cd). TransmissionEvents can be registered for any database item like database, bus, control-unit, message, signals. Using channel filter c() makes only sense when register on database level. Using id filter id() makes only sense when register on level above the message.

◆ Id

BSTR CanEasy::ITransmissionEvent::Id
getset

Deprecated: Readable name to show conflict if position is not unique.

◆ Object

IDatabaseItem CanEasy::ITransmissionEvent::Object
getset

Reference to database object where the transmission event is registered for.

◆ Position

CallbackPosition CanEasy::ITransmissionEvent::Position
getset

Deprecated: The position when the event has to be called. This is not used any longer. The user can use the level (e.g. message, signal) to set calling order.

CanEasy::ITransmissionEvent::Object
IDatabaseItem Object
CanEasy::ITransmissionEvent::DirectionFilter
DirectionFilter DirectionFilter
CanEasy::ITransmissionEvent::Asynchron
VARIANT_BOOL Asynchron
Specifies whether the event is called synchronous or asynchronous.
CanEasy::ITransmissionEvent::Position
CallbackPosition Position
CanEasy::ITransmissionEvent::Filter
BSTR Filter
Allows setting a string filter which can reduce the number of events.
CanEasy::ITransmissionEvent::Active
VARIANT_BOOL Active
CanEasy::ITransmissionEvent::Id
BSTR Id
CanEasy::CallbackPosition
CallbackPosition
Deprecated: The CallbackPosition enumeration defines the position when a transmission callback has to...
Definition: cand_tlb.idl:289