Test.h

Go to the documentation of this file.
00001 #ifndef __TEST_H__
00002 #define __TEST_H__
00003 
00004 /*
00005 
00006 $Header$
00007 
00008 */
00009 
00010 #include "Service.h"
00011 #include "Registry.h"
00012 
00013 static const char *const NAME_TEST = "test";
00014 static const char *const MAN_TEST  = "\
00015 Service <service>test</service> is for test purposes only.\
00016 ";
00017 
00018 class Test : public Service<Test>
00019 {
00020 
00021 friend class Service<Test>;
00022 
00023   PYLON_OBJECT
00024 
00025 public:
00026 
00027   inline
00028   static String NAME();
00029 
00030   inline
00031   static String MANUAL();
00032 
00033 protected:
00034 
00035   Test(const ValueList &params);
00036   virtual ~Test();
00037 
00038 private:
00039 
00040   REGISTRY(String, String_1, "Ni huja");
00041 };
00042 
00043 inline
00044 String Test::NAME()
00045 {
00046   return NAME_TEST;
00047 }
00048 
00049 inline
00050 String Test::MANUAL()
00051 {
00052   return MAN_TEST;
00053 }
00054 
00055 #endif

Generated on Thu Sep 6 20:11:25 2007 for Pylon Application Platform by  doxygen 1.5.1