VR-Forces 4.10 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 
9 
10 #pragma once
11 
12 #include <vrvCore/vrvCore.h>
14 
15 #include <boost/unordered_map.hpp>
16 #include <string>
17 
18 namespace makVrv
19 {
20 
21  class DtDe;
22  class DtChannelKeywordObjectCreator;
23  class DtChannelKeywordObject;
24  class DtChannelConfiguration;
25 
31  {
32  public:
33 
35  static DtChannelKeywordObjectFactory& instance(DtDe& de);
36 
37  static void registerInstance(DtDe& de, DtChannelKeywordObjectFactory* anInstance);
38 
41 
44  virtual void registerChannelKeywordObjectCreator(const std::string& keyword,
46 
50  virtual DtChannelKeywordObject* createChannelKeywordObject(const std::string& keyword,
51  const std::string& displayName, const std::string& windowName,
52  const DtChannelConfiguration& channelConfig ) const;
53 
54  virtual bool isKeywordRegistered( const std::string& keyword ) const;
55 
56  protected:
60 
61  protected:
62  typedef boost::unordered_map<std::string, DtChannelKeywordObjectCreator*> RegistrationMap;
63 
66  };
67 }
The base class for all channel keyword objects.
Definition: DtChannelKeywordObject.h:25
DtDe & myDe
Definition: DtChannelKeywordObjectFactory.h:64
Virtual base class.
Definition: DtVirtualBaseClass.h:19
boost::unordered_map< std::string, DtChannelKeywordObjectCreator * > RegistrationMap
Definition: DtChannelKeywordObjectFactory.h:62
The polymorphic creator for the DtChannelKeywordObject.
Definition: DtChannelKeywordObject.h:68
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:30
RegistrationMap myCreators
Definition: DtChannelKeywordObjectFactory.h:65
Contains DLL export macros.

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)