VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
linkStrategy.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 
12 
14 
15 #include <vlutil/vlPrint.h>
16 
17 #include <string>
18 #include <list>
19 
20 class DtMessage;
21 class DtManagedInterface;
22 
25 {
26 public:
28  DtLinkStrategy(std::string name, DtManagedInterface* link);
29 
31  virtual ~DtLinkStrategy();
32 
34  std::string name();
35 
38  virtual bool init()=0;
39 
41  virtual void tick();
42 
44  virtual void shutdown();
45 
48  //{@
49  virtual void addChildStrategy(DtLinkStrategy* strategy);
50  virtual bool removeChildStrategy(std::string name);
51  virtual DtLinkStrategy* findStrategy(std::string name);
53 
54 protected:
56  std::string myName;
57 
59 
60  std::list<DtLinkStrategy*> myChildStrategies;
61 };

Document ID: Generated on Wed Jan 7 13:31:29 EST 2015 from SVN revision 149162
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)