VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
subscribeStrategy.h
Go to the documentation of this file.
1 /*********************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************************/
5 
6 #pragma once
7 
11 
14 #include "messages/subscribe.h"
16 
17 #include <vlutil/vlPrint.h>
18 
19 #include <string>
20 #include <list>
21 
22 class DtMessage;
23 class DtManagedInterface;
24 class DtExerciseConn;
25 
28 {
29 public:
31  DtSubscribeStrategy(std::string name, DtManagedInterface* link, std::string subscribeClassName, SubscribeMessage::SubscribeType subscribeType);
32 
34  virtual ~DtSubscribeStrategy();
35 
37  virtual void shutdown();
38  void handleSubscriptionChange(DtMessage* msg);
39 
40 protected:
41 
43  virtual void addVrlCallback(DtExerciseConn* exConn) = 0;
44  virtual void removeVrlCallback(DtExerciseConn* exConn) = 0;
45 
48  std::string myClassName;
50 };

Document ID: Generated on Fri Dec 2 02:42:08 EST 2016 from SVN revision 171416
Copyright © 2005-2016 VT MÄK. All Rights Reserved (www.mak.com)