SwigDirector_GSimpleAIFactory Class Reference

#include <armagetronad_wrap.h>

Inheritance diagram for SwigDirector_GSimpleAIFactory:

Inheritance graph
[legend]
Collaboration diagram for SwigDirector_GSimpleAIFactory:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 SwigDirector_GSimpleAIFactory (VALUE self)
virtual gSimpleAIDoCreate () const


Detailed Description

Definition at line 95 of file armagetronad_wrap.h.


Constructor & Destructor Documentation

SwigDirector_GSimpleAIFactory::SwigDirector_GSimpleAIFactory ( VALUE  self  ) 

Definition at line 2851 of file armagetronad_wrap.cxx.

Referenced by _wrap_new_GSimpleAIFactory().

02851                                                                       : gSimpleAIFactory(), Swig::Director(self) {
02852   
02853 }

Here is the caller graph for this function:


Member Function Documentation

gSimpleAI * SwigDirector_GSimpleAIFactory::DoCreate (  )  const [virtual]

Implements gSimpleAIFactory.

Definition at line 2857 of file armagetronad_wrap.cxx.

References NULL, SWIG_ArgError, SWIG_as_voidptr, SWIG_ConvertPtrAndOwn, SWIG_ErrorType, SWIG_IsOK, swig_owntype, SWIG_POINTER_DISOWN, and SWIGTYPE_p_gSimpleAI.

Referenced by _wrap_GSimpleAIFactory_do_create().

02857                                                          {
02858   gSimpleAI *c_result ;
02859   VALUE result;
02860   void *swig_argp ;
02861   int swig_res ;
02862   swig_owntype own ;
02863   
02864   result = rb_funcall(swig_get_self(), rb_intern("do_create"), 0, NULL);
02865   swig_res = SWIG_ConvertPtrAndOwn(result, &swig_argp, SWIGTYPE_p_gSimpleAI,  0  | SWIG_POINTER_DISOWN, &own);
02866   if (!SWIG_IsOK(swig_res)) {
02867     Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError(swig_res)), "in output value of type '""gSimpleAI *""'");
02868   }
02869   c_result = reinterpret_cast< gSimpleAI * >(swig_argp);
02870   swig_acquire_ownership_obj(SWIG_as_voidptr(c_result), own);
02871   return (gSimpleAI *) c_result;
02872 }

Here is the caller graph for this function:


The documentation for this class was generated from the following files:
Generated on Sat Mar 15 23:54:49 2008 for Armagetron Advanced by  doxygen 1.5.4