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::EventJob Class Reference

#include <eventjob.h>

Inherits hydroiceutil::Job.

Inheritance diagram for hydroiceutil::EventJob:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 EventJob (EventReceiver &receiver, const EventPtr &event, const std::string &signature="")
 EventJob (EventReceiver &receiver, int type)
 Constructor with an event type.
void execute ()
virtual std::string toString () const
 Returns the name of the job with the event type.

Static Public Attributes

static int _warnDurationUs = -1

Detailed Description

A special job which simply sends an event to the specified event receiver. By convention, the event receiver does not take much time processing the event.


Constructor & Destructor Documentation

EventJob::EventJob EventReceiver receiver,
const EventPtr event,
const std::string &  signature = ""
 

Constructor with an event. Optional signature may contain the sender and receiver of the event. If supplied, this information will be displayed when toString() is called. This is very useful for debuging, e.g. when the event is not excepted.


Member Function Documentation

void EventJob::execute  )  [virtual]
 

Sends event of specified type to the receiver. Throws gbxsickacfr::gbxutilacfr::Exception if the receiver does not accept the event.

Implements hydroiceutil::Job.


Member Data Documentation

int EventJob::_warnDurationUs = -1 [static]
 

EXPERIMENTAL! Note that access to this variable is not thread-safe. Issue warning if event processing takes longer than this many microseconds. Duration is not measured and no warnings are issued if this value is negative (default).


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