VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
iffLocalNetInterface.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 DtIffStateComponent;
14 
20 
22  {
23  private:
26 
29 
31  const DtIffLocalNetInterface & operator=(const DtSimObjectNetInterface& orig);
32 
33  public:
34 
40  bool publishObject = true);
41 
43  virtual ~DtIffLocalNetInterface();
44 
47  virtual bool init(const DtStateComponent*);
48 
51  virtual DtString type() const;
52 
53  static DtSimObjectNetInterface * creator(
54  DtStateData* vrfObject, DtVrlinkNetworkInterface* mgr, bool publishObject);
55 
56  virtual bool isLocal() const
57  {
58  return true;
59  }
60 
61  virtual bool wantsToCreatePublisher() const;
62 
63  protected:
64  virtual DtObjectPublisher* createPublisher(const DtIffStateComponent*);
65  virtual void updatePublisher(DtObjectPublisher*, const DtIffStateComponent*);
66 
67  virtual void updatePublisher();
68  virtual bool shouldPublish() const;
69 
70  protected:
72  mutable bool myWasOnceOn;
73  };
74 }
const DtIffStateComponent * myIffComponent
Definition: iffLocalNetInterface.h:71
virtual bool isLocal() const
Is this network interface for a local (true) or remote (false) object? Local network interfaces shoul...
Definition: iffLocalNetInterface.h:56
bool myWasOnceOn
Definition: iffLocalNetInterface.h:72
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: localStateComponentNetInterface.h:22
Definition: stateComponent.h:51
DT_DLL_DEBUGDRAWRENDERER void init(makVrv::DtDe &de)
Work function for the plugin initialization.
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: iffStateComponent.h:428
Class Description: DtIffLocalNetInterface.
Definition: iffLocalNetInterface.h:21

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)