63 virtual bool AskUserToSaveChanges() = 0;
70 virtual bool ConfirmDialog(
const char *message) = 0;
75 virtual void SetDocumentModified() = 0;
80 virtual void ClearUI() = 0;
85 virtual void AddComponentToWindow(disti::ComponentBase * comp) = 0;
113 std::stringstream ourlayout;
114 std::string ourlayoutName;
136 virtual bool FileNew();
141 virtual bool FileClose();
146 virtual void FileExit();
151 virtual DDD_AssetBase* AddAsset(
const std::string &instanceName,
const std::string &className,
const std::string &libName,
const DDD_AttributeList& params );
167 virtual DDD_AssetBase* FindAsset(
const std::string &assetInstance);
191 void AddRSOAsset(
const std::string& instanceName,
const DDD_AttributeList& params);
212 bool RemoveAsset(
const std::string& assetName);
219 bool ChangeAssetInstanceName(
const std::string& assetNameOld,
const std::string& assetNameNew);
246 bool EmptyConfiguration();
251 static const char* Version();
270 virtual void Dispatch_ConnectionDeleted(
DDD_Connection *connection);
286 virtual bool LoadXML(
const std::string &filename, std::string& errorString);
291 virtual void Startup();
296 virtual void Shutdown();
312 RSOWindowList GetWindowList() {
return _windowList; };
317 static void UpdateViewerCb(
void *data);
327 virtual void UpdateProducerWindowTitle();
332 void CloseDocument();
337 bool SaveXML(
const std::string &filename);
341 void RefreshDirector();
347 void SetFrameRate(
int fps,
unsigned int windowIndex=0);
368 #define FPS_TO_MICROSECONDS(x) (1000000.0/(x))
std::string title
Definition: DDD_Viewer.h:102
Definition: DDD_Viewer.h:94
DrawRateType
Definition: DDD_Viewer.h:96
std::string _windowLabel
Definition: DDD_Viewer.h:355
A virtual interface class for all DataDirector assets.
Definition: DDD_AssetBase.h:115
bool _documentModified
Definition: DDD_Viewer.h:353
unsigned int width
Definition: DDD_Viewer.h:103
unsigned int drawRate
Definition: DDD_Viewer.h:108
DDD_DataDirector * _director
Definition: DDD_Viewer.h:350
int initialPosX
Definition: DDD_Viewer.h:105
The DDD_AttributeList class. Maintains a list of Data Director attributes.
Definition: DDD_AttributeList.h:52
The DDD_AssetList class. Maintains a list of Data Director assets.
Definition: DDD_AssetList.h:51
Definition: DDD_Viewer.h:98
Interface for GUI that utilizes the DataDirectorViewer (ie- DataDirector Editor)
Definition: DDD_Viewer.h:56
std::string _openFileName
Definition: DDD_Viewer.h:354
AssetShiftDirection
Definition: DDD_EventSubscriber.h:142
DDD_DataDirector. Main interface to DataDirector core that encapsulates all Assets, Connections and core logic.
Definition: DDD_DataDirector.h:78
Fl_RSO_Window. FLTK/OpenGL window that displays RSO Assets.
Definition: Fl_RSO_Window.H:76
unsigned int height
Definition: DDD_Viewer.h:104
ConnectionShiftDirection
Definition: DDD_EventSubscriber.h:231
IDataDirectorViewerFrontend * frontEnd
Definition: DDD_Viewer.h:362
RSOWindowList _windowList
Definition: DDD_Viewer.h:357
Fl_RSO_Window * _rsoWindow
Definition: DDD_Viewer.h:364
Definition: DDD_Viewer.h:111
Viewer class. Contains a RSO Window and DataDirector instance.
Definition: DDD_Viewer.h:89
int initialPosY
Definition: DDD_Viewer.h:106
The DDD_Connection class. Base class for connections between assets.
Definition: DDD_Connection.h:54
DrawRateType drawRateType
Definition: DDD_Viewer.h:107
The DDD_EventPublisher class. Central class for publishing events. Contains all logic for registering...
Definition: DDD_EventPublisher.h:56
Definition: DDD_XMLConfigMgr.h:63
bool _editorRunning
Definition: DDD_Viewer.h:356
bool _documentOpen
Definition: DDD_Viewer.h:352
The DDD_EventPublisher class.
Abstract base class for any object that uses DDD_XMLConfigMgr.
Definition: DDD_XMLConfigMgr.h:74
Definition: AttributeChangedEmitter.h:46