VR-Forces 4.0.4 Class Documentation
include/vrfutil/getSelfCbInfo.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 ** Copyright (c) 2004 MaK Technologies, Inc.
00003 ** All rights reserved.
00004 *********************************************************************/
00005 /*********************************************************************
00006 ** $RCSfile: getSelfCbInfo.h,v $ $Revision: 1.3 $ $State: Exp $
00007 *********************************************************************/
00008 
00011 
00012 #ifndef DtGetSelfCallbackInfo_H_
00013 #define DtGetSelfCallbackInfo_H_
00014 
00015 #include <mtl/mtl.h>
00016 
00017 class DtReaderWriter;
00018 
00019 typedef void (*DtGetSelfCallbackFcn)(
00020    DtReaderWriter* obj, DtlObjPtr args, void* userData);
00021 
00027 
00028 #include "vrfutil/vrfutilDefines.h"
00029 class DT_DLL_vrfutil DtGetSelfCallbackInfo
00030 {
00031 public:
00032 
00034    DtGetSelfCallbackInfo();
00035 
00037    DtGetSelfCallbackInfo(
00038       DtGetSelfCallbackFcn cb, void* userData);
00039 
00041    virtual ~DtGetSelfCallbackInfo();
00042 
00044    DtGetSelfCallbackInfo(const DtGetSelfCallbackInfo& orig);
00045 
00047    DtGetSelfCallbackInfo& operator=(
00048       const DtGetSelfCallbackInfo& orig);
00049 
00051    int operator==(const DtGetSelfCallbackInfo& orig) const;
00052    int operator!=(const DtGetSelfCallbackInfo& orig) const;
00053 
00055    virtual void setCallbackFunction(DtGetSelfCallbackFcn funct);
00056    virtual DtGetSelfCallbackFcn callbackFunction() const;
00057 
00059    virtual void setArgs(DtlObjPtr args);
00060    virtual DtlObjPtr args() const;
00061 
00064    virtual void setUserData(void* data);
00065    virtual void* userData() const;
00066 
00067 protected:
00068 
00069    DtGetSelfCallbackFcn myCallbackFunction;
00070    DtlObjPtr myArgs;
00071    void* myUserData;
00072 };
00073 
00074 #endif

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)