Equalizer
1.4.1
|
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 EQ_EVENTICOMMAND_H 00019 #define EQ_EVENTICOMMAND_H 00020 00021 #include <eq/client/api.h> 00022 #include <eq/client/types.h> 00023 #include <co/objectICommand.h> // base class 00024 00025 namespace eq 00026 { 00027 00028 namespace detail { class EventICommand; } 00029 00038 class EventICommand : public co::ObjectICommand 00039 { 00040 public: 00042 EQ_API EventICommand( const co::ICommand& command ); 00043 00045 EQ_API EventICommand( const EventICommand& rhs ); 00046 00048 EQ_API ~EventICommand(); 00049 00061 EQ_API uint32_t getEventType() const; 00062 00063 private: 00064 EventICommand(); 00065 EventICommand& operator = ( const EventICommand& ); 00066 detail::EventICommand* const _impl; 00067 00068 void _init(); 00069 }; 00070 00072 EQ_API std::ostream& operator << ( std::ostream& os, 00073 const EventICommand& command ); 00074 } 00075 00076 #endif // EQ_EVENTICOMMAND_H 00077