VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
navigationPreferenceDescriptor.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
11 
12 #pragma once
13 
16 #include <readerWriter/rwString.h>
17 
19 
23 {
24 public:
26  DtNavigationPreferenceDescriptor(const DtString& componentName,
27  DtReaderWriterRegistry* parentRegistry = 0);
28 
31  DtReaderWriterRegistry* parentRegistry = 0);
32 
34 
38 
41  virtual DtString type() const;
42 
44  DtReaderWriterRegistry* parentRegistry = 0) const;
45 
48 
49  virtual DtRwNavigationPreferenceList& navigationPreferencesMap();
50  virtual const DtRwNavigationPreferenceList& navigationPreferencesMap() const;
51 
53 
54  virtual DtPathCostEntryList* pathCosts(const DtString& preference);
56 
57  virtual DtString defaultPreference() const;
58  virtual void setDefaultPreference(const DtString& preference);
59 
60 protected:
63 
64 protected:
67 
69  DtRwNavigationPreferenceList myNavigationPreferencesMap;
73 
75  DtRwString myDefaultPreference;
80 };
#define DT_DLL_vrfobjparam
This file is used to determine how to build.
Definition: vrfobjparamDefines.h:28
DtNavigationPreferenceDescriptor; descriptor for the DtNavigationPreferenceController component...
Definition: navigationPreferenceDescriptor.h:22
Description: Readable, Writable DtString Variable substitutions are done on this object when it is re...
Definition: rwString.h:20
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:42
Definition: readerWriterRegistry.h:39
class DtRwNavigationPreferenceList:
Definition: rwNavigationPreferenceList.h:66
DtComponentDescriptor & operator=(const DtComponentDescriptor &orig)
assignment
virtual DtComponentDescriptor * clone(DtReaderWriterRegistry *parentRegistry=NULL) const
virtual DtString type() const
Returns the type of component this descriptor describes.
static DtComponentDescriptor * creator()

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)