Update of /cvsroot/playerstage/code/player/client_libs/libplayerc++
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25284/client_libs/libplayerc++
Modified Files:
opaqueproxy.cc
Log Message:
added serial stream opaque driver and modified s3000 and nav200 drivers to use
it
Index: opaqueproxy.cc
===================================================================
RCS file:
/cvsroot/playerstage/code/player/client_libs/libplayerc++/opaqueproxy.cc,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** opaqueproxy.cc 24 Oct 2007 22:32:02 -0000 1.5
--- opaqueproxy.cc 6 Dec 2007 02:35:36 -0000 1.6
***************
*** 114,117 ****
std::ostream& std::operator << (std::ostream& os, const
PlayerCc::OpaqueProxy& c)
{
! return os << c.GetCount();
}
--- 114,125 ----
std::ostream& std::operator << (std::ostream& os, const
PlayerCc::OpaqueProxy& c)
{
! os << "Count is: "<< c.GetCount() << "Data:" << endl;
! uint8_t * data;
! data = new uint8_t[4096];
! c.GetData(data);
! for(int i = 0; i < c.GetCount(); i++)
! {
! os << hex << setw(2) << setfill('0') << data[i];
! }
! return os;
}
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit