INTRODUCTION Overview Download and Install Quick Start Documentation Publications NONFRAMEWORK CODE Driver Interfaces Drivers Libraries Utilities FRAMEWORK CODE Interfaces Components Libraries Utilities Full Software Listings DEVELOPER Tutorials Examples Dev Guide Dashboard 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-2009 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 <orcaifaceimpl/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, 00026 const Ice::ObjectPrx& adminPrx, 00027 orcaprobe::AbstractDisplay& display, 00028 const orcaice::Context& context ); 00029 00030 virtual int loadOperationEvent( const int index, orcacm::OperationData & data ); 00031 00032 private: 00033 00034 int loadGetData( orcacm::OperationData & data ); 00035 int loadSwitchOn( orcacm::OperationData & data ); 00036 int loadSwitchOff( orcacm::OperationData & data ); 00037 int loadSubscribe( orcacm::OperationData & data ); 00038 int loadUnsubscribe( orcacm::OperationData & data ); 00039 00040 orcaifaceimpl::PrintingBinarySwitchConsumerImplPtr consumer_; 00041 }; 00042 00043 } // namespace 00044 00045 #endif |
Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)