BlinkenArea - GitList
Repositories
Blog
Wiki
Blinker
Code
Commits
Branches
Tags
Search
Tree:
a8b0163
Branches
Tags
master
Blinker
src
noarch
OpReqIf.h
implemented operator connections and manager
Stefan Schuermans
commited
a8b0163
at 2011-12-22 12:48:03
OpReqIf.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 BLINKER_OPREQIF_H #define BLINKER_OPREQIF_H #include <string> #include "OpConnIf.h" namespace Blinker { class OpConn; /// operator connection request interface class OpReqIf: public OpConnIf { public: /// constructor OpReqIf(); /// virtual destructor virtual ~OpReqIf(); public: /** * @brief check if accepting new operator connction is possible * @param[in] name operator interface name * @return if accepting new connection is possible */ virtual bool acceptNewOpConn(const std::string &name) = 0; /** * @brief new operator connection * @param[in] name operator interface name * @param[in] pConn operator connection object */ virtual void newOpConn(const std::string &name, OpConn *pConn) = 0; }; // class OpReqIf } // namespace Blinker #endif // #ifndef BLINKER_OPREQIF_H