StartingPosition.h

Go to the documentation of this file.
00001 
00005 /* Copyright © 2010 James Legg.
00006     This program is free software: you can redistribute it and/or modify
00007     it under the terms of the GNU General Public License as published by
00008     the Free Software Foundation, either version 3 of the License, or
00009     (at your option) any later version.
00010 */
00011 #ifndef LIBTRACK_STARTING_POSITION_H_
00012 #define LIBTRACK_STARTING_POSITION_H_
00013 
00014 #include "TrackAttachment.h"
00015 
00016 #include <LinearMath/btVector3.h>
00017 
00018 namespace Track
00019 {
00020 
00023 class StartingPosition
00024     :   public TrackAttachment
00025 {
00026 public:
00027     StartingPosition(std::istream & source);
00028     
00031     StartingPosition();
00032     
00036     StartingPosition(unsigned int rank);
00037     
00038     virtual ~StartingPosition();
00039     
00040     virtual std::string get_class_identifier() const;
00041     virtual void draw() const;
00042     virtual void add_data(std::ostream & stream) const;
00043     
00045     unsigned int get_rank() const;
00046 protected:
00050     unsigned int m_rank;
00051 };
00052 
00053 std::ostream & operator<<(std::ostream & destination, StartingPosition starting_position);
00054 
00055 } // namespace Track
00056 
00057 
00058 #endif // LIBTRACK_STARTING_POSITION_H_

Get Racer at SourceForge.net. Fast, secure and Free Open Source software downloads

Generated at Mon Sep 6 00:41:12 2010 by Doxygen version 1.4.7 for Racer version svn335.