VR-Link C# API Documentation
 All Classes Files Functions Variables Enumerations Enumerator Macros Pages
entityRemoved.h
Go to the documentation of this file.
1 /*********************************************************************************
2 ** Copyright (c) 2014 MAK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************************/
5 
6 #pragma once
7 
8 #include "strategies/export.h"
9 #include "managedInterface/linkStrategy.h"
10 #include "managedInterface/managedInterface.h"
11 #include "managedInterface/publisherList.h"
12 
13 #include <string>
14 #include <list>
15 
16 class DtMessage;
17 class DtManagedInterface;
18 class DtReflectedEntity;
19 class DtReflectedEntityList;
20 class DtEntityPublisher;
21 
23 {
24 public:
25  virtual ~DtEntityRemovedStrategy();
26 
27  std::string name();
28  static std::string theName();
29 
30  virtual bool init();
31  virtual void tick();
32  virtual void shutdown();
33 
34  static DtLinkStrategy* create(DtManagedInterface* gl);
35 
36 protected:
37  DtEntityRemovedStrategy(DtManagedInterface* link);
38  void handleCSharpEntityRemoved(DtMessage* msg);
39  static void vrlEntityRemoved(DtReflectedEntity* ent, void* usr);
40  void handleVrlEntityRemoved(DtReflectedEntity* ent);
41 
42  DtReflectedEntityList* myRel;
43  DtPublisherList<DtEntityPublisher>* myPubs;
44 
45  static std::string theStrategyName;
46 
47  DtMessageDelegate* myHandler;
48 };

Document ID: Generated on Fri May 15 06:36:13 EDT 2015 from SVN revision 153263
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)