RobWorkProject  23.9.11-
Public Member Functions | Public Attributes | List of all members
EngineTest::EngineLoopInfo Struct Reference

The info passed in a callback function. More...

#include <EngineTest.hpp>

Public Member Functions

 EngineLoopInfo (TestHandle::Ptr handle, const std::string &engineID, rw::core::Ptr< const rwsim::dynamics::DynamicWorkCell > dwc, const rw::kinematics::State *state, double dt)
 Construct callback info. More...
 

Public Attributes

const TestHandle::Ptr handle
 The test handle.
 
const std::string engineID
 The current engine being tested.
 
const rw::core::Ptr< const rwsim::dynamics::DynamicWorkCelldwc
 The dynamic workcell.
 
const rw::kinematics::Statestate
 The current state (can not be changed).
 
const double dt
 The time-step used.
 
double time
 The current simulation time.
 

Detailed Description

The info passed in a callback function.

Constructor & Destructor Documentation

◆ EngineLoopInfo()

EngineLoopInfo ( TestHandle::Ptr  handle,
const std::string &  engineID,
rw::core::Ptr< const rwsim::dynamics::DynamicWorkCell dwc,
const rw::kinematics::State state,
double  dt 
)
inline

Construct callback info.

Parameters
handle[in] the test handle.
engineID[in] the id for the engine being tested.
dwc[in] the dynamic workcell.
state[in] the current state of the simulation.
dt[in] the time-step used.

The documentation for this struct was generated from the following file: