44#ifndef UWTRACK_MODULE_H
45#define UWTRACK_MODULE_H
56 : TimerHandler(), module(m)
62 virtual void expire(Event *e);
98 virtual int command(
int argc,
const char*
const* argv);
105 virtual void initPkt(Packet* p) ;
141 virtual void start();
UwCbrModule class is used to manage UWCBR packets and to collect statistics about them.
UwTrackerModule class is used to track mobile nodes via sonar and share tracking information via pack...
virtual void stop()
Stop to send packets.
virtual int command(int argc, const char *const *argv)
TCL command interpreter.
virtual ~UwTrackerModule()
Destructor of UwTrackerModule class.
UwUpdateTrackMeasure measure_timer
timer to schedule tracking measurements
double tracking_period
period between tracking measurements
void sendPkt()
Allocates, initialize and sends a packet with the default priority flag set from tcl.
hdr_uwTracker track_measure
Track position.
virtual void start()
Start to send packets.
int send_only_active_trace
send only active trace
int track_my_position
track also my position
virtual void initPkt(Packet *p)
Initializes a monitoring data packet passed as argument with the default values.
UwTrackerModule()
Default Constructor of UwTrackerModule class.
UWSMPosition * track_position
Track position.
double max_tracking_distance
Maximum tracking distance, in [m].
void updateTrackMeasure()
Update the track measure.
virtual void printReceivedPacket(Packet *p)
Print to tracefile details about a received packet.
virtual void expire(Event *e)
UwUpdateTrackMeasure(UwTrackerModule *m)
hdr_uwROV_ctr describes UWROV_ctr packets for controlling the ROV.
Provides the UWCBR packets header description and the definition of the class UWCBR.
Provides UWSCFTRACK packets header description.