SimpleAI
 All Classes Namespaces Files Functions Variables Typedefs Macros Groups Pages
Public Member Functions | List of all members
ai::IAIFactory Class Referenceabstract
Inheritance diagram for ai::IAIFactory:
[legend]

Public Member Functions

virtual TreeNodePtr createNode (const std::string &type, const TreeNodeFactoryContext &ctx) const =0
 Allocates a new TreeNode for the given type. The type must be registered in the AIRegistry for this to work.
 
virtual TreeNodePtr createSteerNode (const std::string &type, const SteerNodeFactoryContext &ctx) const =0
 Allocates a new TreeNode for the given type. The type must be registered in the AIRegistry for this to work.
 
virtual FilterPtr createFilter (const std::string &type, const FilterFactoryContext &ctx) const =0
 Allocates a new IFilter for the given type. The type must be registered in the AIRegistry for this to work.
 
virtual ConditionPtr createCondition (const std::string &type, const ConditionFactoryContext &ctx) const =0
 Allocates a new ICondition for the given type. The type must be registered in the AIRegistry for this to work.
 
virtual SteeringPtr createSteering (const std::string &type, const SteeringFactoryContext &ctx) const =0
 Creates a new ISteering for the given type. The type must be registered in the AIRegistry for this to work.
 

The documentation for this class was generated from the following file: