ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/GoogleTron/GoogleTron.hpp
Revision: 705
Committed: 2006-03-18T20:49:26-08:00 (19 years, 3 months ago) by douglas
File size: 794 byte(s)
Log Message:
Should work for FileSystem fairly well...

File Contents

# Content
1 // Google Tron
2 //
3 // Douglas Thrift
4 //
5 // $Id$
6
7 #ifndef _GoogleTron_hpp_
8 #define _GoogleTron_hpp_
9
10 #include <cxx/platform.hpp>
11
12 #ifdef MENES_PRAGMA_ONCE
13 #pragma once
14 #endif
15
16 #include <api/threads.hpp>
17 #include <mta/threadset.hpp>
18
19 #include "FileSystem.hpp"
20 #include "Blog.hpp"
21 #include "Wiki.hpp"
22
23 class GoogleTron
24 {
25 volatile bool working;
26 const cse::String &sitemap, &base;
27 ext::Queue<Url> queue;
28 api::ThreadMutex queueLock;
29 _S<api::Thread> output;
30 mta::ThreadSet<> threads;
31 int Output();
32 int FileSystem_(const _R<FileSystemCommand> &command);
33 int Blog_(const _R<BlogCommand> &command);
34 int Wiki_(const _R<WikiCommand> &command);
35 public:
36 GoogleTron(const cse::String &sitemap, const cse::String &base, const _L<_R<Command> > &commands);
37 ~GoogleTron();
38 };
39
40 #endif//_GoogleTron_hpp_

Properties

Name Value
svn:eol-style native
svn:keywords Id