#include <SimRobXP.h>
Inheritance diagram for CApp:
Public Member Functions | |
void | SetOrder (CWnd **pWnd, int nWindows) |
void | CreateTree (CDocument *pDoc) |
void | CreateObject (CDocument *pDoc) |
void | CreateSensor (CDocument *pDoc) |
void | CreateActuator (CDocument *pDoc) |
void | HelpOnKeyword (const char *pKeyword) |
CApp () | |
virtual BOOL | InitInstance () |
virtual CDocument * | OpenDocumentFile (LPCTSTR lpszFileName) |
virtual int | ExitInstance () |
afx_msg void | OnAppAbout () |
afx_msg void | OnFileNew () |
Public Attributes | |
COleTemplateServer | m_server |
Private Attributes | |
CMultiDocTemplate * | m_pDocTemplate |
CMultiDocTemplate * | m_pTreeTemplate |
CMultiDocTemplate * | m_pObjectTemplate |
CMultiDocTemplate * | m_pSensorTemplate |
CMultiDocTemplate * | m_pActuatorTemplate |
CWnd ** | m_pWnd |
int | m_nWindows |
Definition at line 37 of file SimRobXP.h.
CApp::CApp | ( | ) |
Definition at line 43 of file SimRobXP.cpp.
void CApp::CreateActuator | ( | CDocument * | pDoc | ) |
Definition at line 191 of file SimRobXP.cpp.
References m_pActuatorTemplate, and TRUE.
Referenced by CTree::OnViewSelected(), and CDoc::RestoreLayout().
void CApp::CreateObject | ( | CDocument * | pDoc | ) |
Definition at line 179 of file SimRobXP.cpp.
References m_pObjectTemplate, and TRUE.
Referenced by CTree::OnViewSelected(), and CDoc::RestoreLayout().
void CApp::CreateSensor | ( | CDocument * | pDoc | ) |
Definition at line 185 of file SimRobXP.cpp.
References m_pSensorTemplate, and TRUE.
Referenced by CTree::OnViewSelected(), and CDoc::RestoreLayout().
void CApp::CreateTree | ( | CDocument * | pDoc | ) |
Definition at line 173 of file SimRobXP.cpp.
References m_pTreeTemplate, and TRUE.
Referenced by CDoc::RestoreLayout().
int CApp::ExitInstance | ( | ) | [virtual] |
Definition at line 293 of file SimRobXP.cpp.
References m_pActuatorTemplate, m_pObjectTemplate, m_pSensorTemplate, and m_pTreeTemplate.
void CApp::HelpOnKeyword | ( | const char * | pKeyword | ) |
Definition at line 197 of file SimRobXP.cpp.
BOOL CApp::InitInstance | ( | ) | [virtual] |
Definition at line 64 of file SimRobXP.cpp.
References clsid, FALSE, CDllLoader::GetVersion(), IDP_OLE_INIT_FAILED, IDR_ACTUATOR, IDR_EDITOR, IDR_MAINFRAME, IDR_OBJECT, IDR_SENSOR, IDR_TREE, InitGuiLibDLL(), CFrameWndBase< TBase >::LoadFrame(), CWinAppEx::LoadStdProfileSettings(), m_pActuatorTemplate, m_pDocTemplate, m_pObjectTemplate, m_pSensorTemplate, m_pTreeTemplate, m_server, PACKVERSION, CFrameWndBase< TBase >::ShowWindow(), and TRUE.
void CApp::OnAppAbout | ( | ) |
Definition at line 259 of file SimRobXP.cpp.
void CApp::OnFileNew | ( | ) |
CDocument * CApp::OpenDocumentFile | ( | LPCTSTR | lpszFileName | ) | [virtual] |
void CApp::SetOrder | ( | CWnd ** | pWnd, | |
int | nWindows | |||
) | [inline] |
Definition at line 48 of file SimRobXP.h.
References m_nWindows, and m_pWnd.
Referenced by CDoc::RestoreLayout().
int CApp::m_nWindows [private] |
CMultiDocTemplate * CApp::m_pActuatorTemplate [private] |
Definition at line 40 of file SimRobXP.h.
Referenced by CreateActuator(), ExitInstance(), and InitInstance().
CMultiDocTemplate* CApp::m_pDocTemplate [private] |
Definition at line 40 of file SimRobXP.h.
Referenced by InitInstance(), OnFileNew(), and OpenDocumentFile().
CMultiDocTemplate * CApp::m_pObjectTemplate [private] |
Definition at line 40 of file SimRobXP.h.
Referenced by CreateObject(), ExitInstance(), and InitInstance().
CMultiDocTemplate * CApp::m_pSensorTemplate [private] |
Definition at line 40 of file SimRobXP.h.
Referenced by CreateSensor(), ExitInstance(), and InitInstance().
CMultiDocTemplate * CApp::m_pTreeTemplate [private] |
Definition at line 40 of file SimRobXP.h.
Referenced by CreateTree(), ExitInstance(), and InitInstance().
CWnd** CApp::m_pWnd [private] |
Definition at line 45 of file SimRobXP.h.
Referenced by OnFileNew(), OpenDocumentFile(), and SetOrder().
COleTemplateServer CApp::m_server |