Changeset 477
- Timestamp:
- 08/19/05 15:04:52 (8 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
testInterface/branches/usrp-demo/testInterface.cpp
r476 r477 94 94 95 95 // install application in DM 96 97 try { 96 98 domMgr->installApplication( name_SAD ); 97 99 98 100 cout << name_SAD << " successfully installed onto Domain Manager\n"; 99 101 … … 130 132 cout << (*_applicationFactories)[ 0 ] ->name() << endl; 131 133 132 try133 {134 134 cout << "Calling appfactory->create now" << endl; 135 135 app = (*_applicationFactories)[ 0 ] ->create( (*_applicationFactories)[ 0 ] ->name(), _appFacProps, _devSeq ); 136 136 } 137 137 138 catch (... )139 {140 cerr << "Exception hurled from application create." << endl;141 throw;142 }143 144 138 cout << "Application created. Ready to run or uninstall\n"; 145 139 146 140 return(app); 141 142 } catch (CF::DomainManager::ApplicationInstallationError ex) { 143 cout << "Install application failed with message: " << ex.msg << endl; 144 145 exit(-1); // Handle errors better, needs work 147 146 } 147 148 } 149 148 150 149 151 int main( int argc, char** argv )