Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

MousePipe.cpp File Reference

#include "stdafx.h"
#include "MousePipe.h"

Go to the source code of this file.

Defines

#define BUFFER_LIES_INT_FACTOR   7
#define QUEUE_LENGTH   4
#define BUFFER_SIZE   sizeof(mouseMessage) * QUEUE_LENGTH * BUFFER_LIES_INT_FACTOR


Detailed Description

Definition in file MousePipe.cpp.


Define Documentation

#define BUFFER_LIES_INT_FACTOR   7
 

For some reason I couldn't get buffer sizes to play nice (maybe the data written to the pipe consists of more than the actual message).

Definition at line 14 of file MousePipe.cpp.

#define BUFFER_SIZE   sizeof(mouseMessage) * QUEUE_LENGTH * BUFFER_LIES_INT_FACTOR
 

The size of the buffer required to store the queue on the pipe.

Definition at line 24 of file MousePipe.cpp.

Referenced by MousePipe::MousePipe().

#define QUEUE_LENGTH   4
 

The maximum number of messages that can be queued.

Definition at line 19 of file MousePipe.cpp.

Referenced by MousePipe::serve().


Generated on Mon Mar 25 06:29:59 2002 for Window Dressing by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001