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

AutonomousLerp Class Reference

#include <lerp.h>

Inheritance diagram for AutonomousLerp:

TypedReferenceCount TypedObject ReferenceCount List of all members.

Public Member Functions

virtual TypeHandle get_type (void) const
virtual TypeHandle force_init_type (void)

Static Public Member Functions

TypeHandle get_class_type (void)
void init_type (void)

Private Member Functions

 PT (LerpBlendType) _blend
 PT (LerpFunctor) _func
virtual void step (void)
 AutonomousLerp (LerpFunctor *func, float startt, float endt, LerpBlendType *blend, EventHandler *handler)
 AutonomousLerp (const AutonomousLerp &)
virtual ~AutonomousLerp (void)
AutonomousLerp & operator= (const AutonomousLerp &)
void start (void)
void stop (void)
void resume (void)
bool is_done (void) const
LerpFunctorget_functor (void) const
void set_t (float)
float get_t (void) const
void set_end_event (const std::string &)
std::string get_end_event (void) const

Static Private Member Functions

void handle_event (CPT(Event), void *)

Private Attributes

EventHandler_handler
std::string _event
float _startt
float _endt
float _t
PUBLISHED __pad0__: AutonomousLerp(LerpFunctor* func
PUBLISHED float endt
PUBLISHED float LerpBlendTypeblend
PUBLISHED float LerpBlendType
EventHandler
handler

Static Private Attributes

TypeHandle _type_handle

Constructor & Destructor Documentation

AutonomousLerp::AutonomousLerp LerpFunctor func,
float  startt,
float  endt,
LerpBlendType blend,
EventHandler handler
[private]
 

Definition at line 122 of file lerp.cxx.

AutonomousLerp::AutonomousLerp const AutonomousLerp &   )  [private]
 

Definition at line 127 of file lerp.cxx.

References c.

AutonomousLerp::~AutonomousLerp void   )  [private, virtual]
 

Definition at line 135 of file lerp.cxx.


Member Function Documentation

virtual TypeHandle AutonomousLerp::force_init_type void   )  [inline, virtual]
 

Reimplemented from TypedReferenceCount.

Definition at line 120 of file lerp.h.

References ReferenceCount::get_class_type(), and TypedReferenceCount::init_type().

TypeHandle AutonomousLerp::get_class_type void   )  [inline, static]
 

Reimplemented from ReferenceCount.

Definition at line 109 of file lerp.h.

std::string AutonomousLerp::get_end_event void   )  const [private]
 

Definition at line 184 of file lerp.cxx.

References _event.

LerpFunctor * AutonomousLerp::get_functor void   )  const [private]
 

Definition at line 165 of file lerp.cxx.

float AutonomousLerp::get_t void   )  const [private]
 

Definition at line 176 of file lerp.cxx.

References _t.

virtual TypeHandle AutonomousLerp::get_type void   )  const [inline, virtual]
 

Reimplemented from TypedReferenceCount.

Definition at line 117 of file lerp.h.

References ReferenceCount::get_class_type().

void AutonomousLerp::handle_event CPT(Event ,
void * 
[static, private]
 

Definition at line 204 of file lerp.cxx.

References data, and step().

Referenced by resume(), start(), and stop().

void AutonomousLerp::init_type void   )  [inline, static]
 

Reimplemented from TypedReferenceCount.

Definition at line 112 of file lerp.h.

References TypedObject::get_class_type(), TypedReferenceCount::init_type(), and register_type().

Referenced by ConfigureFn().

bool AutonomousLerp::is_done void   )  const [private]
 

Definition at line 161 of file lerp.cxx.

References _endt, and _t.

Referenced by step().

AutonomousLerp & AutonomousLerp::operator= const AutonomousLerp &   )  [private]
 

Definition at line 137 of file lerp.cxx.

References _endt, _event, _handler, _startt, _t, and c.

AutonomousLerp::PT LerpFunctor   )  [private]
 

AutonomousLerp::PT LerpBlendType   )  [private]
 

void AutonomousLerp::resume void   )  [private]
 

Definition at line 157 of file lerp.cxx.

References _handler, EventHandler::add_hook(), and handle_event().

void AutonomousLerp::set_end_event const std::string &   )  [private]
 

Definition at line 180 of file lerp.cxx.

References _event.

void AutonomousLerp::set_t float   )  [private]
 

Definition at line 169 of file lerp.cxx.

References _endt, _startt, _t, scale_t(), t, and x.

void AutonomousLerp::start void   )  [private]
 

Definition at line 148 of file lerp.cxx.

References _handler, _startt, _t, EventHandler::add_hook(), and handle_event().

void AutonomousLerp::step void   )  [private, virtual]
 

Definition at line 188 of file lerp.cxx.

References _endt, _event, _startt, _t, ClockObject::get_dt(), ClockObject::get_global_clock(), is_done(), scale_t(), stop(), t, and throw_event().

Referenced by handle_event().

void AutonomousLerp::stop void   )  [private]
 

Definition at line 153 of file lerp.cxx.

References _handler, handle_event(), and EventHandler::remove_hook().

Referenced by step().


Member Data Documentation

PUBLISHED AutonomousLerp::__pad0__ [private]
 

Reimplemented from TypedReferenceCount.

Definition at line 90 of file lerp.h.

float AutonomousLerp::_endt [private]
 

Definition at line 83 of file lerp.h.

Referenced by is_done(), operator=(), set_t(), and step().

std::string AutonomousLerp::_event [private]
 

Definition at line 81 of file lerp.h.

Referenced by get_end_event(), operator=(), set_end_event(), and step().

EventHandler* AutonomousLerp::_handler [private]
 

Definition at line 80 of file lerp.h.

Referenced by operator=(), resume(), start(), and stop().

float AutonomousLerp::_startt [private]
 

Definition at line 82 of file lerp.h.

Referenced by operator=(), set_t(), start(), and step().

float AutonomousLerp::_t [private]
 

Definition at line 84 of file lerp.h.

Referenced by get_t(), is_done(), operator=(), set_t(), start(), and step().

TypeHandle AutonomousLerp::_type_handle [static, private]
 

Reimplemented from TypedReferenceCount.

Definition at line 26 of file lerp.cxx.

PUBLISHED float LerpBlendType* AutonomousLerp::blend [private]
 

Definition at line 90 of file lerp.h.

PUBLISHED float AutonomousLerp::endt [private]
 

Definition at line 90 of file lerp.h.

PUBLISHED float LerpBlendType EventHandler* AutonomousLerp::handler [private]
 

Definition at line 90 of file lerp.h.


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