#include <pres_ent.h>
Public Types | |
| enum | State { InternalError = -3, Forbidden = -2, NoPresence = -1, Unchanged, Available, Unavailable, ExtendedBase = 100, UnknownExtended = ExtendedBase, Appointment, Away, Breakfast, Busy, Dinner, Holiday, InTransit, LookingForWork, Lunch, Meal, Meeting, OnThePhone, Other, Performance, PermanentAbsence, Playing, Presentation, Shopping, Sleeping, Spectator, Steering, Travel, TV, Vacation, Working, Worship } |
Presence states. More... | |
Public Member Functions | |
| OpalPresenceInfo (State state=Unchanged) | |
| PString | AsString () const |
Static Public Member Functions | |
| static PString | AsString (State state) |
| static State | FromString (const PString &str) |
Data Fields | |
| State | m_state |
| New state for presentity. | |
| PString | m_note |
| Additional information about state change. | |
| PURL | m_entity |
| The presentity whose state had changed. | |
| PURL | m_target |
| The presentity that is being informed about the state change. | |
Presencu state information
Presence states.
| OpalPresenceInfo::OpalPresenceInfo | ( | State | state = Unchanged |
) | [inline] |
| PString OpalPresenceInfo::AsString | ( | ) | const |
| static PString OpalPresenceInfo::AsString | ( | State | state | ) | [static] |
| static State OpalPresenceInfo::FromString | ( | const PString & | str | ) | [static] |
The presentity whose state had changed.
| PString OpalPresenceInfo::m_note |
Additional information about state change.
New state for presentity.
The presentity that is being informed about the state change.
1.6.1