Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members

esve::components::dim4::Motion_Frame Class Reference

A Moving frame. More...

#include <esve/components/dim4/Motion_Frame.hxx>

Inheritance diagram for esve::components::dim4::Motion_Frame:

esve::components::dimn::Motion_Handler esve::engine::dim4::impl::Frame esve::message::impl::Update_Receiver esve::kernel::Wake_State_Handler esve::engine::dim4::Frame esve::message::impl::Update_Receiver esve::message::Update_Receiver esve::kernel::impl::Handler esve::engine::dim4::Transform_Stowed esve::message::Update_Receiver esve::message::Update_Receiver esve::kernel::Handler List of all members.

Public Member Functions

void rotate_velocity (types::real dalpha_dt, types::real dbeta_dt, const types::quat &a, const types::quat &b, const engine::dim4::Transform &basis=engine::dim4::Transform::IDENTITY)
 Angular velocity in radians per second. The basis is stored by reference.

void translate_velocity (const types::quat &dtranslate_dt, const engine::dim4::Transform &basis=engine::dim4::Transform::IDENTITY)
 Velocity in units per second. The basis is stored by reference.

void invertate_velocity (const types::quat &dinvertate_dt, const engine::dim4::Transform &basis=engine::dim4::Transform::IDENTITY)
 Velocity in units per second. The basis is stored by reference.

void scalate_velocity (types::real dscalate_dt, const engine::dim4::Transform &basis=engine::dim4::Transform::IDENTITY)
 Velocity in units per second. The basis is stored by reference.

const engine::dim4::Transformworld_transform () const
 The transform in world (standard) coordinates.

void remove_all ()
 Child frames.

virtual void add (Frame &)=0
 Child frames.

virtual void remove (Frame &)=0
 Child frames.

const engine::dim4::Transformpeek_transform () const
 Peek at the transform.

engine::dim4::Transformpeek_transform ()
 Peek at the transform.


Protected Member Functions

bool handle_check_awake (bool currently_awake)
 Do you want to be awake?

void update ()
 Receive the update() message.

void update (double dt)
 Receive the update() message.

bool handle_wake ()
 The command to wake up.

bool handle_sleep ()
 The command to sleep.

bool awake () const
 Are we awake?


Detailed Description

A Moving frame.


Member Function Documentation

bool esve::components::dim4::Motion_Frame::handle_check_awake bool  currently_awake  )  [protected, virtual]
 

Do you want to be awake?

If currently awake, a return value of true indicates a desire to stay awake. If not currently awake, a return value of true indicates a desire to wake up.

Implements esve::kernel::Wake_State_Handler.


Generated on Tue May 30 11:40:54 2006 for esve by doxygen 1.3.4