VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
linearObjectRepository.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 1992-2025 MAK Technologies, Inc
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #pragma once
11 
16 #include <vl/exhaustSmokeRecord.h>
17 
18 #if DtHLA
19 class DtHlaObjectManager;
20 #else
21 class DtDisObjectManager;
22 #endif
23 
50 {
51 public:
52 
55 
58 
61 
63  virtual ~DtLinearObjectRepository();
64 
67 
69  virtual DtStateRepository* clone( bool copy ) const;
70 
75  virtual bool setNumSegments( int newNumber );
76  virtual int numSegments() const;
77 
78  virtual bool setSegment( int index, const DtLinearSegmentRecord& record );
79  virtual bool segment( int index, DtLinearSegmentRecord& record ) const;
81 
82  virtual void printData() const;
83  virtual void printDataToStream( std::ostream& stream ) const;
84 
85 protected:
86 
89 
90 };
int myNumSegments
Definition: linearObjectRepository.h:87
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
Contains the DtEnvironmentObjectRepository class declaration.
DtLinearSegmentRecord * mySegments
Definition: linearObjectRepository.h:88
static DtEnvironmentObjectRepository * create()
Contains the DtBreachableSegmentRecord class declaration.
Instances of DtLinearSegmentRecord are used to implement the LinearSegmentStruct defined in the RPR F...
Definition: linearSegmentRecord.h:19
virtual DtStateRepository * clone(bool copy) const
Return a copy/empty object of the same type as this.
Instances of DtEnvironmentObjectRepository are used to maintain state information needed by environme...
Definition: environmentObjectRepository.h:24
virtual void printDataToStream(std::ostream &stream) const
Prints data to the specified stream.
DtStateRepository is an abstract base class for maintaining state for an object.
Definition: stateRepository.h:50
Contains the DtExhaustSmokeRecord class declaration.
virtual void printData() const
Prints data to DtInfo.
DtEnvironmentObjectRepository & operator=(const DtEnvironmentObjectRepository &orig)
Assignment operator.
Instances of DtLinearObjectRepository are used to maintain state information needed by linear object ...
Definition: linearObjectRepository.h:49
Instances of DtDisObjectManager are used to manage the set of DIS objects known to the federate...
Definition: disObjectManager.h:21

Document ID: Generated on Thu Oct 16 00:12:25 EDT 2025 from SVN revision 280738
Copyright © 1992-2025 MAK Technologies. All Rights Reserved (www.mak.com)