VR-Forces 5.0.2 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 
25  {
26 
27  public:
28 
29  typedef std::vector<DtUnicode> StringList;
30 
32  virtual ~DtModelSetStringProvider();
33 
36  static DtModelSetStringProvider& instance(DtDe& de);
37 
39  static void registerInstance(DtDe& de, DtModelSetStringProvider* instance);
40 
42  virtual void getModelSetList( StringList& outList ) const = 0;
43 
45  virtual DtUnicode modelSetToString( int modelSet ) const = 0;
46 
48  virtual int stringToModelSet( const DtUnicode& modelSetString ) const = 0;
49 
51  virtual int numModelSets() const = 0;
52 
55  virtual void setModelSetName( int modelSet, const DtUnicode& name ) = 0;
56 
57  protected:
58 
61 
62  protected:
63 
65  };
66 }
DtDe & myDe
Definition: DtModelSetStringProvider.h:64
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:24
Contains makVrv::DtVirtualBaseClass class.
std::vector< DtUnicode > StringList
Definition: DtModelSetStringProvider.h:29
#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:70
Contains DLL export macros.

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)