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
|
binaryswitchprobe.h00001 /* 00002 * Orca-Robotics Project: Components for robotics 00003 * http://orca-robotics.sf.net/ 00004 * Copyright (c) 2004-2008 Alexei Makarenko 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 00011 #ifndef ORCA_ORCAPROBEFACTORY_BINARYSWITCH_INTERFACE_PROBE_H 00012 #define ORCA_ORCAPROBEFACTORY_BINARYSWITCH_INTERFACE_PROBE_H 00013 00014 #include <orcaprobe/interfaceprobe.h> 00015 #include <orca/binaryswitch.h> 00016 00017 namespace orcaprobefactory 00018 { 00019 00020 class BinarySwitchProbe : public orcaprobe::InterfaceProbe 00021 { 00022 00023 public: 00024 00025 BinarySwitchProbe( const orca::FQInterfaceName & name, orcaprobe::IDisplay & display, 00026 const orcaice::Context & context ); 00027 00028 virtual int loadOperationEvent( const int index, orcacm::OperationData & data ); 00029 00030 private: 00031 00032 int loadGetData( orcacm::OperationData & data ); 00033 int loadSetState( orcacm::OperationData & data ); 00034 int loadTimedSetState( orcacm::OperationData & data ); 00035 int loadToggleState( orcacm::OperationData & data ); 00036 int loadTimedToggleState( orcacm::OperationData & data ); 00037 }; 00038 00039 } // namespace 00040 00041 #endif |
Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)