#include <conferenceroom.h>
Collaboration diagram for ConferenceRoom:

Public Member Functions | |
| ConferenceRoom (Manager &mgr, PString &thisRoomId) | |
| ~ConferenceRoom () | |
| void | CloseThisId () |
| PString | GetStatusInfo () |
| PString | GetDurationInfo () |
| PString | GetRoomId () |
| void | RemoveMember (PString memberId) |
| PStringList | AddNewMember (PString memberId) |
| virtual void | PrintOn (ostream &strm) const |
| PINDEX | GetParticipantCount () |
| PStringList | GetParticipantNames () |
Protected Member Functions | |
| virtual void | OnReleaseThreadMain (PThread &, INT) |
| void | Clear () |
Protected Attributes | |
| Manager & | manager |
| PMutex | memberListLock |
| PStringList | memberList |
| PString | roomId |
| PTime | lastEmptyTime |
This provides a list of members, who can share audio between them. Audio from one member of this conference room will not go to a member of a difference conference room.
|
||||||||||||
|
Constructor, which adds a message module to this class |
|
|
Destructor |
|
|
Add a member to this list of members.
|
|
|
Cause this conference room to be cleared. Only called when the memberList has gone empty |
|
|
Close this id off |
|
|
Get information (in a textual form) of how long this room has been active |
|
|
Report the number of participants in this conference room |
|
|
Report the list of who is in this conference room |
|
|
Report the ID as used by this conference room |
|
|
Get the status information for this room |
|
||||||||||||
|
This ConferenceRoom, on discovering the last member has gone, has to be deleted. Consequently, a short lived thread is created to cause this room to close. The short lived thread calls this method |
|
|
pretty print information this ConferenceRoom
|
|
|
Remove a member from this list of members |
|
|
The time at which we were last detected as being empty. Once this room has been empty for five seconds, we are regarded as deadmeat, and are deleted. |
|
|
Link to our control manager |
|
|
List of members who are curently in this conference room |
|
|
Mutex which provides thread safe access to the list of room members |
|
|
The id of this conference room |
1.4.4