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

 

         

eventjob.h

00001 /*
00002  * Orca-Robotics Project: Components for robotics 
00003  *               http://!orca-robotics.sf.net/
00004  * Copyright (c) 2004-2008 Alex Brooks, Alexei Makarenko, Tobias Kaupp
00005  *
00006  * This distribution is licensed to you under the terms described in
00007  * the LICENSE file included in this distribution.
00008  *
00009  */
00010 
00011 #ifndef HYDROICEUTIL_EVENT_JOB_H
00012 #define HYDROICEUTIL_EVENT_JOB_H
00013 
00014 #include <hydroiceutil/event.h>
00015 #include <hydroiceutil/jobqueue.h>
00016 
00017 namespace hydroiceutil {
00018 
00023 class EventJob : public Job
00024 {
00025 public:
00029     EventJob( EventReceiver& receiver, const EventPtr &event, const std::string& signature="" );
00030 
00032     EventJob( EventReceiver& receiver, int type );
00033 
00036     void execute();
00037 
00039     virtual std::string toString() const;
00040 
00044     static int _warnDurationUs;
00045 
00046 private:
00047 
00048     EventReceiver& receiver_;
00049     EventPtr       event_;
00050     std::string signature_;
00051 };
00053 typedef IceUtil::Handle<EventJob> EventJobPtr;
00054 
00055 } // namespace
00056 
00057 #endif
 

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


Generated for Orca Robotics by  doxygen 1.4.5