- Timestamp:
- 11/22/07 06:43:39 (16 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/ppalmers-streaming/src/libstreaming/generic/IsoStream.cpp
r714 r719 55 55 *sy = 0; 56 56 57 58 57 return RAW1394_ISO_OK; 59 }60 61 int IsoStream::getNodeId() {62 if (m_handler) {63 return m_handler->getLocalNodeId();64 }65 return -1;66 }67 68 69 void IsoStream::dumpInfo()70 {71 72 debugOutputShort( DEBUG_LEVEL_NORMAL, " Address : %p\n",this);73 debugOutputShort( DEBUG_LEVEL_NORMAL, " Stream type : %s\n",74 (this->getStreamType()==eST_Receive ? "Receive" : "Transmit"));75 debugOutputShort( DEBUG_LEVEL_NORMAL, " Port, Channel : %d, %d\n",76 m_port, m_channel);77 78 58 } 79 59 80 60 bool IsoStream::setChannel(int c) { 81 61 debugOutput( DEBUG_LEVEL_VERBOSE, "setting channel for (%p) to %d\n",this, c); 82 83 62 m_channel=c; 84 63 return true; 85 }86 87 88 bool IsoStream::reset() {89 debugOutput( DEBUG_LEVEL_VERBOSE, "enter...\n");90 return true;91 }92 93 bool IsoStream::prepare() {94 debugOutput( DEBUG_LEVEL_VERBOSE, "enter...\n");95 return true;96 }97 98 bool IsoStream::init() {99 debugOutput( DEBUG_LEVEL_VERBOSE, "enter...\n");100 return true;101 102 64 } 103 65 … … 109 71 void IsoStream::clearHandler() { 110 72 debugOutput( DEBUG_LEVEL_VERBOSE, "clearing handler of isostream %p\n", this); 73 m_handler=0; 74 } 111 75 112 m_handler=0; 76 void IsoStream::dumpInfo() 77 { 78 debugOutputShort( DEBUG_LEVEL_NORMAL, " Address : %p\n",this); 79 debugOutputShort( DEBUG_LEVEL_NORMAL, " Stream type : %s\n", 80 (this->getStreamType()==eST_Receive ? "Receive" : "Transmit")); 81 debugOutputShort( DEBUG_LEVEL_NORMAL, " Port, Channel : %d, %d\n", 82 m_port, m_channel); 83 } 113 84 114 85 } 115 116 117 }