mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-08-15 12:27:50 +00:00
new mote interfaces api + name changes
This commit is contained in:
@@ -24,7 +24,7 @@
|
|||||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* $Id: EventListener.java,v 1.7 2008/02/07 10:47:56 fros4943 Exp $
|
* $Id: EventListener.java,v 1.8 2009/03/09 15:39:33 fros4943 Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package se.sics.cooja.plugins;
|
package se.sics.cooja.plugins;
|
||||||
@@ -161,8 +161,10 @@ public class EventListener extends VisPlugin {
|
|||||||
|
|
||||||
for (MoteType moteType : simulationToControl.getMoteTypes()) {
|
for (MoteType moteType : simulationToControl.getMoteTypes()) {
|
||||||
if (moteType instanceof ContikiMoteType) {
|
if (moteType instanceof ContikiMoteType) {
|
||||||
allInterfacesDups.addAll(((ContikiMoteType) moteType)
|
Class<? extends MoteInterface>[] arr = ((ContikiMoteType) moteType).getMoteInterfaceClasses();
|
||||||
.getMoteInterfaces());
|
for (Class<? extends MoteInterface> intf : arr) {
|
||||||
|
allInterfacesDups.add(intf);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
for (Class<? extends MoteInterface> moteTypeClass : allInterfacesDups) {
|
for (Class<? extends MoteInterface> moteTypeClass : allInterfacesDups) {
|
||||||
|
@@ -26,7 +26,7 @@
|
|||||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* $Id: MoteInterfaceViewer.java,v 1.4 2008/10/28 14:09:25 fros4943 Exp $
|
* $Id: MoteInterfaceViewer.java,v 1.5 2009/03/09 15:39:33 fros4943 Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package se.sics.cooja.plugins;
|
package se.sics.cooja.plugins;
|
||||||
@@ -43,7 +43,7 @@ import se.sics.cooja.*;
|
|||||||
/**
|
/**
|
||||||
* Mote Interface Viewer views information about a specific mote interface.
|
* Mote Interface Viewer views information about a specific mote interface.
|
||||||
*
|
*
|
||||||
* @author Fredrik <EFBFBD>sterlind
|
* @author Fredrik Osterlind
|
||||||
*/
|
*/
|
||||||
@ClassDescription("Mote Interface Viewer")
|
@ClassDescription("Mote Interface Viewer")
|
||||||
@PluginType(PluginType.MOTE_PLUGIN)
|
@PluginType(PluginType.MOTE_PLUGIN)
|
||||||
|
@@ -26,7 +26,7 @@
|
|||||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* $Id: SimControl.java,v 1.10 2008/12/04 12:46:42 fros4943 Exp $
|
* $Id: SimControl.java,v 1.11 2009/03/09 15:39:33 fros4943 Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package se.sics.cooja.plugins;
|
package se.sics.cooja.plugins;
|
||||||
@@ -46,7 +46,7 @@ import se.sics.cooja.*;
|
|||||||
/**
|
/**
|
||||||
* The Control Panel is a simple control panel for simulations.
|
* The Control Panel is a simple control panel for simulations.
|
||||||
*
|
*
|
||||||
* @author Fredrik <EFBFBD>sterlind
|
* @author Fredrik Osterlind
|
||||||
*/
|
*/
|
||||||
@ClassDescription("Control Panel")
|
@ClassDescription("Control Panel")
|
||||||
@PluginType(PluginType.SIM_STANDARD_PLUGIN)
|
@PluginType(PluginType.SIM_STANDARD_PLUGIN)
|
||||||
|
Reference in New Issue
Block a user