SwimStepData Class Reference

#include <SwimStepData.h>

List of all members.

Public Member Functions

 SwimStepData ()
 SwimStepData (SwimStepper *stepper, bool isFwd, SwimGeo::SwimMaterial_t mat, double stepSize)
virtual ~SwimStepData ()
SwimStepperGetStepper () const
bool GetIsForward () const
SwimGeo::SwimMaterial_t GetSwimMaterial () const
double GetStepSize () const
int GetSPI () const
void SetStepper (SwimStepper *stepper)
void SetIsForward (bool isForward)
void SetSwimMaterial (SwimGeo::SwimMaterial_t material)
void SetStepSize (double stepSize)
void SetSPI (int n)

Private Attributes

SwimStepperfStepper
bool fIsForward
SwimGeo::SwimMaterial_t fSwimMaterial
double fStepSize
int fSPI

Detailed Description

Definition at line 14 of file SwimStepData.h.


Constructor & Destructor Documentation

SwimStepData::SwimStepData (  ) 

Definition at line 11 of file SwimStepData.cxx.

00011                            : 
00012   fStepper(0), 
00013   fIsForward(true), 
00014   fSwimMaterial(SwimGeo::kAir),
00015   fStepSize(0.01*Munits::m),
00016   fSPI(-1)
00017 { }

SwimStepData::SwimStepData ( SwimStepper stepper,
bool  isFwd,
SwimGeo::SwimMaterial_t  mat,
double  stepSize 
)

Definition at line 21 of file SwimStepData.cxx.

00022                                                                        :
00023   fStepper(stepper), 
00024   fIsForward(isFwd), 
00025   fSwimMaterial(mat), 
00026   fStepSize(stepSize),
00027   fSPI(-1) 
00028 { }

virtual SwimStepData::~SwimStepData (  )  [inline, virtual]

Definition at line 20 of file SwimStepData.h.

00020 {;}


Member Function Documentation

bool SwimStepData::GetIsForward (  )  const [inline]
int SwimStepData::GetSPI (  )  const [inline]

Definition at line 26 of file SwimStepData.h.

References fSPI.

Referenced by SwimGeo::GetSwimMaterial(), and SwimGeo::SetNextPlaneZ().

00026 { return fSPI; }

SwimStepper* SwimStepData::GetStepper (  )  const [inline]

Definition at line 22 of file SwimStepData.h.

References fStepper.

Referenced by SwimStepOnceAction::Perform().

00022 { return fStepper; }

double SwimStepData::GetStepSize (  )  const [inline]
SwimGeo::SwimMaterial_t SwimStepData::GetSwimMaterial (  )  const [inline]
void SwimStepData::SetIsForward ( bool  isForward  )  [inline]

Definition at line 46 of file SwimStepData.h.

References fIsForward.

Referenced by SwimSwimmer::SwimBackward(), and SwimSwimmer::SwimForward().

00047 { fIsForward = isForward; }

void SwimStepData::SetSPI ( int  n  )  [inline]

Definition at line 55 of file SwimStepData.h.

References fSPI.

Referenced by SwimGeo::SetNextPlaneZ(), and SwimSwimmer::Swim().

00056 { fSPI = n; }

void SwimStepData::SetStepper ( SwimStepper stepper  )  [inline]

Definition at line 43 of file SwimStepData.h.

References fStepper.

Referenced by SwimSwimmer::SwimSwimmer().

00044 { fStepper = stepper; }

void SwimStepData::SetStepSize ( double  stepSize  )  [inline]

Definition at line 52 of file SwimStepData.h.

References fStepSize.

Referenced by SwimSwimmer::Swim().

00053 { fStepSize = stepSize; }

void SwimStepData::SetSwimMaterial ( SwimGeo::SwimMaterial_t  material  )  [inline]

Definition at line 49 of file SwimStepData.h.

References fSwimMaterial.

Referenced by SwimSwimmer::Swim().

00050 { fSwimMaterial = material; }


Member Data Documentation

bool SwimStepData::fIsForward [private]

Definition at line 37 of file SwimStepData.h.

Referenced by GetIsForward(), and SetIsForward().

int SwimStepData::fSPI [private]

Definition at line 40 of file SwimStepData.h.

Referenced by GetSPI(), and SetSPI().

Definition at line 36 of file SwimStepData.h.

Referenced by GetStepper(), and SetStepper().

double SwimStepData::fStepSize [private]

Definition at line 39 of file SwimStepData.h.

Referenced by GetStepSize(), and SetStepSize().

Definition at line 38 of file SwimStepData.h.

Referenced by GetSwimMaterial(), and SetSwimMaterial().


The documentation for this class was generated from the following files:

Generated on 2 Nov 2017 for loon by  doxygen 1.6.1