VR-Forces 4.1 Class Documentation
editorPluginExtension.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2010 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #ifndef EDITORPLUGINEXTENSION_H_
10 #define EDITORPLUGINEXTENSION_H_
11 
12 #include <string>
13 #include <vrfutil/version.h>
14 
16 #define APPLICATION_VERSION DtVrfVersionNumber
17 
18 #include "tmqt/pluginExtension.h"
20 #include "vrfobjparam/paramFact.h"
22 
23 #define DtEditorInitializePluginFunction "DtInitializePlugin"
24 #define DtEditorPostInitializePluginFunction "DtPostInitializePlugin"
25 
27 
29 {
30 public:
33 
38  virtual void addController(const char* controllerName, const char* descriptorName, DtComponentDescriptorCreatorFcn fcn = NULL) = 0;
39  virtual void addSensor(const char* sensorName, const char* descriptorName, DtComponentDescriptorCreatorFcn fcn = NULL) = 0;
40  virtual void addActuator(const char* actuatorName, const char* descriptorName, DtComponentDescriptorCreatorFcn fcn = NULL) = 0;
41 
44  virtual void addParameterType(const char* parameter, const char* parameterLike, DtSimObjectParametersCreatorFcn fcn) = 0;
45 
47  virtual void addUserExtentsion(const DtString& type, DtVrfSRUserExtensionCreatorFcn fcn) = 0;
48 
64 
65  virtual void addUiElement(const char* elementContextBlock, const char* parameter, const char* placeNear, bool after = true) = 0;
66 
67 
69  virtual DtTMApplication* app() = 0;
70 };
71 
75 typedef const char* (*DtEditorCompiledPluginVersionFcn)();
76 
85 //extern "C" {
100 //}
104 
105 #endif

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)