NIREPDisplayManager is responsible for displaying the different widgets. Currently the only real usable method is AddDisplay. I will probably be merging this with wxImageThumbnail so that it makes sense what all is happening. For the time being this is just an inbetween class.
More...
List of all members.
Detailed Description
NIREPDisplayManager is responsible for displaying the different widgets. Currently the only real usable method is AddDisplay. I will probably be merging this with wxImageThumbnail so that it makes sense what all is happening. For the time being this is just an inbetween class.
- Notes
-
- Dependencies
-
- Bugs
- With the prop grid, for some reason some of the items are being duplicated causing an error.
- Change Log
Constructor & Destructor Documentation
NIREPDisplayManager::NIREPDisplayManager |
( |
void |
| ) |
|
NIREPDisplayManager::~NIREPDisplayManager |
( |
void |
| ) |
|
Member Function Documentation
wxWindow * NIREPDisplayManager::AddDisplay |
( |
const char * |
WidgetPath, |
|
|
const char * |
EvaluatorPath, |
|
|
wxWindow * |
aui, |
|
|
wxWindow * |
win, |
|
|
int |
pagecount, |
|
|
std::string & |
title |
|
) |
| |
This will take in the widget list path and the evaluator list path.
and read the files in and then parse the information that was read in. widgets that were specified in the files. This function will return the wxPanel so that it can be placed in a tab of a wxNotebook.
- Parameters:
-
WidgetPath | const char * |
EvaluatorPath | const char * |
aui | wxWindow * |
win | wxWindow * |
pagecount | integer |
title | std::string & |
- Return values:
-
wxWindow | * which will actually be a wxPanel that this function |
Programmer: Jeffrey Hawley and James Harris EDIT: Since we are trying out wxWidgets this has been commented out quite heavily. Currently this will create a wxImageThumbnail which will basically be doing everything. Date: 06/11/2008 Function: Jeffrey - The part that I worked on was with the widgets and the data manager. Part of this will run two for loops that will place the correct widgets in the correct location based on the xml document that the user specified. Each widget that is specified will be created, added to an instance of WidgetInfo and some information about the widget will also be added to the instance of WidgetInfo. The instance of WidgetInfo then will get added to a vector of WidgetInfo's in the class DisplayInfo. Also, a slider bar will be created for each widget and the event handling also is taken care of. For the event handling for the slider bar a class called Location was created to keep track of which DisplayInfo and which WidgetInfo should be used to do the update, also a map was created to map the Id of the slider bar to the instance of Location. Copyright: University of Iowa Inputs: Outputs:
void NIREPDisplayManager::GetActiveDisplays |
( |
std::vector< std::string > & |
list | ) |
|
This currently does nothing.
void NIREPDisplayManager::RefreshADisplay |
( |
int |
id | ) |
|
This currently does nothing.
- Parameters:
-
void NIREPDisplayManager::RefreshDisplay |
( |
| ) |
|
This currently does nothing.
void NIREPDisplayManager::RemoveAllDisplay |
( |
| ) |
|
This currently does nothing.
bool NIREPDisplayManager::RemoveDisplay |
( |
int |
id | ) |
|
This currently does nothing.
This will remove the widget that is specified by the id.
- Parameters:
-
void NIREPDisplayManager::UpdateDiplay |
( |
| ) |
|
This currently does nothing.
Member Data Documentation