VR-Link API Documentation for DIS
strtUpdCbList.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 DtUpdateControlCbList103_H_
00011 #define DtUpdateControlCbList103_H_
00012 
00013 #if DtHLA 
00014 
00015 #if DtRTI103
00016 
00017 #include <vlutil/vlList.h>
00018 #include "rtiNamespace.h"
00019 
00020 
00021 
00022 typedef void (*DtUpdateControlCb)(
00023    RTI::ObjectClassHandle objectClass,
00024    const RTI::AttributeHandleSet& attributeSet,
00025    void* usr);
00026 
00027 typedef DtUpdateControlCb DtStartUpdatesCb;
00028 typedef DtUpdateControlCb DtStopUpdatesCb;
00029 
00030 
00036 
00037 class DT_DLL_VL DtUpdateControlCbList
00038 {
00039 public:
00040 
00042    DtUpdateControlCbList();
00043 
00045    virtual ~DtUpdateControlCbList();
00046 
00048    DtUpdateControlCbList(
00049       const DtUpdateControlCbList& orig);
00050 
00052    DtUpdateControlCbList& operator=(
00053       const DtUpdateControlCbList& orig);
00054 
00057    virtual int add(RTI::ObjectClassHandle h, DtUpdateControlCb cb, 
00058       void* usr);
00059    virtual int remove(RTI::ObjectClassHandle h, DtUpdateControlCb cb, 
00060       void* usr);
00061 
00063    virtual void clear();
00064 
00067    virtual void apply(RTI::ObjectClassHandle objectClass,
00068       const RTI::AttributeHandleSet& hSet);
00069 
00070 protected:
00071 
00075    void dtorClear();
00076 
00079    void ctorCopyList(const DtUpdateControlCbList& orig);
00080 
00081 protected:
00082 
00083    DtList myList;
00084 };
00085 
00086 typedef DtUpdateControlCbList DtStartUpdatesCbList;
00087 typedef DtUpdateControlCbList DtStopUpdatesCbList;
00088 
00089 #endif
00090 #endif
00091 #endif
00092 

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)