orca-robotics INTRODUCTION Overview Download and Install Quick Start Documentation Publications REPOSITORY Interfaces Components Libraries Utilities Software Map DEVELOPER Tutorials Examples Dev Guide Dashboard Wiki login/pass: orca/orca PEOPLE Contributors Users Project Download Mailing lists
|
activator.h00001 /* 00002 * Orca-Robotics Project: Components for robotics 00003 * http://orca-robotics.sf.net/ 00004 * Copyright (c) 2004-2008 Alex Brooks 00005 * 00006 * This copy of Orca is licensed to you under the terms described in 00007 * the LICENSE file included in this distribution. 00008 * 00009 */ 00010 #ifndef ORCAICE_ACTIVATOR_H 00011 #define ORCAICE_ACTIVATOR_H 00012 00013 #include <gbxsickacfr/gbxiceutilacfr/safethread.h> 00014 #include <orcaice/context.h> 00015 00016 namespace orcaice { 00017 00023 class PostActivationCallback { 00024 public: 00025 virtual ~PostActivationCallback() {} 00026 00027 virtual void actionPostActivation()=0; 00028 }; 00029 00050 class Activator : public gbxsickacfr::gbxiceutilacfr::SafeThread 00051 { 00052 00053 public: 00054 00055 Activator( const orcaice::Context &context, 00056 PostActivationCallback *postActivationCallback=NULL ); 00057 ~Activator(); 00058 00059 virtual void walk(); 00060 00061 private: 00062 00063 orcaice::Context context_; 00064 00065 PostActivationCallback *postActivationCallback_; 00066 00067 }; 00068 00069 } 00070 00071 #endif |
Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)