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

Detailed Description

Interface for generic database item that can be attached to every entry of the database.

interface IDatabaseItemBase : IDatabaseItem
{
HRESULT ActivateChangeEvents([in] VARIANT_BOOL recursive, [in] VARIANT_BOOL multithread);
HRESULT DBItem([out, retval] IDatabaseItem**);
HRESULT DBItem([in] IDatabaseItem* pItem);
HRESULT TransmissionEvent([out, retval] ITransmissionEvent**);
};

Definition at line 1489 of file cand_tlb.idl.

Member Function Documentation

◆ ActivateChangeEvents()

HRESULT CanEasy::IDatabaseItemBase::ActivateChangeEvents ( [in] VARIANT_BOOL  recursive,
[in] VARIANT_BOOL  multithread 
)

Actives change events.

See _IDatabaseItemEvents

Parameters
recursiveIf true change events are notified also for children
multithreadIf true events are called from the thread who made the modification

◆ DeactivateChangeEvents()

HRESULT CanEasy::IDatabaseItemBase::DeactivateChangeEvents ( )

Deactivates the change events

Property Documentation

◆ DBItem

IDatabaseItem CanEasy::IDatabaseItemBase::DBItem
getset

Pointer to database item where we are connected to

◆ TransmissionEvent

ITransmissionEvent CanEasy::IDatabaseItemBase::TransmissionEvent
get

Returns pointer to ITransmissionEvent.

Can be used to activate transmission events

CanEasy::IDatabaseItemBase::DBItem
IDatabaseItem DBItem
CanEasy::IDatabaseItemBase::DeactivateChangeEvents
HRESULT DeactivateChangeEvents()
CanEasy::IDatabaseItemBase::ActivateChangeEvents
HRESULT ActivateChangeEvents([in] VARIANT_BOOL recursive, [in] VARIANT_BOOL multithread)
Actives change events.
CanEasy::IDatabaseItemBase::TransmissionEvent
ITransmissionEvent TransmissionEvent
Returns pointer to ITransmissionEvent.