dtAI::NPCState Class Reference

#include <npcstate.h>

List of all members.

Public Types

typedef dtUtil::Enumeration Type
typedef std::list
< osg::ref_ptr
< dtUtil::Command< void > > > 
CommandList
typedef dtUtil::Command< void > * CommandPtr
typedef dtUtil::Functor< void,
TYPELIST_1(double)> 
UpdateFunctor

Public Member Functions

 NPCState ()
 NPCState (const Type *pType)
void SetType (const Type *stateType)
const TypeGetType () const
const std::string & GetName () const
void OnEntry ()
 Executes the entry commands.
void OnExit ()
void AddEntryCommand (CommandPtr pCommand)
void AddExitCommand (CommandPtr pCommand)
void RemoveEntryCommand (CommandPtr pCommand)
void RemoveExitCommand (CommandPtr pCommand)
void SetUpdate (const UpdateFunctor &pUpdate)
UpdateFunctorGetUpdate ()

Protected Member Functions

 ~NPCState ()
 NPCState (const NPCState &)
const NPCStateoperator= (const NPCState &)


Member Typedef Documentation

typedef dtUtil::Enumeration dtAI::NPCState::Type

typedef std::list<osg::ref_ptr<dtUtil::Command<void> > > dtAI::NPCState::CommandList

typedef dtUtil::Command<void>* dtAI::NPCState::CommandPtr

typedef dtUtil::Functor<void, TYPELIST_1(double)> dtAI::NPCState::UpdateFunctor


Constructor & Destructor Documentation

dtAI::NPCState::NPCState (  ) 

dtAI::NPCState::NPCState ( const Type pType  ) 

dtAI::NPCState::~NPCState (  )  [protected]

dtAI::NPCState::NPCState ( const NPCState  )  [protected]


Member Function Documentation

void dtAI::NPCState::SetType ( const Type stateType  ) 

const NPCState::Type * dtAI::NPCState::GetType (  )  const

const std::string & dtAI::NPCState::GetName (  )  const

void dtAI::NPCState::OnEntry (  ) 

Executes the entry commands.

void dtAI::NPCState::OnExit (  ) 

void dtAI::NPCState::AddEntryCommand ( CommandPtr  pCommand  ) 

void dtAI::NPCState::AddExitCommand ( CommandPtr  pCommand  ) 

void dtAI::NPCState::RemoveEntryCommand ( CommandPtr  pCommand  ) 

void dtAI::NPCState::RemoveExitCommand ( CommandPtr  pCommand  ) 

void dtAI::NPCState::SetUpdate ( const UpdateFunctor pUpdate  ) 

NPCState::UpdateFunctor & dtAI::NPCState::GetUpdate (  ) 

const NPCState& dtAI::NPCState::operator= ( const NPCState  )  [protected]


http://www.delta3d.org
2.0.0 generated 14 Feb 2008