Public Member Functions | Public Attributes | List of all members
bota_worker::WorkerEvent Struct Reference

#include <WorkerEvent.hpp>

Public Member Functions

 WorkerEvent ()
 
 WorkerEvent (const double dt, const timespec &time)
 
virtual ~WorkerEvent ()=default
 

Public Attributes

timespec timeStamp
 
double timeStep
 

Detailed Description

Todo: not every member of this struct is guaranteed to hold an appropriate value. Check the values for your use case!

Definition at line 51 of file WorkerEvent.hpp.

Constructor & Destructor Documentation

bota_worker::WorkerEvent::WorkerEvent ( )
inline

Definition at line 53 of file WorkerEvent.hpp.

bota_worker::WorkerEvent::WorkerEvent ( const double  dt,
const timespec &  time 
)
inline

Definition at line 56 of file WorkerEvent.hpp.

virtual bota_worker::WorkerEvent::~WorkerEvent ( )
virtualdefault

Member Data Documentation

timespec bota_worker::WorkerEvent::timeStamp

Definition at line 66 of file WorkerEvent.hpp.

double bota_worker::WorkerEvent::timeStep

The timestep between consecutive calls of the callback function. 0 if run only once.

Definition at line 64 of file WorkerEvent.hpp.


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


bota_worker
Author(s):
autogenerated on Wed Mar 3 2021 03:09:10