VR-Link API Documentation for HLA 1.3
stIntCbList.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 ** Copyright (c) 1992-2010 VT MAK
00003 ** All rights reserved.
00004 *********************************************************************/
00005 
00006 
00009 
00010 #ifndef DtStartStopInterCbList_H_
00011 #define DtStartStopInterCbList_H_
00012 
00013 #if   DtHLA 
00014 
00015 
00016 #include "rtiNamespace.h"
00017 #include <vlutil/vlList.h>
00018 
00019 
00020 
00021 typedef void (*DtStartStopInterCb)(
00022    RTI::InteractionClassHandle intClass,
00023    void* usr);
00024 
00031 
00032 class DT_DLL_VL DtStartStopInterCbList
00033 {
00034 public:
00035 
00037    DtStartStopInterCbList();
00038 
00040    virtual ~DtStartStopInterCbList();
00041 
00043    DtStartStopInterCbList(
00044       const DtStartStopInterCbList& orig);
00045 
00047    DtStartStopInterCbList& operator=(
00048       const DtStartStopInterCbList& orig);
00049 
00052    virtual int add(RTI::InteractionClassHandle hand, 
00053       DtStartStopInterCb cb, 
00054       void* usr);
00055    virtual int remove(RTI::InteractionClassHandle hand, 
00056       DtStartStopInterCb cb, 
00057       void* usr);
00058 
00060    virtual void clear();
00061 
00065    virtual void apply(RTI::InteractionClassHandle interClass);
00066 
00067 protected:
00068 
00072    void dtorClear();
00073 
00076    void ctorCopyList(const DtStartStopInterCbList& orig);
00077 
00078 protected:
00079 
00080    DtList myList;
00081 };
00082 
00083 #endif
00084 #endif
00085 

Document ID: Generated on Mon May 14 08:06:18 EDT 2012 from SVN revision 114750
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)