MAK RTIspy API Documentation for HLA 1516
Home
Modules
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
examples
hlaBounce
textData.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2012 MaK Technologies, Inc.
3
** All rights reserved.
4
********************************************************************************/
5
6
7
#ifndef TextData_H_
8
#define TextData_H_
9
10
#include <string>
11
12
// Class with all information on a single text display event
13
class
TextEvent
14
{
15
public
:
16
17
TextEvent
();
18
virtual
~TextEvent
();
19
20
// Accessors and mutators for text parameters and information
21
std::string
text
()
const
;
22
void
setText
(
const
std::string& newText);
23
24
short
x
()
const
;
25
void
setX
(
short
newXCoord);
26
short
y
()
const
;
27
void
setY
(
short
newYCoord);
28
void
setLocation
(
short
newXCoord,
short
newYCoord);
29
30
unsigned
short
size
()
const
;
31
void
setSize
(
unsigned
short
newSize);
32
33
unsigned
short
interval
()
const
;
34
void
setInterval
(
unsigned
short
newInterval);
35
36
37
protected
:
38
39
std::string
myText
;
40
short
myX
;
41
short
myY
;
42
unsigned
short
mySize
;
43
unsigned
short
myInterval
;
44
};
45
46
#endif
Document ID: Generated on Fri Mar 14 19:08:55 EDT 2014 from SVN revision 137085
Copyright © 2005-2014 VT MÄK Inc. All Rights Reserved (
www.mak.com
)