Changeset 739 for trunk/libffado/src/devicemanager.h
- Timestamp:
- 11/28/07 12:02:08 (13 years ago)
- Files:
-
- trunk/libffado/src/devicemanager.h (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/libffado/src/devicemanager.h
r734 r739 37 37 38 38 #include <vector> 39 #include <string> 39 40 40 41 class Ieee1394Service; … … 47 48 typedef std::vector< FFADODevice* >::iterator FFADODeviceVectorIterator; 48 49 50 typedef std::vector< Ieee1394Service* > Ieee1394ServiceVector; 51 typedef std::vector< Ieee1394Service* >::iterator Ieee1394ServiceVectorIterator; 52 53 typedef std::vector< Functor* > FunctorVector; 54 typedef std::vector< Functor* >::iterator FunctorVectorIterator; 55 49 56 class DeviceManager 50 57 : public Util::OptionContainer, … … 55 62 ~DeviceManager(); 56 63 57 bool initialize( int port);64 bool initialize(); 58 65 bool deinitialize(); 59 66 60 bool discover( ); 67 bool addSpecString(char *); 68 bool isSpecStringValid(std::string s); 69 70 bool discover(); 61 71 62 72 bool isValidNode( int node ); … … 80 90 protected: 81 91 FFADODevice* getDriverForDevice( std::auto_ptr<ConfigRom>( configRom ), 82 int id );92 int id ); 83 93 FFADODevice* getSlaveDriver( std::auto_ptr<ConfigRom>( configRom ) ); 84 94 … … 86 96 87 97 protected: 88 Ieee1394Service* m_1394Service; 89 FFADODeviceVector m_avDevices; 90 Functor* m_busreset_functor; 98 // we have one service for each port 99 // found on the system. We don't allow dynamic addition of ports (yet) 100 Ieee1394ServiceVector m_1394Services; 101 FFADODeviceVector m_avDevices; 102 FunctorVector m_busreset_functors; 103 104 std::vector<std::string> m_SpecStrings; 91 105 92 106 // debug stuff