VR-Link API Documentation for HLA 1516
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
refTestList.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 *********************************************************************/
5 #pragma once
6 #if DtHLA
7 
9 #include "refTest.h"
10 
17 {
18 public:
19 
22 
24  virtual ~ReflectedTestList();
25 
29 
31 #if DtHLA_1516
32  virtual ReflectedTest* lookup(RTI::ObjectInstanceHandle id);
33 #else
35 #endif
36 
38  virtual ReflectedTest* lookup(const DtGlobalObjectDesignator& objName);
39 
41  virtual ReflectedTest* first() const;
42  virtual ReflectedTest* last() const;
43 
46 
48  virtual void addTestAdditionCallback(
49  TestCallbackFunction cb, void* userData);
50  virtual void removeTestAdditionCallback(
51  TestCallbackFunction cb, void* userData);
52 
54  virtual void addTestRemovalCallback(
55  TestCallbackFunction cb, void* userData);
56  virtual void removeTestRemovalCallback(
57  TestCallbackFunction cb, void* userData);
58 
59 protected:
60 
64 };
65 
66 #endif
class DtReflectedObjectList
Definition: reflectedObjectListHLA.h:58
virtual DtReflectedObject * newReflectedObject(DtHlaObject *obj) const
Override of virtual function that the base class uses to create the appropriate kind of DtReflectedOb...
virtual ReflectedTest * lookup(RTI::ObjectInstanceHandle id)
The following public functions are not required by VR-Link, but they are strongly recommended...
Contains the HLA DtReflectedObjectList class declaration.
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnHLA.h:60
void(* TestCallbackFunction)(ReflectedTest *obj, void *userData)
Definition: refTest.h:16
Instances of ReflectedTest are used to represent "Test" objects simulated remotely, that we hear about through the RTI.
Definition: refTest.h:24
Instances of DtHlaObject are used to represent HLA objects which are communicated across the network...
Definition: hlaObject.h:56
ObjectInstanceHandle ObjectHandle
Definition: rtiCompatibility.h:192
virtual void addTestAdditionCallback(TestCallbackFunction cb, void *userData)
Functions that allow a user to register callbacks that will be called when "Test" objects are added a...
virtual void removeTestRemovalCallback(TestCallbackFunction cb, void *userData)
virtual ReflectedTest * first() const
Get the first/last object in the list.
class DtReflectedObject:
Definition: reflectedObjectHLA.h:36
An instance of this class manages the list of "Test" objects that are simulated remotely, and reflected to us by the RTI.
Definition: refTestList.h:16
ReflectedTestList(DtExerciseConn *exConn)
Constructor.
virtual ReflectedTest * last() const
virtual void removeTestAdditionCallback(TestCallbackFunction cb, void *userData)
virtual ~ReflectedTestList()
destructor
Instances of DtString are used to represent strings.
Definition: vlString.h:29
virtual void addTestRemovalCallback(TestCallbackFunction cb, void *userData)
Registration/deregistration of object removal callbacks.

Document ID: Generated on Mon Apr 25 03:39:01 EDT 2022 from SVN revision 242502
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)