OPAL  Version 3.10.10
OpalSetLocalPresenceCommand Class Reference

#include <pres_ent.h>

Inheritance diagram for OpalSetLocalPresenceCommand:
OpalPresentityCommand OpalPresenceInfo

Public Member Functions

 OpalSetLocalPresenceCommand (State state=NoPresence)
 
- Public Member Functions inherited from OpalPresentityCommand
 OpalPresentityCommand (bool responseNeeded=false)
 
virtual ~OpalPresentityCommand ()
 
virtual void Process (OpalPresentity &presentity)=0
 
- Public Member Functions inherited from OpalPresenceInfo
 OpalPresenceInfo (State state=Unchanged)
 
PString AsString () const
 
Comparison Compare (const PObject &other) const
 

Additional Inherited Members

- Public Types inherited from OpalPresentityCommand
typedef PAtomicInteger::IntegerType CmdSeqType
 
- Public Types inherited from OpalPresenceInfo
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...
 
- Static Public Member Functions inherited from OpalPresenceInfo
static PString AsString (State state)
 
static State FromString (const PString &str)
 
- Data Fields inherited from OpalPresentityCommand
CmdSeqType m_sequence
 
bool m_responseNeeded
 
PURL m_presentity
 
- Data Fields inherited from OpalPresenceInfo
State m_state
 New state for presentity. More...
 
PString m_note
 Additional information about state change. More...
 
PURL m_entity
 The presentity whose state had changed. More...
 
PURL m_target
 The presentity that is being informed about the state change. More...
 
PTime m_when
 Time/date of state change. More...
 

Detailed Description

Command for adusting our current status. This action typically causes all presentities to be notified of the change. The mechanism by which this happens is dependent on the concrete OpalPresentity class and it's underlying protocol.

Constructor & Destructor Documentation

◆ OpalSetLocalPresenceCommand()

OpalSetLocalPresenceCommand::OpalSetLocalPresenceCommand ( State  state = NoPresence)
inline

The documentation for this class was generated from the following file: