VR-Forces 4.3.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtChannelKeywordObjectFactory.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2010 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: DtChannelKeywordObjectFactory.h,v $ $Revision: 1.13 $ $State: Exp $
7 *******************************************************************************/
8 
12 
13 #pragma once
14 
15 #include <vrvCore/vrvCore.h>
17 
18 #include <boost/unordered_map.hpp>
19 #include <string>
20 
21 namespace makVrv
22 {
23 
24  class DtDe;
25  class DtChannelKeywordObjectCreator;
26  class DtChannelKeywordObject;
27  class DtChannelConfiguration;
28 
34  {
35  public:
36 
38  static DtChannelKeywordObjectFactory& instance(DtDe& de);
39 
40  static void registerInstance(DtDe& de, DtChannelKeywordObjectFactory* anInstance);
41 
44 
47  virtual void registerChannelKeywordObjectCreator(const std::string& keyword,
49 
53  virtual DtChannelKeywordObject* createChannelKeywordObject(const std::string& keyword,
54  const std::string& displayName, const std::string& windowName,
55  const DtChannelConfiguration& channelConfig ) const;
56 
57  virtual bool isKeywordRegistered( const std::string& keyword ) const;
58 
59  protected:
63 
64  protected:
65  typedef boost::unordered_map<std::string, DtChannelKeywordObjectCreator*> RegistrationMap;
66 
69  };
70 }

Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)