VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
vlKeyboard.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 1992-2010 MAK Technologies, Inc
3 ** All rights reserved.
4 ******************************************************************************/
9 #pragma once
10 
11 #include "vlUtil.h"
12 
13 #ifdef DtUSE_UTILITIES_NAMESPACE
14 namespace DtUSE_UTILITIES_NAMESPACE
15 {
16 #endif
17 
24 
33 
39 
40 
50 DT_DLL_VLUTIL void DtPollBlockingInputLine(char* buff, int size);
51 
58 
59 
63 inline char* DtPollInputLine(void)
64 {
65  return DtPollBlockingInputLine();
66 }
67 
71 inline void DtPollInputLine(char* buff, int size)
72 {
73  DtPollBlockingInputLine(buff, size);
74 }
75 
79 inline char DtPollInputChar(void)
80 {
81  return DtPollBlockingInputChar();
82 }
83 #ifdef DtUSE_UTILITIES_NAMESPACE
84 }
85 #endif
86 
87 
88 
char DtPollBlockingInputChar(void)
Polls standard input for a single character.
char * DtPollInputLine(void)
For Backwards compatibility only.
Definition: vlKeyboard.h:63
char DtPollInputChar(void)
For Backwards compatibility only.
Definition: vlKeyboard.h:79
void DtRestoreKbHit()
On some systems KbHit modifies the terminal settings.
provides basic Operating Independent Methods useful to a federate
char * DtPollBlockingInputLine(void)
Polls line-buffered standard input.
int DtGetCh()
Cross-platform version of getCh which returns a single character from input without echoing...
int DtKbHit()
Returns a non-zero is a key was hit.
#define DT_DLL_VLUTIL
Definition: vlMachineTypes.h:109

Document ID: Generated on Wed Mar 27 02:04:30 EDT 2024 from SVN revision 264570
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)