Condition related stuff. More...
#include <string>
#include <vector>
#include <sstream>
#include <memory>
#include "common/MemoryAllocator.h"
#include "common/Thread.h"
#include "AIFactories.h"
Go to the source code of this file.
Classes | |
class | ai::ICondition |
A condition can be placed on a TreeNode to decide which node is going to get executed. In general they are stateless. If they are not, it should explicitly get noted. More... | |
Macros | |
#define | CONDITION_CLASS(ConditionName) |
Macro to simplify the condition creation. Just give the class name of the condition as parameter. More... | |
#define | CONDITION_FACTORY_NO_IMPL(ConditionName) |
A condition factory macro to ease and unify the registration at AIRegistry. You still have to implement the Factory::create method. More... | |
#define | CONDITION_FACTORY(ConditionName) |
A condition factory macro to ease and unify the registration at AIRegistry. More... | |
#define | CONDITION_FACTORY_SINGLETON |
A condition factory singleton macro to ease and unify the registration at AIRegistry. Nothing from the given context is taken, if you need this, use the instance based factory, not the singleton based. More... | |
#define | CONDITION_CLASS_SINGLETON(ConditionName) |
Macro to create a singleton conditions for very easy conditions without a state. More... | |
#define | CONDITION_PRINT_SUBCONDITIONS_GETCONDITIONNAMEWITHVALUE |
Condition related stuff.
#define CONDITION_CLASS | ( | ConditionName | ) |
Macro to simplify the condition creation. Just give the class name of the condition as parameter.
#define CONDITION_CLASS_SINGLETON | ( | ConditionName | ) |
Macro to create a singleton conditions for very easy conditions without a state.
#define CONDITION_FACTORY | ( | ConditionName | ) |
A condition factory macro to ease and unify the registration at AIRegistry.
#define CONDITION_FACTORY_NO_IMPL | ( | ConditionName | ) |
A condition factory macro to ease and unify the registration at AIRegistry. You still have to implement the Factory::create method.
#define CONDITION_FACTORY_SINGLETON |
A condition factory singleton macro to ease and unify the registration at AIRegistry. Nothing from the given context is taken, if you need this, use the instance based factory, not the singleton based.
#define CONDITION_PRINT_SUBCONDITIONS_GETCONDITIONNAMEWITHVALUE |