ARGoS  3
A parallel, multi-engine simulator for swarm robotics
core/simulator/medium/medium.cpp
Go to the documentation of this file.
00001 
00007 #include "medium.h"
00008 #include <argos3/core/simulator/space/space.h>
00009 
00010 namespace argos {
00011 
00012    /****************************************/
00013    /****************************************/
00014 
00015    void CMedium::Init(TConfigurationNode& t_tree) {
00016       try {
00017          /* Get id from the XML */
00018          GetNodeAttribute(t_tree, "id", m_strId);
00019       }
00020       catch(CARGoSException& ex) {
00021          THROW_ARGOSEXCEPTION_NESTED("Error initializing a medium entity", ex);
00022       }
00023    }
00024    
00025    /****************************************/
00026    /****************************************/
00027 
00028 }