VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
influenceDispatcherServiceInterface.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2021 MAK Technologies, Inc.
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #pragma once
11 
12 #include "vrfcore/vrfcoreDefines.h"
13 #include <vlutil/vlSmartPointers.h>
14 #include <string>
15 
16 class DtUUID;
17 
18 namespace makVrfEvents
19 {
20  class DtInfluenceEvent;
21 }
22 
27 {
28 private:
31 
32 public:
34 
35  typedef void (*DtInfluenceEventFunction)(std::shared_ptr<const makVrfEvents::DtInfluenceEvent> influenceEvent, void* usr);
36 
38  virtual void registerForInfluenceEvents(const DtUUID& uuid, DtInfluenceEventFunction func, void* userData) = 0;
40  virtual void unregisterForInfluenceEvents(const DtUUID& uuid, DtInfluenceEventFunction func, void* userData) = 0;
41 
46  virtual void registerForEventsByInfluenceName(const std::string& sInfluenceName, DtInfluenceEventFunction func, void* userData) = 0;
47  virtual void unregisterForEventsByInfluenceName(const std::string& sInfluenceName, DtInfluenceEventFunction func, void* userData) = 0;
49 };
UUID is a unique ID wrapper class.
Definition: uuid.h:59
Abstract interface class to the influence dispatcher service. This service provides DtInfluenceEvent ...
Definition: influenceDispatcherServiceInterface.h:26
#define DT_DLL_vrfcore
This file is used to determine how to build.
Definition: vrfcoreDefines.h:25

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)