PMESource Class Reference

#include <PME.h>

List of all members.

Public Member Functions

void set_position (CPoint &P)
CPoint get_position ()
void update_position ()
void set_orbit (CPoint &R, CPoint &V)
MovementType get_current_move_type ()
MovementType get_next_move_type ()
void update_move_type ()
void set_next_move_type (MovementType mov_type)
void set_current_move_type (MovementType mov_type)
void push_trace (CPoint &pos)
void reset_trace ()
void set_bounce_velocity (CPoint bv)
void set_bounce_distance (float bd)
 PMESource (SpatialSource &s)
 PMESource ()
 ~PMESource ()

Protected Attributes

Orbit orbit
MovementType current_move_type
MovementType next_move_type
float bounce_distance
CPoint bounce_velocity
unsigned current_trace_index
unsigned trace_length

Constructor & Destructor Documentation

PMESource::PMESource ( SpatialSource s  ) 

PMESource::PMESource (  ) 

PMESource::~PMESource (  )  [inline]

Member Function Documentation

void PMESource::set_position ( CPoint P  ) 

CPoint PMESource::get_position (  ) 

void PMESource::update_position (  ) 

void PMESource::set_orbit ( CPoint R,
CPoint V 

MovementType PMESource::get_current_move_type (  )  [inline]

References current_move_type.

Referenced by PME::manage_sources().

MovementType PMESource::get_next_move_type (  )  [inline]

References next_move_type.

Referenced by PME::manage_sources().

void PMESource::update_move_type (  )  [inline]

References current_move_type, and next_move_type.

Referenced by PME::manage_sources().

void PMESource::set_next_move_type ( MovementType  mov_type  ) 

References next_move_type.

void PMESource::set_current_move_type ( MovementType  mov_type  ) 

void PMESource::push_trace ( CPoint pos  ) 

References MAX_TRACE_LENGTH, trace, and trace_length.

Referenced by PME::manage_sources().

void PMESource::reset_trace (  )  [inline]

References current_trace_index, and trace_length.

Referenced by PME::manage_sources().

void PMESource::set_bounce_velocity ( CPoint  bv  )  [inline]

References bounce_velocity.

Referenced by PME::manage_sources().

void PMESource::set_bounce_distance ( float  bd  ) 

References bounce_distance.

Member Data Documentation

Orbit PMESource::orbit [protected]

Referenced by set_orbit(), and update_position().

CPoint PMESource::trace[MAX_TRACE_LENGTH] [protected]

Referenced by push_trace(), and update_position().

float PMESource::bounce_distance [protected]

unsigned PMESource::current_trace_index [protected]

Referenced by reset_trace(), and update_position().

unsigned PMESource::trace_length [protected]

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

Generated on Thu Sep 17 23:14:16 2009 for CSL by  doxygen 1.5.8