Equalizer  1.13.0
Parallel Rendering Framework
eq::EventICommand Class Reference

A command specialization for config events. More...

#include <eventICommand.h>

+ Inheritance diagram for eq::EventICommand:
+ Collaboration diagram for eq::EventICommand:

Public Member Functions

EQ_API EventICommand (const co::ICommand &command)
 
EQ_API EventICommand (const EventICommand &rhs)
 Copy-construct an event command. More...
 
EQ_API ~EventICommand ()
 Destruct an event command. More...
 
EQ_API uint32_t getEventType () const
 Returns the event type. More...
 

Detailed Description

A command specialization for config events.

Event commands are generated by Config::sendEvent and arrive in Config::handleEvent(). User data can be extracted with the API provided by co::DataIStream. The user data sent with this command is added while sending the event.

Definition at line 38 of file eventICommand.h.

Constructor & Destructor Documentation

EQ_API eq::EventICommand::EventICommand ( const EventICommand rhs)

Copy-construct an event command.

Version
1.5.1
EQ_API eq::EventICommand::~EventICommand ( )

Destruct an event command.

Version
1.5.1

Member Function Documentation

EQ_API uint32_t eq::EventICommand::getEventType ( ) const

Returns the event type.

The data extracted from this event has to match the data streamed to the EventOCommand by the event's sender. Equalizer events use an event type less than Event::USER. For those events, the data in this command is the eq::Event struct.

Returns
the event type.
Version
1.5.1

The documentation for this class was generated from the following file: