ProcessingList Class Reference
[GPS solution algorithms and Tropospheric]

#include <ProcessingList.hpp>

Inheritance diagram for ProcessingList:

Inheritance graph
[legend]
Collaboration diagram for ProcessingList:

Collaboration graph
[legend]
List of all members.

Detailed Description

This is a class to store ProcessingClass objects in a list.

This class allows to create run-time lists of processing actions to be applied to GNSS data structures (GDS).

A typical way to use this class follows:

      // Rinex data stream
   RinexObsStream rin("ebre0300.02o");

      // This is a GDS object
   gnssRinex gRin;

      // 'SimpleFilter' is a child from 'ProcessingClass'
   SimpleFilter myFilter;

      // 'ComputePC' is a child from 'ProcessingClass'
   ComputePC getPC;

      // Declare a 'ProcessingList' object
   ProcessingList pList;

      // Add GDS processing objects to this vector
   pList.push_back(myFilter);
   pList.push_back(getPC);


   while(rin >> gRin)
   {
         // gRin is processed according to the list
      gRin >> pList;
   }

Definition at line 81 of file ProcessingList.hpp.

Public Member Functions

 ProcessingList ()
 Default constructor.
virtual gnssSatTypeValueProcess (gnssSatTypeValue &gData)
 Processing method.
virtual gnssRinexProcess (gnssRinex &gData)
 Processing method.
virtual ProcessingClassfront (void)
 Returns a pointer to the first element.
virtual ProcessingClassback (void)
 Returns a pointer to the last element.
virtual void push_front (ProcessingClass &pClass)
 Inserts a new element at the beginning.
virtual void push_back (ProcessingClass &pClass)
 Inserts a new element at the end.
virtual void pop_front (void)
 Removes the first element. It does NOT return it.
virtual void pop_back (void)
 Removes the last element. It does NOT return it.
virtual bool empty (void) const
 Returns TRUE if the ProcessingList size is zero (0).
virtual int size (void) const
 Returns the size of the ProcessingList.
virtual void clear (void)
 Removes all the elements from the ProcessingList.
virtual int getIndex (void) const
 Returns an index identifying this object.
virtual std::string getClassName (void) const
 Returns a string identifying this object.
virtual ~ProcessingList ()
 Destructor.


Constructor & Destructor Documentation

ProcessingList  )  [inline]
 

Default constructor.

Definition at line 87 of file ProcessingList.hpp.

virtual ~ProcessingList  )  [inline, virtual]
 

Destructor.

Definition at line 165 of file ProcessingList.hpp.


Member Function Documentation

virtual ProcessingClass* back void   )  [inline, virtual]
 

Returns a pointer to the last element.

Definition at line 111 of file ProcessingList.hpp.

virtual void clear void   )  [inline, virtual]
 

Removes all the elements from the ProcessingList.

Definition at line 152 of file ProcessingList.hpp.

virtual bool empty void   )  const [inline, virtual]
 

Returns TRUE if the ProcessingList size is zero (0).

Definition at line 142 of file ProcessingList.hpp.

virtual ProcessingClass* front void   )  [inline, virtual]
 

Returns a pointer to the first element.

Definition at line 106 of file ProcessingList.hpp.

std::string getClassName void   )  const [virtual]
 

Returns a string identifying this object.

Implements ProcessingClass.

Definition at line 47 of file ProcessingList.cpp.

int getIndex void   )  const [virtual]
 

Returns an index identifying this object.

Implements ProcessingClass.

Definition at line 42 of file ProcessingList.cpp.

virtual void pop_back void   )  [inline, virtual]
 

Removes the last element. It does NOT return it.

Definition at line 137 of file ProcessingList.hpp.

virtual void pop_front void   )  [inline, virtual]
 

Removes the first element. It does NOT return it.

Definition at line 132 of file ProcessingList.hpp.

gnssRinex & Process gnssRinex gData  )  [virtual]
 

Processing method.

It returns a gnnsRinex object.

Parameters:
gData Data object holding the data.

Implements ProcessingClass.

Definition at line 88 of file ProcessingList.cpp.

gnssSatTypeValue & Process gnssSatTypeValue gData  )  [virtual]
 

Processing method.

It returns a gnnsSatTypeValue object.

Parameters:
gData Data object holding the data.

Implements ProcessingClass.

Definition at line 56 of file ProcessingList.cpp.

virtual void push_back ProcessingClass pClass  )  [inline, virtual]
 

Inserts a new element at the end.

Parameters:
pClass Processing object to be added.

Definition at line 127 of file ProcessingList.hpp.

virtual void push_front ProcessingClass pClass  )  [inline, virtual]
 

Inserts a new element at the beginning.

Parameters:
pClass Processing object to be added.

Definition at line 119 of file ProcessingList.hpp.

virtual int size void   )  const [inline, virtual]
 

Returns the size of the ProcessingList.

Definition at line 147 of file ProcessingList.hpp.


The documentation for this class was generated from the following files:
Generated on Wed Feb 8 03:31:32 2012 for GPS ToolKit Software Library by  doxygen 1.3.9.1