get/set for elf module

This commit is contained in:
fros4943 2008-03-19 17:23:47 +00:00
parent 5def17f4fa
commit 759b98d05c

View file

@ -26,7 +26,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: MspMote.java,v 1.4 2008/03/19 15:17:59 fros4943 Exp $
* $Id: MspMote.java,v 1.5 2008/03/19 17:23:47 fros4943 Exp $
*/
package se.sics.cooja.mspmote;
@ -60,7 +60,7 @@ public abstract class MspMote implements Mote {
private MspMoteType myMoteType = null;
private MspMoteMemory myMemory = null;
private MoteInterfaceHandler myMoteInterfaceHandler = null;
public ELF myELFModule = null;
private ELF myELFModule = null;
protected TR1001Radio myRadio = null; /* TODO Only used by ESB (TR1001) */
@ -115,6 +115,13 @@ public abstract class MspMote implements Mote {
myMemory = (MspMoteMemory) memory;
}
/**
* @return ELF module
*/
public ELF getELF() {
return myELFModule;
}
public Simulation getSimulation() {
return mySimulation;
}