VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
getSelfCallbackInfo.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2004 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 
6 // \file getSelfCbInfo.h
7 // \ingroup readerWriter
8 
9 #pragma once
10 
11 #include <mtl/mtl.h>
12 
13 class DtReaderWriter;
14 
15 typedef void (*DtGetSelfCallbackFcn)(
16  DtReaderWriter* obj, DtlObjPtr args, void* userData);
17 
23 
26 {
27 public:
28 
31 
34  DtGetSelfCallbackFcn cb, void* userData);
35 
37  virtual ~DtGetSelfCallbackInfo();
38 
41 
43  DtGetSelfCallbackInfo& operator=(
44  const DtGetSelfCallbackInfo& orig);
45 
47  int operator==(const DtGetSelfCallbackInfo& orig) const;
48  int operator!=(const DtGetSelfCallbackInfo& orig) const;
49 
51  virtual void setCallbackFunction(DtGetSelfCallbackFcn funct);
52  virtual DtGetSelfCallbackFcn callbackFunction() const;
53 
55  virtual void setArgs(DtlObjPtr args);
56  virtual DtlObjPtr args() const;
57 
60  virtual void setUserData(void* data);
61  virtual void* userData() const;
62 
63 protected:
64 
66  DtlObjPtr myArgs;
67  void* myUserData;
68 };
69 
class DtGetSelfCallbackInfo:
Definition: getSelfCallbackInfo.h:25
#define DT_DLL_readerWriter
This file is used to determine how to build Disable inconsistent dll linkage warning Visual Studio 6...
Definition: readerWriterDefines.h:34
DT_DLL_terrainCS bool operator==(const DtDegMinSec &lhs, const DtDegMinSec &rhs)
Definition: readerWriter.h:85
void * myUserData
Definition: getSelfCallbackInfo.h:67
DtGetSelfCallbackFcn myCallbackFunction
Definition: getSelfCallbackInfo.h:65
void(* DtGetSelfCallbackFcn)(DtReaderWriter *obj, DtlObjPtr args, void *userData)
Definition: getSelfCallbackInfo.h:15
DT_DLL_terrainCS bool operator!=(const DtDegMinSec &lhs, const DtDegMinSec &rhs)
DtlObjPtr myArgs
Definition: getSelfCallbackInfo.h:66

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)