Locator

Parent Previous Next

Interfaces and Buses / Wireless_Sensor / Block /  Locator
Block Name: Locator


This is a wireless sensor node that reacts to an input event by transmitting an output with the current location of this node and the time of the input. The output is a record token with type {location={double}, time=double}. The location is an array with two doubles representing the X and Y positions of the sensor. The location of the sensor is determined by the _getLocation() protected method, which in this base class returns the location of the icon in the visual editor, which is determined from the _location attribute of the actor. If there is no _location attribute, then an exception is thrown. Derived classes may override this protected method to specify the location in some other way (or in more dimensions).


 

Field Detail

input

public VisualSim.simulators.wireless.kernel.WirelessIOPort input


inputChannelName

public VisualSim.data.expr.StringParameter inputChannelName


output

public VisualSim.simulators.wireless.kernel.WirelessIOPort output


outputChannelName

public VisualSim.data.expr.StringParameter outputChannelName



Created with the Personal Edition of HelpNDoc: Benefits of a Help Authoring Tool