INTRODUCTION
Overview
Download and Install
Documentation
Publications

REPOSITORY
Libraries

DEVELOPER
Dev Guide
Dashboard

PEOPLE
Contributors
Users

SourceForge.net Logo
Project
Download
Mailing lists

 

         
threadutils.h
1/*
2 * GearBox Project: Peer-Reviewed Open-Source Libraries for Robotics
3 * http://gearbox.sf.net/
4 * Copyright (c) 2004-2010 Alex Brooks, Alexei Makarenko, Tobias Kaupp
5 *
6 * This distribution is licensed to you under the terms described in
7 * the LICENSE file included in this distribution.
8 *
9 */
10
11#ifndef GBXICEUTILACFR_THREAD_UTILS_H
12#define GBXICEUTILACFR_THREAD_UTILS_H
13
14#include <IceUtil/Time.h>
15#include <gbxutilacfr/stoppable.h>
16
17namespace gbxiceutilacfr {
18
23void checkedSleep( gbxutilacfr::Stoppable* activity, const IceUtil::Time& duration, int checkIntervalMs=250 );
24
26void checkedSleep( gbxutilacfr::Stoppable* activity, int durationMs, int checkIntervalMs=250 );
27
28} // end namespace
29
30#endif
An abstract interface class representing an stoppable activity.
Definition: stoppable.h:61
Utility namespace (part of SICK-ACFR driver)
Definition: buffer.h:21
void checkedSleep(gbxutilacfr::Stoppable *activity, const IceUtil::Time &duration, int checkIntervalMs)
Definition: threadutils.cpp:17
 

Generated for GearBox by  doxygen 1.4.5