CanEasy COM-Help
CanEasy::ITimer Interface Reference
Inheritance diagram for CanEasy::ITimer:
CanEasy::ICaptureTimer CanEasy::ICompareTimer CanEasy::ITimerControl

Detailed Description

Timer interface used for all timers of CanEasy

interface ITimer : IDispatch
{
HRESULT StartMode([out, retval] enum StartMode* pVal);
HRESULT StartMode([in] enum StartMode enNewVal);
HRESULT TimerMode([out, retval] enum TimerMode* pVal);
HRESULT TimerMode([in] enum TimerMode enNewVal);
HRESULT TimeMode([out, retval] enum TimeMode* pVal);
HRESULT TimeMode([in] enum TimeMode enNewVal);
HRESULT TimerStatus([out, retval] enum TimerStatus* pVal);
HRESULT Now([out, retval] double* pVal);
HRESULT TimerEvents([out, retval] VARIANT_BOOL* pVal);
HRESULT TimerEvents([in] VARIANT_BOOL boNewVal);
HRESULT Start();
HRESULT Stop();
HRESULT Suspend();
HRESULT Counter([out, retval] double* pVal);
};

Definition at line 6949 of file cand_tlb.idl.

Member Function Documentation

◆ Start()

HRESULT CanEasy::ITimer::Start ( )

Starts the timer

◆ Stop()

HRESULT CanEasy::ITimer::Stop ( )

Stops the timer

◆ Suspend()

HRESULT CanEasy::ITimer::Suspend ( )

Suspends the timer

Property Documentation

◆ Counter

double CanEasy::ITimer::Counter
get

Returns the current timer value of the internal counter

◆ Now

double CanEasy::ITimer::Now
get

Returns the current time

◆ StartMode

StartMode CanEasy::ITimer::StartMode
getset

Start mode, defines when to start the timer. By default manually.

◆ TimeMode

TimeMode CanEasy::ITimer::TimeMode
getset

Time mode, defines whether the time is relative or absolute

◆ TimerEvents

VARIANT_BOOL CanEasy::ITimer::TimerEvents
getset

Activates/Deactivates the timer events

◆ TimerMode

TimerMode CanEasy::ITimer::TimerMode
getset

Timer mode, defines whether the timer is called cyclic or just one time (one shot)

◆ TimerStatus

TimerStatus CanEasy::ITimer::TimerStatus
get

Returns the status of the timer (active, suspended, stopped)

CanEasy::ITimer::TimerMode
TimerMode TimerMode
CanEasy::ITimer::TimeMode
TimeMode TimeMode
CanEasy::ITimer::Suspend
HRESULT Suspend()
CanEasy::ITimer::Stop
HRESULT Stop()
CanEasy::ITimer::Now
double Now
CanEasy::ITimer::StartMode
StartMode StartMode
CanEasy::ITimer::TimerEvents
VARIANT_BOOL TimerEvents
CanEasy::ITimer::TimerStatus
TimerStatus TimerStatus
CanEasy::ITimer::Counter
double Counter
CanEasy::ITimer::Start
HRESULT Start()