VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
remoteStateComponentNetInterface.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 class DtReflectedObject;
12 
19 namespace makVrf
20 {
21  class DtFrameStateInterface;
22 
24  {
25  private:
28 
31 
34  orig);
35 
36  public:
37 
43  bool publishObject = true);
44 
46  virtual ~DtRemoteStateComponentNetInterface() override;
47 
48  virtual bool isUnit() const override { return false; };
49  virtual bool isEntity() const override { return false; };
50  virtual bool isEnvironmental() const override { return false; };
51 
53  virtual void onTick() override;
54 
55  virtual bool isLocal() const override { return false; };
56 
58 
59  virtual void updateComponent() = 0;
60 
61  virtual bool wantsToCreatePublisher() const override {
62  return false;
63  }
64 
65  protected:
66  static void reflectedObjectUpdatedCallback(DtReflectedObject*, void*);
67  virtual void processReflectedObjectUpdated(DtReflectedObject*);
68 
69  protected:
73  };
74 }
virtual bool isEntity() const override
Definition: remoteStateComponentNetInterface.h:49
Class Description: DtStateComponentNetInterface.
Definition: stateComponentNetInterface.h:30
Definition: remoteStateComponentNetInterface.h:23
virtual bool isUnit() const override
Is this network interface for a local (true) or remote (false) object? Deriving network interfaces sh...
Definition: remoteStateComponentNetInterface.h:48
The overall structure of the DtStateData mechanism is: The DtStateData contains a list of double buff...
Definition: stateData.h:398
virtual bool isLocal() const override
Is this network interface for a local (true) or remote (false) object? Local network interfaces shoul...
Definition: remoteStateComponentNetInterface.h:55
virtual bool isEnvironmental() const override
Definition: remoteStateComponentNetInterface.h:50
bool myUpdatedOnNetwork
Definition: remoteStateComponentNetInterface.h:72
DtReflectedObject * myReflectedObject
Definition: remoteStateComponentNetInterface.h:70
DT_DLL_DEBUGDRAWRENDERER void init(makVrv::DtDe &de)
Work function for the plugin initialization.
virtual bool wantsToCreatePublisher() const override
Returns true if this interface wants to create a publisher. This cannot be done in parallel...
Definition: remoteStateComponentNetInterface.h:61
DtFrameStateInterface * myStateComponent
Definition: remoteStateComponentNetInterface.h:71
This is a simple base class that will be used to return a pointer to current or next frame state...
Definition: stateComponent.h:294

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)