CanEasy COM-Help
CanEasy::IControlUnit Interface Reference
Inheritance diagram for CanEasy::IControlUnit:
CanEasy::IDatabaseItem

Detailed Description

Control unit (ECU) which contains messages

interface IControlUnit : IDatabaseItem
{
HRESULT TxEnabled([in] VARIANT_BOOL boNewVal);
HRESULT Simulated([out, retval] VARIANT_BOOL *pVal);
HRESULT Simulated([in] VARIANT_BOOL boNewVal);
HRESULT Messages([out, retval] IMessageCol* *pVal);
HRESULT Extension([in] BSTR sID, [out, retval] IDispatch* *pVal);
HRESULT MsgMode([out, retval] enum GenMsgMode *pVal);
HRESULT MsgMode([in] enum GenMsgMode enNewVal);
HRESULT Export([in] BSTR sFilename);
HRESULT NMHigh([out, retval] INMHighEcuExt** ppItem);
HRESULT OsekNM([out, retval] INMEcuExt** ppItem);
HRESULT SetTrsCtrlForMessages([in] BSTR sText);
HRESULT Variables([out, retval] INamespace **pItem);
HRESULT Stacks([out, retval] IStackCol* *pVal);
HRESULT TransmissionEvent([out, retval] ITransmissionEvent** pItem);
HRESULT FilterPreTransmit([in] BSTR sFilter, [in] BSTR sId, [in] enum CallbackPosition enPosition);
HRESULT FilterPreCopy([in] BSTR sFilter, [in] BSTR sId, [in] enum CallbackPosition enPosition);
HRESULT FilterTxConfirm([in] BSTR sFilter, [in] BSTR sId, [in] enum CallbackPosition enPosition, VARIANT_BOOL boAsynch);
HRESULT FilterRxConfirm([in] BSTR sFilter, [in] BSTR sId, [in] enum CallbackPosition enPosition, VARIANT_BOOL boAsynch);
HRESULT PreTransmitEvents([out, retval] VARIANT_BOOL* pVal);
HRESULT PreTransmitEvents([in] VARIANT_BOOL boVal);
HRESULT PreCopyEvents([out, retval] VARIANT_BOOL* pVal);
HRESULT PreCopyEvents([in] VARIANT_BOOL boVal);
HRESULT TxConfirmEvents([out, retval] VARIANT_BOOL* pVal);
HRESULT TxConfirmEvents([in] VARIANT_BOOL boVal);
HRESULT RxConfirmEvents([out, retval] VARIANT_BOOL* pVal);
HRESULT RxConfirmEvents([in] VARIANT_BOOL boVal);
};

Definition at line 4361 of file cand_tlb.idl.

Member Function Documentation

◆ Export()

HRESULT CanEasy::IControlUnit::Export ( [in] BSTR  sFilename)

Exports an LIN ecu to NCF file

◆ FilterPreCopy()

HRESULT CanEasy::IControlUnit::FilterPreCopy ( [in] BSTR  sFilter,
[in] BSTR  sId,
[in] enum CallbackPosition  enPosition 
)

Activated PreCopy events for this ECU. See ITransmissionEvent for more help.

Parameters
sFilterString filter to reduce the number of events
sIdUnique identifier name
enPositionDeprecated: Priority when event has to be called

◆ FilterPreTransmit()

HRESULT CanEasy::IControlUnit::FilterPreTransmit ( [in] BSTR  sFilter,
[in] BSTR  sId,
[in] enum CallbackPosition  enPosition 
)

Activated PreTransmit events for this ECU. See ITransmissionEvent for more help.

Parameters
sFilterString filter to reduce the number of events
sIdUnique identifier name
enPositionDeprecated: Priority when event has to be called

◆ FilterRxConfirm()

HRESULT CanEasy::IControlUnit::FilterRxConfirm ( [in] BSTR  sFilter,
[in] BSTR  sId,
[in] enum CallbackPosition  enPosition,
VARIANT_BOOL  boAsynch 
)

Deprecated: Activated RxConfirm events for this ECU. Use TransmissionEvent instead. See ITransmissionEvent for more help.

Parameters
sFilterString filter to reduce the number of events
sIdUnique identifier name
enPositionDeprecated: Priority when event has to be called
boAsynchShould be set to true. If set to false the event is called from high prio transmission thread.

◆ FilterTxConfirm()

HRESULT CanEasy::IControlUnit::FilterTxConfirm ( [in] BSTR  sFilter,
[in] BSTR  sId,
[in] enum CallbackPosition  enPosition,
VARIANT_BOOL  boAsynch 
)

Deprecated: Activated TxConfirm events for this ECU. Use TransmissionEvent instead. See ITransmissionEvent for more help.

Parameters
sFilterString filter to reduce the number of events
sIdUnique identifier name
enPositionDeprecated: Priority when event has to be called
boAsynchShould be set to true. If set to false the event is called from high prio transmission thread.

◆ SetTrsCtrlForMessages()

HRESULT CanEasy::IControlUnit::SetTrsCtrlForMessages ( [in] BSTR  sText)

Set the transmission control name (Executer attribute) for all messages

Property Documentation

◆ Extension

IDispatch CanEasy::IControlUnit::Extension([in] BSTR sID)
get

Returns an generic extension by name

◆ Messages

IMessageCol CanEasy::IControlUnit::Messages
get

Returns a collection which contained messages

◆ MsgMode

GenMsgMode CanEasy::IControlUnit::MsgMode
getset

Message transmission mode

◆ NMHigh

INMHighEcuExt CanEasy::IControlUnit::NMHigh
get

Returns pointer to the AutoSAR network management interface

◆ OsekNM

INMEcuExt CanEasy::IControlUnit::OsekNM
get

Returns pointer to the OSEK network management interface

◆ PreCopyEvents

VARIANT_BOOL CanEasy::IControlUnit::PreCopyEvents
getset

Activates/Deactivates PreCopy events for this ECU

◆ PreTransmitEvents

VARIANT_BOOL CanEasy::IControlUnit::PreTransmitEvents
getset

Activates/Deactivates PreTransmit events for this ECU

◆ RxConfirmEvents

VARIANT_BOOL CanEasy::IControlUnit::RxConfirmEvents
getset

Deprecated: Activates/Deactivates RxConfirm events for this ECU. Use TransmissionEvent instead.

◆ Simulated

VARIANT_BOOL CanEasy::IControlUnit::Simulated
getset

True if the ECU is simulated by CanEasy.

◆ Stacks

IStackCol CanEasy::IControlUnit::Stacks
get

Returns a collection containing all stacks (diag configs)

◆ TransmissionEvent

ITransmissionEvent CanEasy::IControlUnit::TransmissionEvent
get

Returns the class to get transmission events.

Example: Use item.TransmissionEvent.Active = true to activate the events.

◆ TxConfirmEvents

VARIANT_BOOL CanEasy::IControlUnit::TxConfirmEvents
getset

Deprecated: Activates/Deactivates TxConfirm events for this ECU. Use TransmissionEvent instead.

◆ TxEnabled

VARIANT_BOOL CanEasy::IControlUnit::TxEnabled
set

Activates/Deactivates the transmission of all messages

◆ Variables

INamespace CanEasy::IControlUnit::Variables
get

Returns namespace containing environment variables

CanEasy::IControlUnit::TxConfirmEvents
VARIANT_BOOL TxConfirmEvents
CanEasy::IControlUnit::Export
HRESULT Export([in] BSTR sFilename)
CanEasy::IControlUnit::Variables
INamespace Variables
CanEasy::IControlUnit::MsgMode
GenMsgMode MsgMode
CanEasy::IControlUnit::RxConfirmEvents
VARIANT_BOOL RxConfirmEvents
CanEasy::IControlUnit::TransmissionEvent
ITransmissionEvent TransmissionEvent
Returns the class to get transmission events.
CanEasy::IControlUnit::NMHigh
INMHighEcuExt NMHigh
CanEasy::IControlUnit::PreTransmitEvents
VARIANT_BOOL PreTransmitEvents
CanEasy::IControlUnit::TxEnabled
VARIANT_BOOL TxEnabled
CanEasy::IControlUnit::SetTrsCtrlForMessages
HRESULT SetTrsCtrlForMessages([in] BSTR sText)
CanEasy::IControlUnit::Stacks
IStackCol Stacks
CanEasy::IControlUnit::FilterPreTransmit
HRESULT FilterPreTransmit([in] BSTR sFilter, [in] BSTR sId, [in] enum CallbackPosition enPosition)
CanEasy::IControlUnit::FilterRxConfirm
HRESULT FilterRxConfirm([in] BSTR sFilter, [in] BSTR sId, [in] enum CallbackPosition enPosition, VARIANT_BOOL boAsynch)
CanEasy::IControlUnit::FilterPreCopy
HRESULT FilterPreCopy([in] BSTR sFilter, [in] BSTR sId, [in] enum CallbackPosition enPosition)
CanEasy::IControlUnit::Messages
IMessageCol Messages
CanEasy::GenMsgMode
GenMsgMode
The GenMsgMode enumeration defines the transmission mode for messages.
Definition: cand_tlb.idl:209
CanEasy::IControlUnit::Simulated
VARIANT_BOOL Simulated
CanEasy::IControlUnit::PreCopyEvents
VARIANT_BOOL PreCopyEvents
CanEasy::IControlUnit::OsekNM
INMEcuExt OsekNM
CanEasy::CallbackPosition
CallbackPosition
Deprecated: The CallbackPosition enumeration defines the position when a transmission callback has to...
Definition: cand_tlb.idl:289
CanEasy::IControlUnit::FilterTxConfirm
HRESULT FilterTxConfirm([in] BSTR sFilter, [in] BSTR sId, [in] enum CallbackPosition enPosition, VARIANT_BOOL boAsynch)
CanEasy::IControlUnit::Extension
IDispatch Extension([in] BSTR sID)