ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/truck/DashInterface/Display.hpp
(Generate patch)

Comparing DashInterface/Display.hpp (file contents):
Revision 30 by douglas, 2008-02-28T17:01:10-08:00 vs.
Revision 31 by douglas, 2008-02-28T22:06:06-08:00

# Line 7 | Line 7
7   #ifndef _Display_hpp_
8   #define _Display_hpp_
9  
10 < #include <posix.hpp>
10 > #include <threads.hpp>
11   #include <truck.hpp>
12  
13   #include <queue>
# Line 68 | Line 68 | class Display
68                  inline std::string GetData() const { return std::string(reinterpret_cast<const char *>(data), length); }
69          };
70          std::queue<Packet> keyActivity;
71 +        Pthreads::Thread thread;
72  
73          inline Packet Communicate(Packet::Command command) { return Communicate_(command, 0, reinterpret_cast<const uint8_t *>(NULL)); }
74          template <typename Arg0>
# Line 120 | Line 121 | public:
121          friend std::ostream &operator<<(std::ostream &output, const Packet &packet);
122          friend void operator<<(int fd, const Display::Packet &packet);
123          friend void operator>>(int fd, Display::Packet &packet);
124 +        friend void Communicate(Display *display);
125   };
126  
127   template <typename Arg0>

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines