00001
00002
00003
00004
00005
00006
00007
00008 #ifndef __Location_h__
00009 #define __Location_h__
00010
00011 #include "Platform/SystemCall.h"
00012
00013 class Location;
00014
00015
00016
00017
00018 Location& getLocation();
00019
00020
00021
00022
00023 class Location
00024 {
00025 public:
00026
00027 Location();
00028
00029
00030
00031
00032 const char* getFilename(const char *file);
00033
00034
00035
00036
00037 const char* getModelFilename(const char *file);
00038
00039
00040
00041
00042 const char* getModelFilename(const char *file, RobotDesign::Design design);
00043
00044
00045 const char* getName() const
00046 {
00047 return name;
00048 }
00049
00050 private:
00051
00052 char name[100];
00053
00054 char filename[100];
00055 };
00056
00057 #endif // __Location_h_