Calculates azimuth and elevation of a satellite dish based on its longitude, latitude and selected satellite.
Dependencies: PinDetect TextLCD mbed MODGPS
SatelliteList.h
00001 #include <fstream> 00002 #include <vector> 00003 #include "Satellite.h" 00004 #include "CircularLinkedList.h" 00005 00006 class SatelliteList 00007 { 00008 public: 00009 SatelliteList(char *f, char delimiter); 00010 void display(); 00011 Satellite * getNext(); 00012 Satellite * getPrev(); 00013 Satellite * getCurrent(); 00014 private: 00015 void split(vector<string> & theStringVector, /* Altered/returned value */ 00016 const string & theString, 00017 const char theDelimiter); 00018 00019 string filename; //name 00020 ifstream sfile; 00021 CircularLinkedList<Satellite> clist; 00022 };
Generated on Tue Jul 12 2022 21:03:40 by 1.7.2