Equalizer  2.1.0
Parallel Rendering Framework
eventICommand.h
1 
2 /* Copyright (c) 2012-2015, Daniel Nachbaur <danielnachbaur@gmail.com>
3  * Stefan.Eilemann@epfl.ch
4  *
5  * This library is free software; you can redistribute it and/or modify it under
6  * the terms of the GNU Lesser General Public License version 2.1 as published
7  * by the Free Software Foundation.
8  *
9  * This library is distributed in the hope that it will be useful, but WITHOUT
10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11  * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12  * details.
13  *
14  * You should have received a copy of the GNU Lesser General Public License
15  * along with this library; if not, write to the Free Software Foundation, Inc.,
16  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17  */
18 
19 #ifndef EQ_EVENTICOMMAND_H
20 #define EQ_EVENTICOMMAND_H
21 
22 #include <co/objectICommand.h> // base class
23 #include <eq/api.h>
24 #include <eq/types.h>
25 
26 namespace eq
27 {
28 namespace detail
29 {
30 class EventICommand;
31 }
32 
41 class EventICommand : public co::ObjectICommand
42 {
43 public:
45  // cppcheck-suppress noExplicitConstructor
46  EQ_API EventICommand(const co::ICommand& command);
47 
49  EQ_API EventICommand(const EventICommand& rhs);
50 
52  EQ_API ~EventICommand();
53 
65  EQ_API uint32_t getEventType() const;
66 
67 private:
68  EventICommand();
69  EventICommand& operator=(const EventICommand&);
70  detail::EventICommand* const _impl;
71 
72  void _init();
73 };
74 
76 EQ_API std::ostream& operator<<(std::ostream& os, const EventICommand& command);
77 }
78 
79 #endif // EQ_EVENTICOMMAND_H
EQ_API std::ostream & operator<<(std::ostream &os, const EventICommand &command)
Print the event command to the given output stream.
A command specialization for config events.
Definition: eventICommand.h:41
The Equalizer client library.
Definition: eq/agl/types.h:23