#include <medium.h>


Public Types | |
| typedef std::vector< CMedium * > | TVector | 
| typedef std::map< std::string, CMedium * > | TMap | 
Public Member Functions | |
| CMedium () | |
| virtual | ~CMedium () | 
| virtual void | Init (TConfigurationNode &t_tree) | 
| Initialized the medium.  More... | |
| virtual void | Reset () | 
| Resets the resource.  More... | |
| virtual void | Destroy () | 
| Undoes whatever was done by Init().  More... | |
| virtual void | PostSpaceInit () | 
| Executes extra initialization activities after the space has been initialized.  More... | |
| virtual void | Update ()=0 | 
| Updates the state of this medium.  More... | |
| const std::string & | GetId () const | 
| Returns the id of this medium.  More... | |
| void | SetId (const std::string &str_id) | 
| Sets the id of this medium.  More... | |
| CSpace & | GetSpace () | 
| Returns a reference to the ARGoS space.  More... | |
  Public Member Functions inherited from argos::CBaseConfigurableResource | |
| virtual | ~CBaseConfigurableResource () | 
| Class destructor.  More... | |
| typedef std::map<std::string, CMedium*> argos::CMedium::TMap | 
| typedef std::vector<CMedium*> argos::CMedium::TVector | 
      
  | 
  inlinevirtual | 
Undoes whatever was done by Init().
Implements argos::CBaseConfigurableResource.
Reimplemented in argos::CDirectionalLEDMedium, argos::CRadioMedium, argos::CTagMedium, argos::CRABMedium, and argos::CLEDMedium.
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  virtual | 
Initialized the medium.
By default, this method parses the medium id. The order in which initialization takes place is:
| t_tree | the base of the XML configuration tree to parse | 
| CARGoSException | if an error occurs | 
Implements argos::CBaseConfigurableResource.
Reimplemented in argos::CDirectionalLEDMedium, argos::CRadioMedium, argos::CTagMedium, argos::CRABMedium, and argos::CLEDMedium.
Definition at line 16 of file medium.cpp.
      
  | 
  inlinevirtual | 
Executes extra initialization activities after the space has been initialized.
By default, this method does nothing. The order in which initialization takes place is:
| CARGoSException | if an error occurs | 
Reimplemented in argos::CDirectionalLEDMedium, argos::CRadioMedium, argos::CTagMedium, argos::CRABMedium, and argos::CLEDMedium.
      
  | 
  inlinevirtual | 
Resets the resource.
Implements argos::CBaseConfigurableResource.
Reimplemented in argos::CDirectionalLEDMedium, argos::CRadioMedium, argos::CTagMedium, argos::CRABMedium, and argos::CLEDMedium.
      
  | 
  inline | 
      
  | 
  pure virtual | 
Updates the state of this medium.
Implemented in argos::CDirectionalLEDMedium, argos::CRadioMedium, argos::CTagMedium, argos::CRABMedium, and argos::CLEDMedium.