mvBaseAction Class Reference

Interface/Abstract class for creating user-defined behaviours or actions. More...

#include <mvBaseAction.h>

Inheritance diagram for mvBaseAction:

mvEvasion mvFlee mvFollowPath mvPursuit mvSeek

List of all members.

Public Member Functions

virtual bool bodyOp (mvBehaviourResultPtr resultModule)=0
 pure virtual function for user defined behaviour operation for group nodes
virtual mvErrorEnum getParameterf (mvParamEnum paramFlag, mvFloat *num) const
 blah blah
virtual mvErrorEnum getParameteri (mvParamEnum paramFlag, mvIndex *index) const
 blah blah
virtual mvErrorEnum getParametero (mvParamEnum paramFlag, mvOptionEnum *option) const
 blah blah
virtual mvErrorEnum getParameterv (mvParamEnum paramFlag, mvFloat *numArray, mvCount *noOfElements) const
 blah blah
mvOptionEnum getType () const
 blah blah
virtual bool groupOp (mvGroupBehaviourResultPtr resultModule)=0
 pure virtual function for user defined behaviour operation for each single body
 mvBaseAction (mvOptionEnum type)
 blah blah
virtual mvErrorEnum setParameterf (mvParamEnum paramFlag, mvFloat num)
 blah blah
virtual mvErrorEnum setParameteri (mvParamEnum paramFlag, mvIndex index)
 blah blah
virtual mvErrorEnum setParametero (mvParamEnum paramFlag, mvOptionEnum option)
 blah blah
virtual mvErrorEnum setParameterv (mvParamEnum paramFlag, mvFloat *numArray)
 blah blah
virtual ~mvBaseAction ()
 blah blah


Detailed Description

Interface/Abstract class for creating user-defined behaviours or actions.

Constructor & Destructor Documentation

mvBaseAction::mvBaseAction ( mvOptionEnum  type  ) 

blah blah

Copyright (c) 2006, 2007 David Young.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


Member Function Documentation

virtual bool mvBaseAction::bodyOp ( mvBehaviourResultPtr  resultModule  )  [pure virtual]

pure virtual function for user defined behaviour operation for group nodes

Parameters:
[in,out] resultModule module for retrieving and setting cooperative variables
Returns:
values true (perform) / false (break/ no operation)

Implemented in mvEvasion, mvFlee, mvFollowPath, mvPursuit, and mvSeek.

virtual bool mvBaseAction::groupOp ( mvGroupBehaviourResultPtr  resultModule  )  [pure virtual]

pure virtual function for user defined behaviour operation for each single body

Parameters:
[in,out] resultModule module for retrieve and setting motion
Returns:
values true (perform) / false (break/ no operation)

Implemented in mvEvasion, mvFlee, mvFollowPath, mvPursuit, and mvSeek.


The documentation for this class was generated from the following files:
Generated on Wed Nov 14 17:04:59 2007 for mvMotionAI by  doxygen 1.5.3