Changeset 47
- Timestamp:
- 01/10/05 14:58:13 (18 years ago)
- Files:
-
- trunk/freebob/src/avdevicepool.cpp (modified) (3 diffs)
- trunk/freebob/src/avdevicepool.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/freebob/src/avdevicepool.cpp
r43 r47 28 28 AvDevicePool::AvDevicePool() 29 29 { 30 setDebugLevel( DEBUG_LEVEL_ALL ); 30 31 } 31 32 … … 47 48 { 48 49 m_avDevices.push_back( pAvDevice ); 50 51 debugPrint( DEBUG_LEVEL_INFO, "AvDevice 0x%08x added to device pool.\n", 52 pAvDevice ); 53 debugPrint( DEBUG_LEVEL_INFO, "Pool size = %d\n", m_avDevices.size() ); 54 49 55 return eFBRC_Success; 50 56 } … … 60 66 { 61 67 if ( ( *iter ) == pAvDevice ) { 68 debugPrint( DEBUG_LEVEL_INFO, 69 "AvDevice 0x%08x removing from device pool\n", 70 ( *iter ) ); 62 71 m_avDevices.erase( iter ); 72 debugPrint( DEBUG_LEVEL_INFO, 73 "Pool size = %d\n", 74 m_avDevices.size() ); 63 75 return eFBRC_Success; 64 76 } trunk/freebob/src/avdevicepool.h
r42 r47 22 22 23 23 #include "freebob.h" 24 #include "debugmodule.h" 24 25 #include <vector> 25 26 #include <libraw1394/raw1394.h> // octlet_t … … 55 56 typedef std::vector< AvDevice* > AvDeviceVector; 56 57 AvDeviceVector m_avDevices; 58 59 DECLARE_DEBUG_MODULE; 57 60 }; 58 61