VR-Exchange 2.6 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
underwaterAcousticsPublisherManager.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2013 VT MAK
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <disBroker/dllExport.h>
13 #include <vlutil/vlString.h>
14 #include <map>
15 
16 class DtUnderwaterAcousticsPublisher;
17 
18 namespace MAKVrExchange
19 {
20 
21  namespace DtDisBroker
22  {
23 
24  class DtUnderwaterAcousticsPublisherManager;
25 
27  typedef DtUnderwaterAcousticsPublisherManager* (*DtUnderwaterAcousticsPublisherManagerCreator)();
28 
36  {
37  public:
38 
41  typedef DtString PortalId;
42 
43  public:
44 
47 
50 
53  virtual DtUnderwaterAcousticsPublisher* findPublisher(
54  const PortalId& hostId ) const;
55 
62  virtual bool registerPublisher( const PortalId& hostId,
63  DtUnderwaterAcousticsPublisher* publisher );
64 
70  virtual void checkoutPublisher(
71  DtUnderwaterAcousticsPublisher* publisher );
72 
77  virtual void releasePublisher( const PortalId& hostId );
78 
80  virtual int numPublishers() const;
81 
83  virtual void tickPublishers();
84 
85  protected:
86 
88  typedef std::map<PortalId,DtUnderwaterAcousticsPublisher*> PortalIdToPublisherMap;
90 
92  typedef std::map<DtUnderwaterAcousticsPublisher*,int> PublisherUsageCountsMap;
94 
95  };
96 
97  }
98 }

Document ID: Generated on Wed Jan 30 18:15:18 EST 2019 from SVN revision 195534
Copyright © 2005-2019 VT MÄK. All Rights Reserved (www.mak.com)