cisst-saw
Toggle main menu visibility
Loading...
Searching...
No Matches
tmp
cisst-saw
cisst
cisstCommon
cmnGetChar.h
Go to the documentation of this file.
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2
/* ex: set filetype=cpp softtabstop=4 shiftwidth=4 tabstop=4 cindent expandtab: */
3
4
/*
5
Author(s): Anton Deguet, Balazs Vagvolgyi
6
Created on: 2009-03-26
7
8
(C) Copyright 2009-2014 Johns Hopkins University (JHU), All Rights Reserved.
9
10
--- begin cisst license - do not edit ---
11
12
This software is provided "as is" under an open source license, with
13
no warranty. The complete license can be found in license.txt and
14
http://www.cisst.org/cisst/license.txt.
15
16
--- end cisst license ---
17
18
*/
19
20
#pragma once
21
22
#ifndef _cmnGetChar_h
23
#define _cmnGetChar_h
24
25
#include <
cisstCommon/cmnPortability.h
>
26
27
// Always the last cisst include
28
#include <
cisstCommon/cmnExport.h
>
29
30
// forward declaration for internal data
31
#if (CISST_OS != CISST_WINDOWS)
32
struct
cmnGetCharEnvironmentInternals;
33
#endif
34
37
class
CISST_EXPORT
cmnGetCharEnvironment
38
{
40
#if (CISST_OS != CISST_WINDOWS)
41
cmnGetCharEnvironmentInternals * Internals;
42
#endif
43
45
bool
Activated;
46
47
public
:
48
49
cmnGetCharEnvironment
(
void
);
50
~cmnGetCharEnvironment
(
void
);
51
53
bool
Activate
(
void
);
54
56
bool
DeActivate
(
void
);
57
59
int
GetChar
(
void
);
60
};
61
67
int
CISST_EXPORT
cmnGetChar
(
void
);
68
69
70
#endif
// _cmnGetChar_h
71
cmnGetCharEnvironment::DeActivate
bool DeActivate(void)
cmnGetCharEnvironment::~cmnGetCharEnvironment
~cmnGetCharEnvironment(void)
cmnGetCharEnvironment::GetChar
int GetChar(void)
cmnGetCharEnvironment::cmnGetCharEnvironment
cmnGetCharEnvironment(void)
cmnGetCharEnvironment::Activate
bool Activate(void)
cmnExport.h
Macros to export the symbols of cisstCommon (in a Dll).
CISST_EXPORT
#define CISST_EXPORT
Definition
cmnExportMacros.h:50
cmnGetChar
int CISST_EXPORT cmnGetChar(void)
cmnPortability.h
Portability across compilers and operating systems tools.
Generated by
1.18.0