VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
attachedPart.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2010 MAK Technologies, Inc
3 ** All rights reserved.
4 *********************************************************************/
5 
8 
9 #ifndef attachedPart_H_
10 #define attachedPart_H_
11 
12 #include <vlutil/vlMachineTypes.h>
13 
14 #include "entityType.h"
15 
23 {
24 public:
28 
30  virtual ~DtAttachedPart();
31 
33  DtAttachedPart(const DtAttachedPart& orig);
34 
36  DtAttachedPart& operator=(const DtAttachedPart& orig);
37 
39  bool operator==(const DtAttachedPart& other) const;
47  bool operator!=(const DtAttachedPart& other) const;
49 
51  virtual const DtEntityType& entityType() const;
53  virtual void setEntityType(const DtEntityType& entType);
55 
57  virtual bool detached() const;
61  virtual void setDetached(bool det);
63 
65  virtual unsigned int attachedTo() const;
69  virtual void setAttachedTo(unsigned int where);
71 
72 protected:
74  bool myDetached;
75  unsigned short myAttachedTo;
76 };
77 
78 #endif
79 
80 
81 
const bool operator==(const DtU128 &lhs, const DtU128 &rhs)
Contains the DtEntityType and DtRadioEntityType class declarations.
DtEntityType myEntityType
Definition: attachedPart.h:73
bool myDetached
Definition: attachedPart.h:74
A representation of a single attached part, which contains an entity type.
Definition: attachedPart.h:22
unsigned short myAttachedTo
Definition: attachedPart.h:75
#define DT_DLL_VLPROTIND
Definition: vlMachineTypes.h:110
const bool operator!=(const DtU128 &lhs, const DtU128 &rhs)
This file contains typedefs for machine dependant types.
DtEntityType is used to represent the type an entity object.
Definition: entityType.h:26

Document ID: Generated on Wed Mar 27 02:04:30 EDT 2024 from SVN revision 264570
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)