space.h File Reference
#include <argos3/core/utility/datatypes/any.h>
#include <argos3/core/simulator/medium/medium.h>
#include <argos3/core/simulator/entity/embodied_entity.h>
#include <argos3/core/simulator/entity/controllable_entity.h>
Include dependency graph for space.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  argos::CSpace
 
class  argos::CSpaceOperation< ACTION >
 
class  argos::CSpaceOperationAddEntity
 
class  argos::CSpaceOperationRemoveEntity
 

Namespaces

 argos
 The namespace containing all the ARGoS related code.
 

Macros

#define SPACE_OPERATION_ADD_ENTITY(ENTITY)
 
#define SPACE_OPERATION_REMOVE_ENTITY(ENTITY)
 
#define REGISTER_SPACE_OPERATION(ACTION, OPERATION, ENTITY)   REGISTER_ENTITY_OPERATION(ACTION, CSpace, OPERATION, void, ENTITY);
 
#define REGISTER_STANDARD_SPACE_OPERATION_ADD_ENTITY(ENTITY)
 
#define REGISTER_STANDARD_SPACE_OPERATION_REMOVE_ENTITY(ENTITY)
 
#define REGISTER_STANDARD_SPACE_OPERATIONS_ON_ENTITY(ENTITY)
 

Macro Definition Documentation

◆ REGISTER_SPACE_OPERATION

#define REGISTER_SPACE_OPERATION (   ACTION,
  OPERATION,
  ENTITY 
)    REGISTER_ENTITY_OPERATION(ACTION, CSpace, OPERATION, void, ENTITY);

Definition at line 496 of file space.h.

◆ REGISTER_STANDARD_SPACE_OPERATION_ADD_ENTITY

#define REGISTER_STANDARD_SPACE_OPERATION_ADD_ENTITY (   ENTITY)
Value:
REGISTER_SPACE_OPERATION(CSpaceOperationAddEntity, \
CSpaceOperationAdd ## ENTITY, \
ENTITY);
#define SPACE_OPERATION_ADD_ENTITY(ENTITY)
Definition: space.h:480

Definition at line 499 of file space.h.

◆ REGISTER_STANDARD_SPACE_OPERATION_REMOVE_ENTITY

#define REGISTER_STANDARD_SPACE_OPERATION_REMOVE_ENTITY (   ENTITY)
Value:
REGISTER_SPACE_OPERATION(CSpaceOperationRemoveEntity, \
CSpaceOperationRemove ## ENTITY, \
ENTITY);
#define SPACE_OPERATION_REMOVE_ENTITY(ENTITY)
Definition: space.h:488

Definition at line 505 of file space.h.

◆ REGISTER_STANDARD_SPACE_OPERATIONS_ON_ENTITY

#define REGISTER_STANDARD_SPACE_OPERATIONS_ON_ENTITY (   ENTITY)
Value:
REGISTER_STANDARD_SPACE_OPERATION_REMOVE_ENTITY(ENTITY)
#define REGISTER_STANDARD_SPACE_OPERATION_ADD_ENTITY(ENTITY)
Definition: space.h:499

Definition at line 511 of file space.h.

◆ SPACE_OPERATION_ADD_ENTITY

#define SPACE_OPERATION_ADD_ENTITY (   ENTITY)
Value:
class CSpaceOperationAdd ## ENTITY : public CSpaceOperationAddEntity { \
public: \
void ApplyTo(CSpace& c_space, ENTITY& c_entity) { \
c_space.AddEntity(c_entity); \
} \
};

Definition at line 480 of file space.h.

◆ SPACE_OPERATION_REMOVE_ENTITY

#define SPACE_OPERATION_REMOVE_ENTITY (   ENTITY)
Value:
class CSpaceOperationRemove ## ENTITY : public CSpaceOperationRemoveEntity { \
public: \
void ApplyTo(CSpace& c_space, ENTITY& c_entity) { \
c_space.RemoveEntity(c_entity); \
} \
};

Definition at line 488 of file space.h.