VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties 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 }
The base class for all channel keyword objects.
Definition: DtChannelKeywordObject.h:28
DtDe & myDe
Definition: DtChannelKeywordObjectFactory.h:67
Virtual base class.
Definition: DtVirtualBaseClass.h:22
boost::unordered_map< std::string, DtChannelKeywordObjectCreator * > RegistrationMap
Definition: DtChannelKeywordObjectFactory.h:65
The polymorphic creator for the DtChannelKeywordObject.
Definition: DtChannelKeywordObject.h:71
Contains makVrv::DtVirtualBaseClass class.
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
Configuration for a single channel Serialized and sent to remote displays as necessary to configure r...
Definition: DtChannelConfiguration.h:26
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
The scene object creators are registered with the scene object factory for accessing DtSceneObjectCre...
Definition: DtChannelKeywordObjectFactory.h:33
RegistrationMap myCreators
Definition: DtChannelKeywordObjectFactory.h:68
Contains DLL export macros.

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)