BlinkenArea - GitList
Repositories
Blog
Wiki
Blinker
Code
Commits
Branches
Tags
Search
Tree:
afef9fe
Branches
Tags
master
Blinker
src
noarch
IoCallee.h
extended call manager to support monitoring I/O objects
Stefan Schuermans
commited
afef9fe
at 2011-10-25 21:19:00
IoCallee.h
Blame
History
Raw
/* Blinker Copyright 2011 Stefan Schuermans <stefan@blinkenarea.org> Copyleft GNU public license - http://www.gnu.org/copyleft/gpl.html a blinkenarea.org project */ #ifndef IOCALLEE_H #define IOCALLEE_H #include "Io.h" namespace Blinker { /// I/O callee interface (i.e. called on I/O event) class IoCallee { public: /// constructor IoCallee(); /// destructor virtual ~IoCallee(); public: /** * @brief callback when I/O object is readable * @param[in] io I/O object that is readable */ virtual void ioReadCall(Io *io) = 0; /** * @brief callback when I/O object is writable * @param[in] io I/O object that is writable */ virtual void ioWriteCall(Io *io) = 0; }; // class IoCallee } // namespace Blinker #endif // #ifndef IOCALLEE_H