Back to index

im-sdk  12.3.91
Public Member Functions | Private Types | Private Attributes | Friends
IMUser Class Reference

#include <IMUser.hh>

Collaboration diagram for IMUser:
Collaboration graph
[legend]

List of all members.

Public Member Functions

IMDesktoprequest_desktop (IMDesktop::IMDesktopAttr &attr)
const u16stringget_username () const
 IMUser (const u16string &username)
 ~IMUser ()

Private Types

typedef list< IMDesktop * > IMDesktopList

Private Attributes

u16string username
IMDesktopList desklist
IMConnectionpaux_proxy_connection

Friends

class IMUserMgr

Detailed Description

Definition at line 11 of file IMUser.hh.


Member Typedef Documentation

typedef list<IMDesktop*> IMUser::IMDesktopList [private]

Definition at line 16 of file IMUser.hh.


Constructor & Destructor Documentation

IMUser::IMUser ( const u16string username)

Definition at line 33 of file IMUser.cpp.

{
    username = x_username;
}

Definition at line 40 of file IMUser.cpp.

Here is the call graph for this function:


Member Function Documentation

const u16string& IMUser::get_username ( ) const [inline]

Definition at line 27 of file IMUser.hh.

    { return username; }

Here is the caller graph for this function:

Definition at line 7 of file IMUser.cpp.

{
    IMDesktop *pd;
    IMDesktopList::iterator it;

    for (it = desklist.begin(); it != desklist.end(); it++) {
       pd = *it;
       if (pd->match(attr)) {
           LOG_DEBUG("Found the existing desktop:%s",
                    pd->get_desktop_display_name().c_str());
           return pd;
       }
    }
    pd = new IMDesktop(this, attr);
    LOG_DEBUG("Create new IMDesktop for %s",
             pd->get_desktop_display_name().c_str());
    if (!pd) return NULL;
    desklist.push_back(pd);

    return pd;
}

Here is the call graph for this function:

Here is the caller graph for this function:


Friends And Related Function Documentation

friend class IMUserMgr [friend]

Definition at line 33 of file IMUser.hh.


Member Data Documentation

Definition at line 17 of file IMUser.hh.

Definition at line 21 of file IMUser.hh.

Definition at line 13 of file IMUser.hh.


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