>xabsl | The Extensible Agent Behavior Specification Language |
start | team | language reference | tools | xabsl engine | download | licence | |
XabslEngine Class Library Reference | |
  | |
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members
XabslAgent.cppGo to the documentation of this file.00001 /** 00002 * @file XabslAgent.cpp 00003 * 00004 * Implementation of class Agent 00005 * 00006 * @author <a href="http://www.martin-loetzsch.de">Martin Loetzsch</a> 00007 */ 00008 00009 #include "XabslAgent.h" 00010 00011 namespace xabsl 00012 { 00013 00014 Agent::Agent(const char* name, Behavior* rootOption, 00015 ErrorHandler& errorHandler, int index) 00016 : NamedItem(name), rootOption(rootOption), errorHandler(errorHandler), index(index) 00017 { 00018 XABSL_DEBUG_INIT(errorHandler.message("created agent \"%s\" with root option \"%s\"", n, rootOption->n)); 00019 } 00020 00021 Behavior* Agent::getRootOption() const 00022 { 00023 return rootOption; 00024 } 00025 00026 } // namespace 00027 Up | Main Page | Generated at Wed Aug 19 17:32:28 2009.
|
|
Copyright 2002 - 2009 by the XABSL developer team. See the licence for details. | |