Collage  0.6.1
customOCommand.h
00001 
00002 /* Copyright (c) 2012, Daniel Nachbaur <danielnachbaur@gmail.com>
00003  *
00004  * This library is free software; you can redistribute it and/or modify it under
00005  * the terms of the GNU Lesser General Public License version 2.1 as published
00006  * by the Free Software Foundation.
00007  *
00008  * This library is distributed in the hope that it will be useful, but WITHOUT
00009  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
00010  * FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more
00011  * details.
00012  *
00013  * You should have received a copy of the GNU Lesser General Public License
00014  * along with this library; if not, write to the Free Software Foundation, Inc.,
00015  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
00016  */
00017 
00018 #ifndef CO_CUSTOMOCOMMAND_H
00019 #define CO_CUSTOMOCOMMAND_H
00020 
00021 #include <co/oCommand.h>    // base class
00022 
00023 
00024 namespace co
00025 {
00026 
00027 namespace detail { class CustomOCommand; }
00028 
00034 class CustomOCommand : public OCommand
00035 {
00036 public:
00044     CO_API CustomOCommand( const Connections& receivers,
00045                            const uint128_t& commandID );
00046 
00053     CO_API CustomOCommand( LocalNodePtr localNode, const uint128_t& commandID );
00054 
00055     CO_API CustomOCommand( const CustomOCommand& rhs ); 
00056 
00058     CO_API virtual ~CustomOCommand();
00059 
00060 private:
00061     CustomOCommand();
00062     CustomOCommand& operator = ( const CustomOCommand& );
00063     detail::CustomOCommand* const _impl;
00064 
00065     void _init();
00066 };
00067 }
00068 
00069 #endif //CO_CUSTOMOCOMMAND_H
Generated on Mon Nov 26 2012 14:41:44 for Collage 0.6.1 by  doxygen 1.7.6.1