MAK RTIspy API Documentation for HLA Evolved
textData.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2012 MaK Technologies, Inc.
00003 ** All rights reserved.
00004 ********************************************************************************/
00005 
00006 
00007 #ifndef TextData_H_
00008 #define TextData_H_
00009 
00010 #include <string>
00011 
00012 // Class with all information on a single text display event
00013 class TextEvent
00014 {
00015 public:
00016 
00017    TextEvent();
00018    virtual ~TextEvent();
00019 
00020    // Accessors and mutators for text parameters and information
00021    std::string text() const;
00022    void setText(const std::string& newText);
00023 
00024    short x() const;
00025    void setX(short newXCoord);
00026    short y() const;
00027    void setY(short newYCoord);
00028    void setLocation(short newXCoord, short newYCoord);
00029 
00030    unsigned short size() const;
00031    void setSize(unsigned short newSize);
00032 
00033    unsigned short interval() const;
00034    void setInterval(unsigned short newInterval);
00035 
00036 
00037 protected:
00038 
00039    std::string myText;
00040    short myX;
00041    short myY;
00042    unsigned short mySize;
00043    unsigned short myInterval;
00044 };
00045 
00046 #endif

Document ID: Generated on Thu Jun 14 14:15:04 EDT 2012 from SVN revision 116116
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)