new mote interfaces api + name changes
This commit is contained in:
parent
74647ce2de
commit
f3ca86b261
3 changed files with 9 additions and 7 deletions
|
@ -24,7 +24,7 @@
|
|||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* 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;
|
||||
|
@ -161,8 +161,10 @@ public class EventListener extends VisPlugin {
|
|||
|
||||
for (MoteType moteType : simulationToControl.getMoteTypes()) {
|
||||
if (moteType instanceof ContikiMoteType) {
|
||||
allInterfacesDups.addAll(((ContikiMoteType) moteType)
|
||||
.getMoteInterfaces());
|
||||
Class<? extends MoteInterface>[] arr = ((ContikiMoteType) moteType).getMoteInterfaceClasses();
|
||||
for (Class<? extends MoteInterface> intf : arr) {
|
||||
allInterfacesDups.add(intf);
|
||||
}
|
||||
}
|
||||
}
|
||||
for (Class<? extends MoteInterface> moteTypeClass : allInterfacesDups) {
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* 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;
|
||||
|
@ -43,7 +43,7 @@ import se.sics.cooja.*;
|
|||
/**
|
||||
* Mote Interface Viewer views information about a specific mote interface.
|
||||
*
|
||||
* @author Fredrik Österlind
|
||||
* @author Fredrik Osterlind
|
||||
*/
|
||||
@ClassDescription("Mote Interface Viewer")
|
||||
@PluginType(PluginType.MOTE_PLUGIN)
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* 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;
|
||||
|
@ -46,7 +46,7 @@ import se.sics.cooja.*;
|
|||
/**
|
||||
* The Control Panel is a simple control panel for simulations.
|
||||
*
|
||||
* @author Fredrik Österlind
|
||||
* @author Fredrik Osterlind
|
||||
*/
|
||||
@ClassDescription("Control Panel")
|
||||
@PluginType(PluginType.SIM_STANDARD_PLUGIN)
|
||||
|
|
Loading…
Reference in a new issue