VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
radioReceiverLocalNetInterface.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 
18 namespace makVrf
19 {
20  class DtRadioReceiverStateComponent;
21 
23  {
24  private:
27 
30 
33  orig);
34 
35  public:
36 
41  DtRadioReceiverLocalNetInterface(DtStateData * simObject, DtVrlinkNetworkInterface* objectManager, bool publishObject = true);
42 
45 
48  virtual bool init(const DtStateComponent*);
49 
52  virtual DtString type() const;
53 
54  static DtSimObjectNetInterface * creator(
55  DtStateData* vrfObject, DtVrlinkNetworkInterface* mgr, bool publishObject);
56 
57  virtual bool wantsToCreatePublisher() const;
58 
59  virtual bool isLocal() const
60  {
61  return true;
62  }
63 
65  virtual DtGlobalObjectDesignator hostId() const;
66 
67  protected:
68  virtual void updatePublisher();
69  virtual DtObjectPublisher* createPublisher(const DtRadioReceiverStateComponent*);
70  virtual void updatePublisher(DtObjectPublisher*, const DtRadioReceiverStateComponent*);
71 
72  protected:
74  };
75 }
virtual bool isLocal() const
Is this network interface for a local (true) or remote (false) object? Local network interfaces shoul...
Definition: radioReceiverLocalNetInterface.h:59
The overall structure of the DtStateData mechanism is: The DtStateData contains a list of double buff...
Definition: stateData.h:336
Class Description: DtSimObjectNetInterface.
Definition: simObjectNetInterface.h:48
Definition: radioReceiverLocalNetInterface.h:22
Definition: localStateComponentNetInterface.h:22
Definition: stateComponent.h:51
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: radioReceiverStateComponent.h:64
DT_DLL_DEBUGDRAWRENDERER void init(makVrv::DtDe &de)
Work function for the plugin initialization.
const DtRadioReceiverStateComponent * myRadioReceiverComponent
Definition: radioReceiverLocalNetInterface.h:73

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)