Subversion Repositories public

Rev

Rev 69 | Rev 77 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 69 Rev 75
Line 101... Line 101...
101
  inline struct pollfd* GetPollData()
101
  inline struct pollfd* GetPollData()
102
  {
102
  {
103
    return m_pPoll;
103
    return m_pPoll;
104
  }
104
  }
105
 
105
 
-
 
106
  /// Rebuilds the poll array data.
-
 
107
  void Rebuild();
-
 
108
 
-
 
109
  /// Removes all registered user tables.
-
 
110
  /**
-
 
111
   * It doesn't cause poll data rebuilding.
-
 
112
   */
-
 
113
  inline void Clear()
-
 
114
  {
-
 
115
    m_maps.clear();
-
 
116
  }
106
 
117
 
107
private:
118
private:
108
  int m_iPipeFd;    ///< pipe file descriptor
119
  int m_iPipeFd;    ///< pipe file descriptor
109
  int m_iMgmtFd;    ///< table management file descriptor
120
  int m_iMgmtFd;    ///< table management file descriptor
110
  Inotify* m_pIn;   ///< table management inotify object 
121
  Inotify* m_pIn;   ///< table management inotify object 
Line 112... Line 123...
112
  InotifyWatch* m_pUser;  ///< watch for user tables 
123
  InotifyWatch* m_pUser;  ///< watch for user tables 
113
  FDUT_MAP m_maps;  ///< watch-to-usertable mapping
124
  FDUT_MAP m_maps;  ///< watch-to-usertable mapping
114
  size_t m_size;    ///< poll data size
125
  size_t m_size;    ///< poll data size
115
  struct pollfd* m_pPoll; ///< poll data array
126
  struct pollfd* m_pPoll; ///< poll data array
116
 
127
 
117
  /// Rebuilds the poll array data.
-
 
118
  void Rebuild();
-
 
119
 
-
 
120
  /// Processes events on the table management inotify object. 
128
  /// Processes events on the table management inotify object. 
121
  void ProcessMgmtEvents();
129
  void ProcessMgmtEvents();
122
};
130
};
123
131
124
132