00001 00002 00003 // Copyright (c) James Percent and Unlock contributors. 00004 // All rights reserved. 00005 // Redistribution and use in source and binary forms, with or without modification, 00006 // are permitted provided that the following conditions are met: 00007 // 00008 // 1. Redistributions of source code must retain the above copyright notice, 00009 // this list of conditions and the following disclaimer. 00010 // 00011 // 2. Redistributions in binary form must reproduce the above copyright 00012 // notice, this list of conditions and the following disclaimer in the 00013 // documentation and/or other materials provided with the distribution. 00014 // 00015 // 3. Neither the name of Unlock nor the names of its contributors may be used 00016 // to endorse or promote products derived from this software without 00017 // specific prior written permission. 00018 00019 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 00020 // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 00021 // WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 00022 // DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR 00023 // ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 00024 // (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 00025 // LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON 00026 // ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 00027 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 00028 // SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 00029 00030 #ifndef IENOBIO_SIGNAL_HANDLER_HPP 00031 #define IENOBIO_SIGNAL_HANDLER_HPP 00032 00033 #include "ChannelData.h" 00034 #include "StatusData.h" 00035 00036 class IEnobioSignalHandler 00037 { 00038 public: 00039 virtual ~IEnobioSignalHandler() {} 00040 virtual void handleStatusData(StatusData* pStatusData)=0; 00041 virtual void handleChannelData(ChannelData* pChannelData)=0; 00042 }; 00043 00044 #endif