Soundharrajan

Fork of mbed by mbed official

Revision:
85:024bf7f99721
Parent:
83:8a40adfe8776
--- a/BusIn.h	Mon May 19 18:14:09 2014 +0100
+++ b/BusIn.h	Wed Jun 11 15:14:05 2014 +0100
@@ -51,13 +51,13 @@
      *   An integer with each bit corresponding to the value read from the associated DigitalIn pin
      */
     int read();
-    
+
     /** Set the input pin mode
      *
      *  @param mode PullUp, PullDown, PullNone
      */
     void mode(PinMode pull);
-	
+
 #ifdef MBED_OPERATORS
     /** A shorthand for read()
      */
@@ -66,6 +66,11 @@
 
 protected:
     DigitalIn* _pin[16];
+
+    /* disallow copy constructor and assignment operators */
+private:
+    BusIn(const BusIn&);
+    BusIn & operator = (const BusIn&);
 };
 
 } // namespace mbed