Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Friends

MobileNode Class Reference

Inheritance diagram for MobileNode:
Node RNode ParentNode

List of all members.

Public Member Functions

virtual int command (int argc, const char *const *argv)
double distance (MobileNode *)
double propdelay (MobileNode *)
void start (void)
void getLoc (double *x, double *y, double *z)
void getVelo (double *dx, double *dy, double *dz)
MobileNodenextnode ()
int base_stn ()
void set_base_stn (int addr)
void dump (void)
MobileNode *& next ()
double X ()
double Y ()
double Z ()
double speed ()
double dX ()
double dY ()
double dZ ()
double destX ()
double destY ()
double radius ()
double getUpdateTime ()
void update_position ()
void log_energy (int)
virtual void idle_energy_patch (float, float)

Public Attributes


Protected Member Functions

void log_movement ()
void random_direction ()
void random_speed ()
void random_destination ()
int set_destination (double x, double y, double speed)

Protected Attributes

double position_update_time_
double position_update_interval_
double X_
double Y_
double Z_
double speed_
double dX_
double dY_
double dZ_
double destX_
double destY_
double radius_
PositionHandler pos_handle_
Event pos_intr_


class PositionHandler

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