VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
iProcessor.h
Go to the documentation of this file.
1 /******************************************************************************
2  * Copyright (c) 2026 MAK Technologies, Inc.
3  * All rights reserved.
4  ******************************************************************************/
5 
6 #pragma once
7 
8 struct DtVrfContext;
9 
26 {
27 public:
28  virtual ~DtProcessor() = default;
29 
34  virtual void initialize(const DtVrfContext& context) = 0;
35 
38  virtual void poll() = 0;
39 
42  virtual void dispatchPendingEvents() = 0;
43 
45  virtual void shutdown() = 0;
46 
48  virtual int count() const = 0;
49 };
virtual void initialize(const DtVrfContext &context)=0
Called once before the first tick.
virtual void shutdown()=0
Called on teardown. Release any resources.
DtVrfContext - Bundles the VRF runtime objects passed to a processor on initialization. All pointers remain valid for the lifetime of the processor.
Definition: vrfManager.h:59
DtProcessor - Abstract base interface for per-client data processors.
Definition: iProcessor.h:25
virtual ~DtProcessor()=default
virtual void poll()=0
Called each tick while the VRF API mutex is held. Collect state changes and queue them internally...
virtual int count() const =0
Number of objects currently known to this processor.
virtual void dispatchPendingEvents()=0
Called each tick AFTER the VRF API mutex is released. Deliver any queued change notifications.

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)