rng.cpp File Reference
#include "rng.h"
#include <argos3/core/utility/configuration/argos_exception.h>
#include <argos3/core/utility/logging/argos_log.h>
#include <cstring>
#include <limits>
#include <cmath>
Include dependency graph for rng.cpp:

Go to the source code of this file.

Namespaces

 argos
 The namespace containing all the ARGoS related code.
 

Macros

#define CHECK_CATEGORY(category)
 

Macro Definition Documentation

#define CHECK_CATEGORY (   category)
Value:
std::map<std::string, CCategory*>::iterator itCategory = m_mapCategories.find(category); \
if(itCategory == m_mapCategories.end()) { \
THROW_ARGOSEXCEPTION("CRandom:: can't find category \"" << category << "\"."); \
}
#define THROW_ARGOSEXCEPTION(message)
This macro throws an ARGoS exception with the passed message.

Definition at line 32 of file rng.cpp.