Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | Related Pages

Monitor.h

Go to the documentation of this file.
00001 
00049 namespace mon
00050 {
00051     // FIXME: There should be a more elegant way to compose shorthand elements using templates with typelists.
00052     
00054     template< typename ShorthandElement >
00055     class sendable 
00056     {
00057     public:
00058         static std::ostream &operator<<( std::ostream &, const ShorthandElement & );
00059     };
00060     
00061     
00062     struct _basicMessage
00063     {
00064         const char * const desc_;
00065         const char * const file_;
00066         const int line_;
00067     };
00068     
00069     class warning: sendable<_basicMessage> 
00070     {
00071     public:
00072          warning( const char const * &desc, const char const *file, int line ): 
00073         desc_(desc), file_(file), line_(line) { }
00074         // implement operator<< in Monitor.cc
00075     };
00076 
00077 
00078 
00079 
00080 };

Generated on Fri Oct 8 12:17:54 2004 for Calibrate.Common by doxygen 1.3.4