Equalizer  1.4.1
objectOCommand.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_OBJECTOCOMMAND_H
00019 #define CO_OBJECTOCOMMAND_H
00020 
00021 #include <co/oCommand.h>   // base class
00022 
00023 
00024 namespace co
00025 {
00026 
00027 namespace detail { class ObjectOCommand; }
00028 
00034 class ObjectOCommand : public OCommand
00035 {
00036 public:
00046     CO_API ObjectOCommand( const Connections& receivers, const uint32_t cmd,
00047                            const uint32_t type, const UUID& id,
00048                            const uint32_t instanceID );
00049 
00060     CO_API ObjectOCommand( Dispatcher* const dispatcher, LocalNodePtr localNode,
00061                            const uint32_t cmd, const uint32_t type,
00062                            const UUID& id, const uint32_t instanceID );
00063 
00065     CO_API ObjectOCommand( const ObjectOCommand& rhs );
00066 
00068     CO_API virtual ~ObjectOCommand();
00069 
00070 private:
00071     ObjectOCommand();
00072     ObjectOCommand& operator = ( const ObjectOCommand& );
00073     detail::ObjectOCommand* const _impl;
00074 
00075     void _init( const UUID& id, const uint32_t instanceID );
00076 };
00077 }
00078 
00079 #endif //CO_OBJECTOCOMMAND_H
Generated on Mon Nov 26 2012 14:41:49 for Equalizer 1.4.1 by  doxygen 1.7.6.1