dtDIS::IDISPlugin Class Reference

the interface for all DIS plugins More...

#include <idisplugin.h>

List of all members.

Public Member Functions

virtual ~IDISPlugin ()
virtual void Start (DIS::IncomingMessage &incoming, dtDIS::OutgoingMessage &outgoing, dtGame::GameManager *gm, dtDIS::SharedState *config)=0
 plugin is informed of the state of the game.
virtual void Finish (DIS::IncomingMessage &incoming, dtDIS::OutgoingMessage &outgoing)=0
 plugin should forget the state of the game.


Detailed Description

the interface for all DIS plugins

Constructor & Destructor Documentation

IDISPlugin::~IDISPlugin (  )  [virtual]


Member Function Documentation

virtual void dtDIS::IDISPlugin::Start ( DIS::IncomingMessage &  incoming,
dtDIS::OutgoingMessage outgoing,
dtGame::GameManager gm,
dtDIS::SharedState config 
) [pure virtual]

plugin is informed of the state of the game.

called after being successfully loaded.

Parameters:
incoming used to attach packet handlers.
outgoing used to attach message handlers.
gm used to deliver the state of the game.
config used to share connection and setup data.

virtual void dtDIS::IDISPlugin::Finish ( DIS::IncomingMessage &  incoming,
dtDIS::OutgoingMessage outgoing 
) [pure virtual]

plugin should forget the state of the game.

called before unloading.


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