VR-Exchange 2.5 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
simpleBroker.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2013 VT MAK
3  * All rights reserved.
4  ****************************************************************************/
5 
6 #pragma once
7 
8 #include <broker/broker.h>
9 
10 #include "sEntityTrans.h"
11 #include "sFireTrans.h"
12 
13 class DtExerciseConn;
14 
15 namespace MAKVrExchange
16 {
17  class DtBrokerInitializer;
18 }
19 
20 // A simple broker class that implements DtBroker for the DIS protocol.
21 // All broker applications must have a DtBrokerInstance. The DtBroker class
22 // manages the application by listening for control messages from the
23 // dataExchange.
25 {
26 public:
27 
28  // Create method - instantiates a new DtSimpleBroker.
30 
31 protected:
32 
33  // Protected CTOR (use ::create()).
35 
36 public:
37 
38  // Virtual DTOR.
39  virtual ~DtSimpleBroker();
40 
41  // Initialization function - called from ::create().
42  virtual void initialize( MAKVrExchange::DtBrokerInitializer* init );
43 
44  virtual DtExerciseConn* disExConn();
45 
46 protected:
47 
48  // Must provide a Tick Function. This is called periodically.
49  virtual void tick();
50 
51 protected:
52 
53  DtExerciseConn* myDisExConn;
56 
57 };

Document ID: Generated on Wed Dec 21 15:05:11 EST 2016 from SVN revision 171891
Copyright © 2005-2016 VT MÄK. All Rights Reserved (www.mak.com)