Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages | Examples

WheelHistory Class Reference

#include <WheelHistory.h>

List of all members.


Detailed Description

Class for storing a time history of wheel states.

Definition at line 32 of file WheelHistory.h.

Public Member Functions

 WheelHistory (TiXmlHandle _handle, string _wheelName)
 Constructs an empty attitude history.
virtual ~WheelHistory ()
 Default Deconstructor.
int Initialize ()
 Initialze function.
int Deinitialize ()
 Deinitialze function.
int Parse (TiXmlHandle _handle, string _wheelName)
 Parse Config file for logging parameters.
void AppendHistory (ssfTime _Time, double _WheelSpeed)
 Append the time and wheel speed history of a single momentum wheel to a file.

Private Attributes

ofstream * m_File
 Member ofstream in WheelHistory.h of data file to be saved.
string m_FilePath
 Member string in WheelHistory.h, path of file.
string m_TestID
 Member string in WheelHistory.h, identify specific test which is in file name.
string m_FileExtension
 Member string in WheelHistory.h, identify file extension for data to be saved as.
string m_ObjectName
 Member string in WheelHistory.h, the name of the object having data saved.
string m_FileName
 Member string in WheelHistory.h, Name of file.


Constructor & Destructor Documentation

WheelHistory::WheelHistory TiXmlHandle  _handle,
string  _wheelName
 

Constructs an empty attitude history.

Parameters:
_handle is a TiXmlHanlde with the configuration parameters.
_wheelName is a string with the name of the momentum wheel.

Definition at line 18 of file WheelHistory.cpp.

References Initialize(), m_File, and Parse().

WheelHistory::~WheelHistory  )  [virtual]
 

Default Deconstructor.

Definition at line 26 of file WheelHistory.cpp.

References Deinitialize().


Member Function Documentation

void WheelHistory::AppendHistory ssfTime  _Time,
double  _WheelSpeed
 

Append the time and wheel speed history of a single momentum wheel to a file.

Parameters:
_Time is an ssfTime object that holds the time of wheel speed measurement.
_WheelSpeed is a double for the wheel speed [rad/s]

Definition at line 70 of file WheelHistory.cpp.

References m_File.

int WheelHistory::Deinitialize  ) 
 

Deinitialze function.

Definition at line 39 of file WheelHistory.cpp.

References m_File.

Referenced by ~WheelHistory().

int WheelHistory::Initialize  ) 
 

Initialze function.

Definition at line 32 of file WheelHistory.cpp.

References m_File, and m_FileName.

Referenced by WheelHistory().

int WheelHistory::Parse TiXmlHandle  _handle,
string  _wheelName
 

Parse Config file for logging parameters.

Parameters:
_handle is a TiXmlHanlde with the configuration parameters.
_wheelName is a string with the name of the momentum wheel.

Definition at line 50 of file WheelHistory.cpp.

References TiXmlHandle::Child(), TiXmlHandle::Element(), TiXmlHandle::FirstChild(), m_FileExtension, m_FileName, m_FilePath, m_ObjectName, and m_TestID.

Referenced by WheelHistory().


Member Data Documentation

ofstream* WheelHistory::m_File [private]
 

Member ofstream in WheelHistory.h of data file to be saved.

Definition at line 50 of file WheelHistory.h.

Referenced by AppendHistory(), Deinitialize(), Initialize(), and WheelHistory().

string WheelHistory::m_FileExtension [private]
 

Member string in WheelHistory.h, identify file extension for data to be saved as.

Definition at line 59 of file WheelHistory.h.

Referenced by Parse().

string WheelHistory::m_FileName [private]
 

Member string in WheelHistory.h, Name of file.

Definition at line 65 of file WheelHistory.h.

Referenced by Initialize(), and Parse().

string WheelHistory::m_FilePath [private]
 

Member string in WheelHistory.h, path of file.

Definition at line 53 of file WheelHistory.h.

Referenced by Parse().

string WheelHistory::m_ObjectName [private]
 

Member string in WheelHistory.h, the name of the object having data saved.

Definition at line 62 of file WheelHistory.h.

Referenced by Parse().

string WheelHistory::m_TestID [private]
 

Member string in WheelHistory.h, identify specific test which is in file name.

Definition at line 56 of file WheelHistory.h.

Referenced by Parse().


The documentation for this class was generated from the following files:
Generated on Wed Sep 5 12:54:45 2007 for DSACSS Operational Code by  doxygen 1.3.9.1