"Fossies" - the Fresh Open Source Software Archive

Member "muscle/sdlsupport/SDLMessageTransceiverThread.cpp" (8 Jun 2019, 579 Bytes) of package /linux/privat/muscle7.30.zip:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "SDLMessageTransceiverThread.cpp" see the Fossies "Dox" file reference documentation.

    1 /* This file is Copyright 2000-2013 Meyer Sound Laboratories Inc.  See the included LICENSE.txt file for details. */
    2 
    3 #include "sdlsupport/SDLMessageTransceiverThread.h"
    4 
    5 namespace muscle {
    6 
    7 SDLMessageTransceiverThread :: SDLMessageTransceiverThread()
    8    : MessageTransceiverThread()
    9 {
   10    // empty
   11 }
   12 
   13 void SDLMessageTransceiverThread :: SignalOwner()
   14 {
   15    SDL_Event event;
   16    event.type       = SDL_MTT_EVENT;
   17    event.user.code  = SDL_MTT_EVENT;
   18    event.user.data1 = NULL;
   19    event.user.data2 = NULL;
   20    SDL_PeepEvents(&event, 1, SDL_ADDEVENT, 0);
   21 }
   22 
   23 } // end namespace muscle