VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtModelSetStringProvider.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2009 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 #include <vrvCore/vrvCore.h>
13 #include <vrvUtil/DtUnicode.h>
14 #include <vector>
15 
16 namespace makVrv
17 {
18 
19  class DtDe;
20  enum class DtModelSetId;
21 
26  {
27 
28  public:
29 
30  typedef std::vector<DtUnicode> StringList;
31 
33  virtual ~DtModelSetStringProvider();
34 
37  static DtModelSetStringProvider& instance(DtDe& de);
38 
40  static void registerInstance(DtDe& de, DtModelSetStringProvider* instance);
41 
43  virtual void getModelSetList( StringList& outList ) const = 0;
44 
46  virtual DtUnicode modelSetToString( DtModelSetId modelSet ) const = 0;
47 
49  virtual int stringToModelSet( const DtUnicode& modelSetString ) const = 0;
50 
52  virtual int numModelSets() const = 0;
53 
56  virtual void setModelSetName( int modelSet, const DtUnicode& name ) = 0;
57 
58  protected:
59 
62 
63  protected:
64 
66  };
67 }
DtDe & myDe
Definition: DtModelSetStringProvider.h:65
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
A unicode string. DtUnicode stores a UTF-16 encoded unicode string. Code Point, a Unicode character...
Definition: DtUnicode.h:33
DtModelSetStringProvider is an interface for a class to provide strings for model sets...
Definition: DtModelSetStringProvider.h:25
Contains makVrv::DtVirtualBaseClass class.
std::vector< DtUnicode > StringList
Definition: DtModelSetStringProvider.h:30
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:76
DtModelSetId
Definition: DtModelSetEnums.h:19
Contains DLL export macros.

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)