Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

DriveInterface::KeyHeld Class Reference

List of all members.

Public Member Functions

 KeyHeld ()
float get_effect (float ramp_up_time, float ramp_down_time)
void set_key (bool down)
void clear ()
bool operator< (const KeyHeld &other) const

Public Attributes

float _effect
bool _down
double _changed_time
float _effect_at_change

Constructor & Destructor Documentation

DriveInterface::KeyHeld::KeyHeld  ) 
 

Definition at line 37 of file driveInterface.cxx.

References _changed_time, _down, _effect, and _effect_at_change.


Member Function Documentation

void DriveInterface::KeyHeld::clear  ) 
 

Definition at line 84 of file driveInterface.cxx.

References _changed_time, _down, _effect, and _effect_at_change.

Referenced by DriveInterface::reset().

float DriveInterface::KeyHeld::get_effect float  ramp_up_time,
float  ramp_down_time
 

Definition at line 45 of file driveInterface.cxx.

References _changed_time, _effect, _effect_at_change, ClockObject::get_frame_time(), and ClockObject::get_global_clock().

Referenced by DriveInterface::apply().

bool DriveInterface::KeyHeld::operator< const KeyHeld &  other  )  const
 

Definition at line 92 of file driveInterface.cxx.

References _changed_time, and _down.

void DriveInterface::KeyHeld::set_key bool  down  ) 
 

Definition at line 75 of file driveInterface.cxx.

References _changed_time, _down, _effect, _effect_at_change, ClockObject::get_frame_time(), and ClockObject::get_global_clock().

Referenced by DriveInterface::do_transmit_data().


Member Data Documentation

double DriveInterface::KeyHeld::_changed_time
 

Definition at line 154 of file driveInterface.h.

Referenced by clear(), get_effect(), KeyHeld(), operator<(), and set_key().

bool DriveInterface::KeyHeld::_down
 

Definition at line 153 of file driveInterface.h.

Referenced by clear(), KeyHeld(), operator<(), and set_key().

float DriveInterface::KeyHeld::_effect
 

Definition at line 152 of file driveInterface.h.

Referenced by DriveInterface::apply(), clear(), get_effect(), KeyHeld(), and set_key().

float DriveInterface::KeyHeld::_effect_at_change
 

Definition at line 155 of file driveInterface.h.

Referenced by clear(), get_effect(), KeyHeld(), and set_key().


The documentation for this class was generated from the following files:
Generated on Fri Apr 18 00:11:55 2003 for Panda by doxygen1.3