MAK RTIspy API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
unsigned short size() const
short myY
Definition: textData.h:41
unsigned short myInterval
Definition: textData.h:43
std::string text() const
unsigned short mySize
Definition: textData.h:42
short y() const
void setX(short newXCoord)
Definition: textData.h:13
void setLocation(short newXCoord, short newYCoord)
short x() const
virtual ~TextEvent()
void setText(const std::string &newText)
void setSize(unsigned short newSize)
void setY(short newYCoord)
void setInterval(unsigned short newInterval)
std::string myText
Definition: textData.h:39
short myX
Definition: textData.h:40
unsigned short interval() const

Document ID: Generated on Wed Jul 8 16:20:32 EDT 2026 from SVN revision 291616
Copyright © 2005-2025 MAK Technologies Inc. All Rights Reserved (www.mak.com)