00001 /*********************************************************************************************************** 00002 signal.hpp 00003 Copyright Saeed Alaei 2009. 00004 Version : 0.001 00005 Generated on: Fri Nov 06 01:53:36 2009 00006 00007 Warning: This file is generated. If you need to make a change, modify the template. 00008 To generate the documentation, run Doxygen on this file. 00009 00010 Permission is hereby granted, free of charge, to any person or organization 00011 obtaining a copy of the software and accompanying documentation covered by 00012 this license (the "Software") to use, reproduce, display, distribute, 00013 execute, and transmit the Software, and to prepare derivative works of the 00014 Software, and to permit third-parties to whom the Software is furnished to 00015 do so, all subject to the following: 00016 00017 The copyright notices in the Software and this entire statement, including 00018 the above license grant, this restriction and the following disclaimer, 00019 must be included in all copies of the Software, in whole or in part, and 00020 all derivative works of the Software, unless such copies or derivative 00021 works are solely in the form of machine-executable object code generated by 00022 a source language processor. 00023 00024 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 00025 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 00026 FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT 00027 SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE 00028 FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, 00029 ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 00030 DEALINGS IN THE SOFTWARE. 00031 00032 ***********************************************************************************************************/ 00033 00034 00035 #ifndef LITE_SIGNAL_HPP 00036 #define LITE_SIGNAL_HPP 00037 00038 #include <exception> 00039 #include <stdexcept> 00040 #include <iterator> 00041 #include <algorithm> 00042 #include <iostream> 00043 #include <iomanip> 00044 #include <limits> 00045 #include <cmath> 00046 #include <cstdlib> 00047 00048 /***********************************************************************************************************/ 00049 /* common configuration ************************************************************************************/ 00050 /***********************************************************************************************************/ 00051 00052 #define LITE_SIGNAL_VERSION 0001 00053 00054 #define LITE_SIGNAL_VERSION_STR "0.001" 00055 00056 #define LITE_SIGNAL_USE(x) ((void)(x)) 00057 00058 #ifndef __LINE__ // true when Doxygen is processing the file 00059 #define DOCUMENTATION_ONLY 00060 #endif 00061 00062 /***********************************************************************************************************/ 00063 /* namespace lite ******************************************************************************************/ 00064 /***********************************************************************************************************/ 00065 00067 namespace lite 00068 { 00069 00070 00071 template<class 00072 class connection 00073 { 00074 public: 00075 00076 00077 private: 00078 connection *mp_sig_next, *mp_sig_prev; 00079 connection *mp_slot_next, *mp_slot_prev; 00080 }; 00081 00082 } 00083 00084 #endif // LITE_SIGNAL_HPP