VR-Forces 4.0.4 Class Documentation
examples/objectManager/myObjectManager.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2003 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: myObjectManager.h,v $ $Revision: 1.4 $ $State: Exp $
00007 *******************************************************************************/
00008 
00009 #ifndef MyObjectManager_H_
00010 #define MyObjectManager_H_
00011 
00012 #include "vrfobjcore/vrfObjMgr.h"
00013 
00014 class MyObjectManager : public DtVrfObjectManager
00015 {
00016 public:
00017 
00018    //The constructor takes a DtSimManager and entityAdvisory which get passed 
00019    //to the base class
00020    MyObjectManager(DtSimManager* simManager, int entityAdvisory);
00021 
00022    //destructor
00023    virtual ~MyObjectManager();
00024 
00025    //This is a good place to add your own behavior.
00026    virtual void tick();
00027 
00028 public:
00029 
00030    //Creator function to be registered with the DtDefaultVrfCreator from
00031    //main.cxx
00032    static DtVrfObjectManager* creator(DtSimManager* simManager, 
00033       int entityAdvisory);
00034 
00035 };
00036 
00037 #endif
00038 
00039 

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)