Completing pull request #102.

Squashed commit of the following:

commit 808b8c4edd5a2eb31e3ea391a9a8537a9dd753b6
Author: Michael Catanzaro <michael.catanzaro@mst.edu>
Date:   Fri Nov 30 13:50:39 2012 -0600

    Device generation needs to work for not just me

    Apparently it should work on the cluster as well. Really wow.

commit 34f39194c71a8723475a64e061dc4982180e2b57
Author: Michael Catanzaro <michael.catanzaro@mst.edu>
Date:   Thu Nov 29 15:19:33 2012 -0600

    Device generation now uses python!

    Cross-compile away :-)

commit 6d5e8dbae1be5bf26281e4b38473cc1737bd05ed
Author: Michael Catanzaro <michael.catanzaro@mst.edu>
Date:   Thu Nov 29 14:31:15 2012 -0600

    dxyfilter seems to work on python3

commit 41b8eae40fee2b0197b3dc4f91164f7489063116
Author: Michael Catanzaro <michael.catanzaro@mst.edu>
Date:   Thu Nov 29 13:24:47 2012 -0600

    CAdapterWhatever -> CWhateverAdapter

commit 5b300259ef23cf85d4bc9be31a34186c73d96040
Author: Michael Catanzaro <michael.catanzaro@mst.edu>
Date:   Thu Nov 29 13:12:33 2012 -0600

    Use Debug instead of Info to log I/O blocking

commit 1b59362f48f9b0b20185e2a41a18cb74206999b8
Author: Michael Catanzaro <michael.catanzaro@mst.edu>
Date:   Thu Nov 29 13:11:48 2012 -0600

    Prettify endian-swap (no functional changes)

commit 2486586765a0671959e6fb26da5509f5d277594d
Author: tprfh7 <tprfh7@mst.edu>
Date:   Thu Nov 29 12:26:27 2012 -0600

    another timestep change

commit ee1b8448aa61aa15da6e8fb5fb158c6a7ca53e64
Author: tprfh7 <tprfh7@mst.edu>
Date:   Thu Nov 29 12:14:13 2012 -0600

    made the RTDS timestep more reasonable

commit 560007e4c00af85e5206f27b898ede6618f4274f
Author: tprfh7 <tprfh7@mst.edu>
Date:   Thu Nov 29 12:11:02 2012 -0600

    fixed the factory ioservice

commit b55181fa3c3b1de88d6da802333617c86e179817
Author: Michael Catanzaro <michael.catanzaro@mst.edu>
Date:   Thu Nov 29 10:33:47 2012 -0600

    Fix off-by-one without breaking our sanity checks

commit 0ae3b72f4c6f93f9c8700ccb83eddbda0d9459bb
Author: Michael Catanzaro <michael.catanzaro@mst.edu>
Date:   Thu Nov 29 10:27:17 2012 -0600

    Fix off-by-one in IBufferAdapter.cpp

commit 229d6fb92a1664849cd17ef65c71e4294bf1334f
Author: Michael Catanzaro <michael.catanzaro@mst.edu>
Date:   Thu Nov 29 08:55:20 2012 -0600

    Remove an extra debug message

commit 6d01ba34876487995ee7629a3ec4938e16dba07a
Author: Michael Catanzaro <michael.catanzaro@mst.edu>
Date:   Thu Nov 29 08:50:25 2012 -0600

    Allocate send/receive buffers

    Because data transfer works better when there's a place for it to go

commit 72fb2aa3272e09f9d17464047499d3efaacb8f21
Author: Michael Catanzaro <michael.catanzaro@mst.edu>
Date:   Thu Nov 29 08:02:52 2012 -0600

    Add a space in the output

commit eebf9047342d46bf57626c4f838f3b70a739f024
Merge: 8502cd8 b5b96ca
Author: Michael Catanzaro <michael.catanzaro@mst.edu>
Date:   Thu Nov 29 07:53:56 2012 -0600

    Merge branch 'master' into AdapterRefactor

    Brings in the endian-swap fix to CAdapterRtds

commit 8502cd8c43d12b4764ce6cc7bd820a5595ac3764
Author: Michael Catanzaro <michael.catanzaro@mst.edu>
Date:   Wed Nov 28 09:12:12 2012 -0600

    Remove unneeded forward declaration

commit fc8928537aa4ab2ad7cd3b7c1ee385e9cb23e407
Author: Michael Catanzaro <michael.catanzaro@mst.edu>
Date:   Wed Nov 28 09:04:23 2012 -0600

    Remove unreachable return

commit 8e640b5750910a4c6e74ad39ff0e46ece336ac11
Author: Michael Catanzaro <michael.catanzaro@mst.edu>
Date:   Wed Nov 28 09:03:35 2012 -0600

    Let there be new-style legalese!

commit 048aeec678a83cb052db076c2199707ef4df7bed
Merge: d364cbe 4041848
Author: Michael Catanzaro <michael.catanzaro@mst.edu>
Date:   Tue Nov 27 12:44:16 2012 -0600

    Merge branch 'master' into AdapterRefactor

commit d364cbe843cfdab90852039e63b4d8f43a3f9dce
Merge: d1afe92 038a948
Author: Michael Catanzaro <michael.catanzaro@mst.edu>
Date:   Mon Nov 26 15:19:16 2012 -0600

    Merge branch 'master' into AdapterRefactor

    Conflicts:
    	Broker/src/PosixMain.cpp
    	Broker/src/gm/GroupManagement.cpp
    	PSCAD-Interface/CMakeLists.txt
    	README

commit d1afe927e8211e7e8537bddadf69bfb35e0eb905
Author: Michael Catanzaro <michael.catanzaro@mst.edu>
Date:   Tue Nov 13 08:12:13 2012 -0600

    Add device/adapter session diagram

commit b2fc3d8de4c97d160322ffc96aade826fd59d0ec
Merge: 0dbc6e0 8b68037
Author: Michael Catanzaro <michael.catanzaro@mst.edu>
Date:   Mon Oct 29 10:32:08 2012 -0500

    Merge branch 'master' into AdapterRefactor

commit 0dbc6e04317b37c896fd02391614fea3c92ba102
Author: Michael Catanzaro <michael.catanzaro@mst.edu>
Date:   Mon Oct 29 09:57:27 2012 -0500

    Clarify a comment in freedm.cfg

commit 37b75c262912d5bd56bf73313f40e4020687f921
Merge: fab0a35 fe894f2
Author: Michael Catanzaro <michael.catanzaro@mst.edu>
Date:   Mon Oct 29 09:46:37 2012 -0500

    Merge branch 'master' into AdapterRefactor

    Conflicts:
    	Broker/src/sc/StateCollection.cpp

commit fab0a35095de4a8f42e27c8138be270a086018f2
Merge: e6b345d 793b76a
Author: Michael Catanzaro <michael.catanzaro@mst.edu>
Date:   Mon Oct 29 09:43:59 2012 -0500

    Merge branch 'master' into AdapterRefactor

commit e6b345d4637e9734325241aefaaad9082512719a
Author: Michael Catanzaro <michael.catanzaro@mst.edu>
Date:   Fri Oct 26 13:37:22 2012 -0500

    Update PSCAD-Interface .gitignore

commit 8c1942b52cb814a1519f2ae251a919ff126b76eb
Author: Michael Catanzaro <michael.catanzaro@mst.edu>
Date:   Fri Oct 26 09:20:27 2012 -0500

    Add -lpthread to linker command line

commit 3731a5c4b3b300fe8884a86f83039766d35c90e2
Author: Michael Catanzaro <michael.catanzaro@mst.edu>
Date:   Fri Oct 26 08:56:42 2012 -0500

    Update supported version of Boost, 1.46.1 -> 1.49

commit 6815d272b6305e11f94d4c5cbd9e5abc7ab9f953
Merge: a5529e2 0e61437
Author: Michael Catanzaro <michael.catanzaro@mst.edu>
Date:   Thu Oct 25 15:28:26 2012 -0500

    Merge branch 'master' into AdapterRefactor

    Conflicts:
    	Broker/CMakeLists.txt
    	Broker/src/sc/StateCollection.cpp

commit a5529e2d56778b582c38c392258a59eff4d34d5c
Author: Michael Catanzaro <michael.catanzaro@mst.edu>
Date:   Tue Oct 23 15:00:21 2012 -0500

    Update device architecture docs

commit ffa8a75bf93aff5d35a1b7ab50588ae186540ce3
Author: Michael Catanzaro <michael.catanzaro@mst.edu>
Date:   Fri Sep 28 13:40:15 2012 -0500

    Add cmake command to disable Doxygen

commit 9d0b3fa3947859bcdb12c0ba47d8a6fc99dc4e41
Author: Michael Catanzaro <michael.catanzaro@mst.edu>
Date:   Mon Sep 17 08:22:23 2012 -0500

    CDeviceManager now returns multisets

    Semantically, all returned vectors were unordered sets anyway.

commit 7335b2924825695bbf3f3232f506777cd8edbbef
Author: Michael Catanzaro <michael.catanzaro@mst.edu>
Date:   Sun Sep 16 21:25:58 2012 -0500

    Now broker modules can't add/remove devices

commit e76f76d11cc0634e5e8ceb87412ba04413744ebc
Merge: 3545495 2ae1969
Author: Michael Catanzaro <michael.catanzaro@mst.edu>
Date:   Sun Sep 16 20:29:43 2012 -0500

    Merge branch 'AdapterRefactor' of github.com:scj7t4/FREEDM into AdapterRefactor

commit 35454958bb5559952b141088d542fa2b2b050e5f
Author: Michael Catanzaro <michael.catanzaro@mst.edu>
Date:   Sun Sep 16 20:29:23 2012 -0500

    Missing some documentation in CDeviceManager

commit 2ae1969a51bcbbbb8ed24d155d7efd719c2cf8a2
Author: Michael Catanzaro <michael.catanzaro@mst.edu>
Date:   Wed Sep 12 15:40:52 2012 -0500

    Add include

commit 0812f05b7c896d2635da6ec784747bc078713204
Author: Michael Catanzaro <michael.catanzaro@mst.edu>
Date:   Tue Sep 11 12:12:56 2012 -0500

    CDeviceManager::GetValue renamed to GetNetValue

    Addition is now again hardcoded.

    (So basically we're reverted to the 1.1 release functionality.)

commit 92ce1752f43ccedac3e03d79a31e4afe07b07c2e
Author: Michael Catanzaro <michael.catanzaro@mst.edu>
Date:   Mon Sep 10 15:14:53 2012 -0500

    Remove const iterators from device manager

    (Device manager is now a singleton)

commit 232226ec81ddc6822a7354dfe1ec37ae975fb36d
Author: Michael Catanzaro <michael.catanzaro@mst.edu>
Date:   Fri Sep 7 12:34:15 2012 -0500

    Missed a comment

commit 3f27a153f21375bf7a5a3b85fc2136b45be7d46a
Author: Michael Catanzaro <michael.catanzaro@mst.edu>
Date:   Fri Sep 7 11:58:35 2012 -0500

    We forgot to call CRtdsAdapter::Connect

commit 3d7527157182d476a75c05bf25847a9a821b936d
Merge: 73b9aa0 c3db580
Author: Michael Catanzaro <michael.catanzaro@mst.edu>
Date:   Fri Sep 7 10:44:48 2012 -0500

    Merge branch 'master' into AdapterRefactor

    Conflicts:
    	Broker/src/gm/GroupManagement.cpp

commit 73b9aa0f974522933bc9041edc01b88890791854
Author: Michael Catanzaro <michael.catanzaro@mst.edu>
Date:   Fri Sep 7 10:42:44 2012 -0500

    Fix compilation errors

commit 1a51aed1e4120c59263b40edbebb3e22d8c3325a
Author: Michael Catanzaro <michael.catanzaro@mst.edu>
Date:   Thu Sep 6 15:06:45 2012 -0500

    XML files now declare XML version and encoding

commit 5bc1fcd9f81950c3a81c34ff60f31b32fa092152
Author: Michael Catanzaro <michael.catanzaro@mst.edu>
Date:   Thu Sep 6 14:45:05 2012 -0500

    Fix bug in endian-swap

commit 360872358564cc3ffd8b26a12638b991e6baf291
Author: Thomas Roth <tprfh7@mst.edu>
Date:   Wed Sep 5 14:48:23 2012 -0500

    Fixed several mistakes in the adapter factory.

commit 8e881112fa7f46911f82fca3d8aa88192da9fd4c
Author: tprfh7 <tprfh7@mst.edu>
Date:   Tue Sep 4 23:50:02 2012 -0500

    CDeviceManager is now a singleton.  The code was not happy.

commit a937e3d7258e7adeb2f19e75f4b92e603b553829
Author: tprfh7 <tprfh7@mst.edu>
Date:   Tue Sep 4 21:59:31 2012 -0500

    Everything but the device manager should be ready for testing.

commit 405f512b1517535af1c027d9a37f700e2ce5d088
Author: tprfh7 <tprfh7@mst.edu>
Date:   Tue Sep 4 21:50:00 2012 -0500

    Fixed a segmentation fault and an out-of-range array index.

commit ddd773f47a661e5322249f091c2aa3796daeda35
Author: tprfh7 <tprfh7@mst.edu>
Date:   Tue Sep 4 20:32:40 2012 -0500

    Mutilated the CRtdsAdapter class - likely for the better.

commit b05172844ee7a4be17842d7dedde771afeb1c02c
Author: tprfh7 <tprfh7@mst.edu>
Date:   Tue Sep 4 18:44:12 2012 -0500

    Fought with MICHAEL over coding style in a few files.  More later.

commit b0889e79836ee7ff26cf47df9c580ac8c5da1a47
Author: tprfh7 <tprfh7@mst.edu>
Date:   Tue Sep 4 16:58:11 2012 -0500

    Fixed the problem with CAdapterFactory's constructor.

commit 287019d03ce7220ad970ce90ad33b1536af28cd7
Author: Michael Catanzaro <michael.catanzaro@mst.edu>
Date:   Sun Sep 2 09:41:11 2012 -0500

    Everything links. YAY!

    Now if only it would run...

commit 1cda6f306d11d1ecaa4fdb3f73f09d66d3f6eb71
Author: Michael Catanzaro <michael.catanzaro@mst.edu>
Date:   Sat Sep 1 20:29:32 2012 -0500

    Everything compiles.

    Doesn't link, though. ^^

commit ce132442ab672d49c7fefccd873e03edd359f936
Author: Michael Catanzaro <michael.catanzaro@mst.edu>
Date:   Sat Sep 1 20:12:33 2012 -0500

    ITcpAdapter.cpp compiles

commit 16704b6d64fdc85065271aa946b9c5f6f0f5215e
Author: Michael Catanzaro <michael.catanzaro@mst.edu>
Date:   Sat Sep 1 19:57:34 2012 -0500

    IBufferAdapter.cpp compiles

commit cb12c2b1736c0ebcb4927cecdac0720675ed8e24
Author: Michael Catanzaro <michael.catanzaro@mst.edu>
Date:   Sat Sep 1 13:17:19 2012 -0500

    CRtdsAdapter now compiles

commit dcc2e386f95ce313188d3b0e08241ee2ea739302
Author: Michael Catanzaro <michael.catanzaro@mst.edu>
Date:   Fri Aug 31 21:01:47 2012 -0500

    CRtdsAdapter::Start() needs work

commit 8a2dd518f46e6a7a0bb5a5c48179af0c09cd01b8
Author: Michael Catanzaro <michael.catanzaro@mst.edu>
Date:   Fri Aug 31 13:24:43 2012 -0500

    CPscadAdapter compiles

commit 7f9c61815f5928d11f85f91d88fd7977e7785fc8
Author: Michael Catanzaro <michael.catanzaro@mst.edu>
Date:   Fri Aug 31 12:05:01 2012 -0500

    More progress

commit 659ecb4b403ba15c93669b172be94c5576ee8df5
Author: Michael Catanzaro <michael.catanzaro@mst.edu>
Date:   Fri Aug 31 11:34:48 2012 -0500

    CDeviceManager now compiles

commit fd2bf6cccdef8ed553c8d762c4a552f655b01e9a
Author: Michael Catanzaro <michael.catanzaro@mst.edu>
Date:   Fri Aug 31 11:33:17 2012 -0500

    CAdapterFactory now compiles. Happy day!

commit 77fc12203fc11ac8c4de964674ccec4441286f26
Author: Michael Catanzaro <michael.catanzaro@mst.edu>
Date:   Fri Aug 31 10:02:33 2012 -0500

    Trying to compile

commit 405956381dcfc146339c5f9d9447229b44cb1864
Author: Michael Catanzaro <michael.catanzaro@mst.edu>
Date:   Fri Aug 31 09:32:08 2012 -0500

    Fully rename IConnectionAdapter -> ITcpAdapter

commit 2a25ae6e94de42a2edf3a815091d99a501e90ddc
Author: Michael Catanzaro <michael.catanzaro@mst.edu>
Date:   Fri Aug 31 09:26:37 2012 -0500

    Remove Identifier and SettingKey

commit 36bb06aa66d97239cac7620045cae66c5ef64693
Author: Michael Catanzaro <michael.catanzaro@mst.edu>
Date:   Fri Aug 31 09:12:07 2012 -0500

    Fix /config .gitignore

commit 1ad26863491afd3feed6b8ad618c4bf1af324019
Merge: 2975edd f1584d4
Author: Michael Catanzaro <michael.catanzaro@mst.edu>
Date:   Fri Aug 31 09:08:02 2012 -0500

    Merge branch 'master' into AdapterRefactor

    Conflicts:
    	Broker/src/PosixMain.cpp
    	Broker/src/device/CMakeLists.txt

commit 2975edd640dc554ef9223eeef3aac068d4588eca
Author: Michael Catanzaro <michael.catanzaro@mst.edu>
Date:   Fri Aug 31 08:39:27 2012 -0500

    Renamed two classes, now IAdapter and CDeviceManager

commit 9e7f67640ccee72fd7094db30e37116857dbf852
Author: Michael Catanzaro <michael.catanzaro@mst.edu>
Date:   Thu Aug 30 17:38:16 2012 -0500

    Fix cmake error

commit eae780e447ca41c123af1f57b20e49f2ee16d654
Author: Michael Catanzaro <michael.catanzaro@mst.edu>
Date:   Thu Aug 30 17:36:08 2012 -0500

    Done with everything.

    Haven't tried compiling yet. That'll be an adventure for another day.

commit f7ffdcff353621436ad54222d99f6b6f0492126a
Merge: 7832302 fab1f2a
Author: Michael Catanzaro <michael.catanzaro@mst.edu>
Date:   Thu Aug 30 09:02:59 2012 -0500

    Merge branch 'AdapterRefactor' of https://github.com/scj7t4/FREEDM into AdapterRefactor

    Conflicts:
    	Broker/src/device/IPhysicalAdapter.cpp

commit 7832302e6fe461fabd2789f32ce4fd3c945efdc0
Author: Michael Catanzaro <michael.catanzaro@mst.edu>
Date:   Thu Aug 30 09:01:26 2012 -0500

    More changes

commit fab1f2ac05501ba41218ef660d20051eb95301da
Author: tprfh7 <tprfh7@mst.edu>
Date:   Wed Aug 29 19:55:16 2012 -0500

    Improved error detection for the register functions.

commit 0674694716bdc33772b264c4825ed1f779c421df
Merge: 35094d7 c0b89a2
Author: Michael Catanzaro <michael.catanzaro@mst.edu>
Date:   Wed Aug 29 16:50:15 2012 -0500

    Merge branch 'AdapterRefactor' of https://github.com/scj7t4/FREEDM into AdapterRefactor

    Conflicts:
    	Broker/include/device/IPhysicalAdapter.hpp
    	Broker/include/device/ITcpAdapter.hpp
    	Broker/src/device/CMakeLists.txt
    	Broker/src/device/IConnectionAdapter.cpp

commit 35094d72969870f30a67d31a54316687366f7ae5
Author: Michael Catanzaro <michael.catanzaro@mst.edu>
Date:   Wed Aug 29 16:35:17 2012 -0500

    WILL NOT COMPILE! Initial work on adapter refactor.

commit c0b89a20fb01b46c89e2ae0e8de5ef5224fa99ec
Author: tprfh7 <tprfh7@mst.edu>
Date:   Wed Aug 29 14:08:22 2012 -0500

    Updated CMakeLists and the sample configuration files.

commit e6d10de704fa70a39b33e7d348d18077e9345a2a
Author: tprfh7 <tprfh7@mst.edu>
Date:   Wed Aug 29 13:52:35 2012 -0500

    PosixMain + main modules now understand the new adapter factory.

commit e10af07e379c1d644bbf029f36cb71be4fac1dcd
Author: tprfh7 <tprfh7@mst.edu>
Date:   Wed Aug 29 13:22:36 2012 -0500

    Fixed the adapter io_service and finished IPhysicalAdapter.

commit 4c622dd2a1f55079dae508e69e973ded4aabb892
Author: tprfh7 <tprfh7@mst.edu>
Date:   Wed Aug 29 01:11:55 2012 -0500

    Updated the documentation of a bunch more files.

commit d2083726e647fa482e5bbe27288d7018d378efd5
Author: tprfh7 <tprfh7@mst.edu>
Date:   Wed Aug 29 00:26:05 2012 -0500

    Had some fun with IConnectionAdapter to bring it to standard.

commit dd1c0bd98e264aa4494ba34393dd44a28ce34c39
Author: tprfh7 <tprfh7@mst.edu>
Date:   Wed Aug 29 00:07:24 2012 -0500

    Massive cleanup of CPscadAdapter.  It likely doesn't compile.

commit 8aba53f1d1fb30d6dda875ea066efc25aad59d39
Author: Thomas Roth <tprfh7@mst.edu>
Date:   Tue Aug 28 22:55:12 2012 -0500

    The adapter would now compile if the adapters weren't so incompatible.

commit 476c4c8cba81dd83dcb15c0f23730abca9f899cf
Author: Thomas Roth <tprfh7@mst.edu>
Date:   Tue Aug 28 00:29:13 2012 -0500

    Still not compilable!  But more senseful!

commit 4958fd8e53062f868db64e91ad1542877d512e5d
Author: Thomas Roth <tprfh7@mst.edu>
Date:   Tue Aug 28 00:26:24 2012 -0500

    Made this branch uncompilable!

commit 236d2c697d523914ca83d9712bb29c589152ddf3
Author: Michael Catanzaro <michael.catanzaro@mst.edu>
Date:   Fri Aug 24 08:44:14 2012 -0500

    Remove CGenericAdapter