Equalizer  1.6.1
Public Member Functions | List of all members
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

 EventICommand (const co::ICommand &command)
 
 EventICommand (const EventICommand &rhs)
 Copy-construct an event command. More...
 
 ~EventICommand ()
 Destruct an event command. More...
 
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::EventICommand::EventICommand ( const EventICommand rhs)

Copy-construct an event command.

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

Destruct an event command.

Version
1.5.1

Member Function Documentation

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

Referenced by eqPixelBench::Config::handleEvent(), and eqPly::Config::handleEvent().

+ Here is the caller graph for this function:


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