orca-robotics


INTRODUCTION
Overview
Download and Install
Documentation

REPOSITORY
Interfaces
Drivers
Libraries
Utilities
Software Map

DEVELOPER
Dashboard

PEOPLE
Contributors
Users

SourceForge.net Logo
Project
Download
Mailing lists

 

         

hydroiceutil::EventScheduler Class Reference

#include <eventscheduler.h>

List of all members.

Public Member Functions

 EventScheduler (gbxsickacfr::gbxutilacfr::Tracer &tracer, const EventScheduler::Config &config=EventScheduler::Config())
 Constructor.
void scheduleEvent (EventReceiver &receiver, const EventPtr &event, double delay)
 Will send event event to the event reciever receiver after delay [seconds].
void scheduleEvent (EventReceiver &receiver, int type, double delay)

Classes

struct  Config
 Event schedule configuration structure. More...


Detailed Description

A simple event schedule. Only very inaccurate dispatch can be expected. The scheduler sleeps for a while, wakes up, checks for events which are past-due and dispatcheds all of them in order. The resultion of the scheduler can be controlled somewhat by changing the interval between polls.

Scheduling events from inside the dispatched event is allowed.


Member Function Documentation

void EventScheduler::scheduleEvent EventReceiver receiver,
int  type,
double  delay
 

Will send an hydroiceutil::Event event of type type to the event reciever receiver after delay [seconds].


The documentation for this class was generated from the following files:
 

Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)


Generated for Orca Robotics by  doxygen 1.4.5