BlinkenArea - GitList
Repositories
Blog
Wiki
Blinker
Code
Commits
Branches
Tags
Search
Tree:
a8b0163
Branches
Tags
master
Blinker
src
noarch
OpConn.h
implemented operator connections and manager
Stefan Schuermans
commited
a8b0163
at 2011-12-22 12:48:03
OpConn.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_OPCONN_H #define BLINKER_OPCONN_H #include <string> #include "OpConnIf.h" namespace Blinker { /// operator connection class OpConn { protected: /** * @brief constructor * @param[in] pConnIf connection interface of this side */ OpConn(OpConnIf *pConnIf); public: /// destructor ~OpConn(); private: /// copy constructor disabled OpConn(const OpConn &that); /// assignment operator disabled const OpConn & operator=(const OpConn &that); public: /// close connection void close(); protected: /** * @brief set remote side of connection * @param[in] pRemote remote side connection object */ void setRemote(OpConn *pRemote); protected: OpConnIf *m_pConnIf; ///< connection interface of this side OpConn *m_pRemote; ///< remote side connection object friend class OpMgr; }; // class OpConn } // namespace Blinker #endif // #ifndef BLINKER_OPCONN_H