CanEasy COM-Help
CanEasy::ISimulation Interface Reference

Inherits IDispatch.

Detailed Description

Allows starting and stopping of the simulation.

Provides events for simulation state changes. And access to the internal simulation timestamp.

interface ISimulation : IDispatch
{
HRESULT Start();
HRESULT Stop();
HRESULT SimulationIsRunning([out, retval] VARIANT_BOOL*);
HRESULT TimestampAsDouble([out, retval] double*);
HRESULT TimestampAsUint64([out, retval] VARIANT*);
};

Definition at line 1090 of file cand_tlb.idl.

Member Function Documentation

◆ Start()

HRESULT CanEasy::ISimulation::Start ( )

Starts the simulation

◆ Stop()

HRESULT CanEasy::ISimulation::Stop ( )

Stops the simulation

Property Documentation

◆ SimulationIsRunning

VARIANT_BOOL CanEasy::ISimulation::SimulationIsRunning
get

Returns True if simulation is running

◆ TimestampAsDouble

double CanEasy::ISimulation::TimestampAsDouble
get

Returns simulation timestamp as double

◆ TimestampAsUint64

VARIANT CanEasy::ISimulation::TimestampAsUint64
get

Returns simulation timestamp as uint64

CanEasy::ISimulation::TimestampAsUint64
VARIANT TimestampAsUint64
CanEasy::ISimulation::Start
HRESULT Start()
CanEasy::ISimulation::TimestampAsDouble
double TimestampAsDouble
CanEasy::ISimulation::SimulationIsRunning
VARIANT_BOOL SimulationIsRunning
CanEasy::ISimulation::Stop
HRESULT Stop()