VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
laserDesignatorLocalNetInterface.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2020 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 #pragma once
7 
10 
11 namespace makVrf
12 {
13  class DtLaserDesignatorStateComponent;
14 
20 
22  {
23  private:
26 
29 
32  orig);
33 
34  public:
35 
40  DtLaserDesignatorLocalNetInterface(DtStateData * simObject, DtVrlinkNetworkInterface* objectManager, bool publishObject = true);
41 
43  virtual ~DtLaserDesignatorLocalNetInterface() override;
44 
47  virtual bool init(const DtStateComponent*) override;
48 
51  virtual DtString type() const override;
52 
53  static DtSimObjectNetInterface * creator(
54  DtStateData* vrfObject, DtVrlinkNetworkInterface* mgr, bool publishObject);
55 
56  virtual bool isLocal() const override {
57  return true;
58  }
59 
60  virtual bool wantsToCreatePublisher() const override;
61 
62  protected:
63  virtual DtObjectPublisher* createPublisher(const DtLaserDesignatorStateComponent*);
64  virtual void updatePublisher(DtObjectPublisher*, const DtLaserDesignatorStateComponent*);
65 
66  virtual void updatePublisher() override;
67 
68  protected:
70  };
71 }
Class Description: DtLaserDesignatorLocalNetInterface.
Definition: laserDesignatorLocalNetInterface.h:21
virtual bool isLocal() const override
Is this network interface for a local (true) or remote (false) object? Local network interfaces shoul...
Definition: laserDesignatorLocalNetInterface.h:56
The overall structure of the DtStateData mechanism is: The DtStateData contains a list of double buff...
Definition: stateData.h:398
1) Define the interface class that will be used to represent the next and curent frames. The UNDEFINED_ macros are convenience macros that will define methods that throw exceptions (until they are implemented)
Definition: laserDesignatorStateComponent.h:61
Class Description: DtSimObjectNetInterface.
Definition: simObjectNetInterface.h:50
const DtLaserDesignatorStateComponent * myLaserComponent
Definition: laserDesignatorLocalNetInterface.h:69
Definition: localStateComponentNetInterface.h:22
Definition: stateComponent.h:52
DT_DLL_DEBUGDRAWRENDERER void init(makVrv::DtDe &de)
Work function for the plugin initialization.

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)