Changeset 3400
- Timestamp:
- 04/12/07 15:43:01 (6 years ago)
- Location:
- ossie/trunk/ossie
- Files:
-
- 7 modified
-
framework/DeviceManager_impl.cpp (modified) (2 diffs)
-
framework/DomainManager_impl.cpp (modified) (3 diffs)
-
framework/FileManager_impl.cpp (modified) (2 diffs)
-
framework/FileSystem_impl.cpp (modified) (1 diff)
-
include/ossie/DeviceManager_impl.h (modified) (2 diffs)
-
include/ossie/DomainManager_impl.h (modified) (2 diffs)
-
include/ossie/FileSystem_impl.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ossie/trunk/ossie/framework/DeviceManager_impl.cpp
r3365 r3400 47 47 48 48 49 DeviceManager_impl::DeviceManager_impl(const char *DCDInput )49 DeviceManager_impl::DeviceManager_impl(const char *DCDInput, const char *rootPath) 50 50 51 51 { 52 52 DEBUG(6, DeviceManager, "Entering constructor with " << DCDInput); 53 54 _deviceConfigurationProfile = DCDInput; 53 54 _deviceConfigurationProfile = DCDInput; 55 fsRoot = rootPath; 55 56 } 56 57 … … 67 68 _registeredServices.length(0); 68 69 69 fs_servant = new FileSystem_impl( );70 fs_servant = new FileSystem_impl(fsRoot.c_str()); 70 71 _fileSys = fs_servant->_this(); 71 72 -
ossie/trunk/ossie/framework/DomainManager_impl.cpp
r3368 r3400 38 38 #include "ossie/debug.h" 39 39 #include "ossie/DomainManager_impl.h" 40 #include "ossie/FileSystem_impl.h" 40 41 #include "ossie/ossieSupport.h" 41 42 … … 44 45 #endif 45 46 46 DomainManager_impl::DomainManager_impl (const char *_dmdFile )47 DomainManager_impl::DomainManager_impl (const char *_dmdFile, const char *rootPath) 47 48 { 48 49 … … 60 61 61 62 62 // Create file manager63 // Create file manager 63 64 FileManager_impl *_fileMgrImpl = new FileManager_impl (); 64 65 65 66 _fileMgr = _fileMgrImpl->_this (); 67 68 // Create root file system and mount on File Manager 69 FileSystem_impl *fileSys_serv = new FileSystem_impl (rootPath); 70 fileSys = fileSys_serv->_this(); 71 72 _fileMgr->mount ("/", fileSys); 66 73 67 74 CF::File_var file = _fileMgr->open(_domainManagerProfile.c_str(), true); -
ossie/trunk/ossie/framework/FileManager_impl.cpp
r3295 r3400 34 34 DEBUG(4, FileManager, "Entering constructor."); 35 35 36 // Set the path validation check function, if it is not already set 36 37 if (boost::filesystem::path::default_name_check_writable()) 37 38 boost::filesystem::path::default_name_check(boost::filesystem::portable_posix_name); … … 39 40 numMounts = 0; 40 41 mount_table = new CF::FileManager::MountSequence(5); 41 42 rootFileSys_serv = new FileSystem_impl ();43 rootFileSys = rootFileSys_serv->_this();44 45 mount ("/", rootFileSys);46 42 47 43 DEBUG(4, FileManager, "Leaving constructor.") -
ossie/trunk/ossie/framework/FileSystem_impl.cpp
r3295 r3400 50 50 51 51 52 FileSystem_impl::FileSystem_impl (c har *_root)52 FileSystem_impl::FileSystem_impl (const char *_root) 53 53 { 54 54 DEBUG(6, FileSystem, "In constructor with " << _root); -
ossie/trunk/ossie/include/ossie/DeviceManager_impl.h
r3356 r3400 43 43 { 44 44 public: 45 DeviceManager_impl (const char *);45 DeviceManager_impl (const char *, const char *); 46 46 47 47 // Run this after the constructor and the caller has created the object reference … … 94 94 std::string _deviceConfigurationProfile; 95 95 96 std::string fsRoot; 96 97 FileSystem_impl *fs_servant; 97 98 CF::FileSystem_var _fileSys; -
ossie/trunk/ossie/include/ossie/DomainManager_impl.h
r3363 r3400 96 96 { 97 97 public: 98 DomainManager_impl (const char*);98 DomainManager_impl (const char*, const char*); 99 99 ~DomainManager_impl (); 100 100 … … 249 249 _numDevMgrs; 250 250 251 CF::FileManager_ ptr252 _fileMgr;251 CF::FileManager_var _fileMgr; 252 CF::FileSystem_var fileSys; 253 253 254 254 void -
ossie/trunk/ossie/include/ossie/FileSystem_impl.h
r3295 r3400 39 39 public: 40 40 FileSystem_impl (); 41 FileSystem_impl (c har *_root);41 FileSystem_impl (const char *_root); 42 42 ~ FileSystem_impl (); 43 43