Update of /cvsroot/playerstage/code/player/server/drivers/mixed/cmucam2
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11860/server/drivers/mixed/cmucam2

Modified Files:
      Tag: b_thjc_dynamic_arrays
        cmucam2.cc .cvsignore 
Log Message:
dynamic array changes to drivers compile, still needs testing
added lots more .cvsignore settings for eclipse

Index: .cvsignore
===================================================================
RCS file: 
/cvsroot/playerstage/code/player/server/drivers/mixed/cmucam2/.cvsignore,v
retrieving revision 1.1.16.1
retrieving revision 1.1.16.2
diff -C2 -d -r1.1.16.1 -r1.1.16.2
*** .cvsignore  10 Oct 2007 09:26:12 -0000      1.1.16.1
--- .cvsignore  19 Oct 2007 21:58:57 -0000      1.1.16.2
***************
*** 4,5 ****
--- 4,7 ----
  *.la
  *.a
+ .libs
+ *.lo

Index: cmucam2.cc
===================================================================
RCS file: 
/cvsroot/playerstage/code/player/server/drivers/mixed/cmucam2/cmucam2.cc,v
retrieving revision 1.19.2.1
retrieving revision 1.19.2.2
diff -C2 -d -r1.19.2.1 -r1.19.2.2
*** cmucam2.cc  14 Oct 2007 04:41:47 -0000      1.19.2.1
--- cmucam2.cc  19 Oct 2007 21:58:57 -0000      1.19.2.2
***************
*** 130,134 ****
                int num_of_blobs;
                const char* devicepath;
!               color_config color[PLAYER_BLOBFINDER_MAX_BLOBS];
  
                // Blobfinder interface (provides)
--- 130,134 ----
                int num_of_blobs;
                const char* devicepath;
!               color_config *color;
  
                // Blobfinder interface (provides)
***************
*** 161,164 ****
--- 161,165 ----
                //
                Cmucam2( ConfigFile* cf, int section);
+               ~Cmucam2();
  
                // Process incoming messages from clients 
***************
*** 237,240 ****
--- 238,242 ----
                char variable[20];
  
+               color = new color_config[num_of_blobs];
                for (int i = 0; i < num_of_blobs; i++)
                {
***************
*** 250,253 ****
--- 252,256 ----
        else
        {
+               color = new color_config[1];
                num_of_blobs = 0;
                color[0].rmin = 0; color[0].rmax = 0;
***************
*** 266,270 ****
        }
  }
!     
  
////////////////////////////////////////////////////////////////////////////////
  int Cmucam2::Setup()
--- 269,278 ----
        }
  }
! 
! Cmucam2::~Cmucam2()
! {
!       delete [] color;
! }
! 
  
////////////////////////////////////////////////////////////////////////////////
  int Cmucam2::Setup()


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit

Reply via email to