Consumer.hpp
Go to the documentation of this file.
00001 #ifndef FD_CONSUMER_TASK_HPP
00002 #define FD_CONSUMER_TASK_HPP
00003 
00004 #include "fd/ConsumerBase.hpp"
00005 
00006 
00007 namespace RTT
00008 {
00009     class FileDescriptorActivity;
00010 }
00011 
00012 
00013 namespace fd {
00014     class Consumer : public ConsumerBase
00015     {
00016         friend class ConsumerBase;
00017     protected:
00018         int m_fd;
00019 
00020     public:
00021         Consumer(std::string const& name = "fd::Consumer");
00022         ~Consumer();
00023 
00024         RTT::FileDescriptorActivity* getFileDescriptorActivity();
00025 
00039         bool configureHook();
00040 
00046         // bool startHook();
00047 
00064         void updateHook();
00065         
00066 
00073         // void errorHook();
00074 
00078         // void stopHook();
00079 
00084         // void cleanupHook();
00085 
00086         
00090         int getFileDescriptor() const;
00091         
00092 
00093     };
00094 }
00095 
00096 #endif
00097 


orogen
Author(s): Sylvain Joyeux/sylvain.joyeux@m4x.org
autogenerated on Thu Jan 2 2014 11:38:57