Changeset 67 in pacpusframework for trunk/include/Pacpus/PacpusTools
- Timestamp:
- Jan 9, 2013, 7:17:44 PM (12 years ago)
- Location:
- trunk/include/Pacpus/PacpusTools
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/Pacpus/PacpusTools/AsyncWorkerBase.h
r66 r67 57 57 bool isActive() const { return active_; } 58 58 59 signals: 60 void finished(); 61 void stopped(); 59 Q_SIGNALS: 60 /// @todo Documentation 61 void finished(); 62 /// @todo Documentation 63 void stopped(); 62 64 63 65 protected: 66 /// @todo Documentation 64 67 virtual void setup(); 68 /// @todo Documentation 65 69 virtual void process(); 70 /// @todo Documentation 66 71 virtual void cleanup(); 67 72 … … 69 74 bool isStopping() const { return stopping_; } 70 75 71 private slots: 76 private Q_SLOTS: 77 /// @todo Documentation 72 78 void doSetup(); 79 /// @todo Documentation 73 80 void doFinish(); 74 81 -
trunk/include/Pacpus/PacpusTools/PosixShMem.h
r66 r67 19 19 #include <Pacpus/PacpusTools/ShMemBase.h> 20 20 21 /// @todo Documentation 21 22 class PosixShMem 22 23 : public ShMemBase 23 24 { 24 25 public: 26 /// @todo Documentation 25 27 PosixShMem(const char * name, int size); 28 /// @todo Documentation 26 29 virtual ~PosixShMem(); 27 30 31 /// @todo Documentation 28 32 virtual void *read(); 33 /// @todo Documentation 29 34 virtual void write(void *data, int size, unsigned long offset = 0); 35 /// @todo Documentation 30 36 virtual bool wait(unsigned long timeout = 0); 37 /// @todo Documentation 31 38 virtual void lockMemory(); 39 /// @todo Documentation 32 40 virtual void unlockMemory(); 33 41 -
trunk/include/Pacpus/PacpusTools/ShMem.h
r66 r67 28 28 { 29 29 public: 30 /// @brief Ctor of shared memory class. 31 /// 32 /// Creates a shared memory of size @b size and named @b name. 33 /// If a shared memory with the name @b name already exists, than 34 /// it will return object pointing to the same memory. 35 /// If this existing memory space has a size smaller than @b size, 36 /// a warning will be issued. 37 /// 38 /// @param name Name of the created shared memory space. 39 /// @param size Size of the created shared memory space in [bytes]. 30 40 ShMem(const char * name, int size) 31 41 : ShMemType(name, size) … … 33 43 } 34 44 45 /// @brief Dtor of shared memory class. 46 /// 47 /// Does nothing. 35 48 ~ShMem() 36 49 { -
trunk/include/Pacpus/PacpusTools/Win32ShMem.h
r66 r67 10 10 /// 11 11 /// Shared memory implementation for Windows. 12 /// @todo Derive from a common base class. Same for @link PosixShMem .12 /// @todo Derive from a common base class. Same for @link PosixShMem @endlink. 13 13 14 14 #ifndef DEF_PACPUS_WIN32SHMEM_H -
trunk/include/Pacpus/PacpusTools/geodesie.h
r66 r67 31 31 32 32 //////////////////////////////////////////////////////////////////////// 33 struct Matrice { 33 /// @todo Documentation 34 /// @todo Rewrite! 35 struct Matrice 36 { 34 37 Matrice(const Matrice & A); 35 38 Matrice(); 36 39 void Apply(double v0, double v1, double v2, double & Mv0, double & Mv1, double & Mv2); 40 37 41 double c0_l0;double c1_l0;double c2_l0; 38 42 double c0_l1;double c1_l1;double c2_l1; 39 43 double c0_l2;double c1_l2;double c2_l2; 40 }; // class44 }; 41 45 42 46 Matrice TransMat(const Matrice A); … … 46 50 47 51 //////////////////////////////////////////////////////////////////////// 48 class Raf98 { 49 private : 52 /// @todo Documentation 53 class Raf98 54 { 55 public: 56 /// Ctor of Raf98 class. 57 Raf98() {} 58 /// Dtor of Raf98 class. 59 ~Raf98(); 60 /// @todo Documentation 61 /// @param s filepath 62 bool Load(const std::string & s); 63 /// @todo Documentation 64 /// @param longitude [degrees] 65 /// @param latitude [degrees] 66 bool Interpol(double longitude/*deg*/, double latitude/*deg*/, double* Hwgs84) const; 67 68 private: 50 69 std::vector<double> m_dvalues; 51 70 double LitGrille(unsigned int c,unsigned int l) const; 52 public : 53 ~Raf98(); 54 Raf98() {} 55 bool Load(const std::string & s); 56 bool Interpol(double longitude/*deg*/, double latitude/*deg*/, double* Hwgs84) const; 57 }; // class 71 }; 72 58 73 //////////////////////////////////////////////////////////////////////// 59 74 … … 101 116 //////////////////////////////////////////////////////////////////////// 102 117 103 //ALGO0001 118 ///ALGO0001 119 /// @todo Rename 104 120 double LatitueIsometrique(double latitude,double e); 105 //ALGO0002 121 ///ALGO0002 122 /// @todo Rename 106 123 double LatitueIsometrique2Lat(double latitude_iso,double e,double epsilon); 107 124 108 // ALGO0003125 ///ALGO0003 109 126 void Geo2ProjLambert( 110 127 double lambda,double phi, … … 112 129 double lambdac,double xs,double ys, 113 130 double& X,double& Y); 114 // ALGO0004131 ///ALGO0004 115 132 void Proj2GeoLambert( 116 133 double X,double Y,
Note:
See TracChangeset
for help on using the changeset viewer.