Session Message. More...

#include <gsession.h>

Public Member Functions

 GSessionMsg (GSession *session, tObjType type)
 
 GSessionMsg (GSession *session, tObjType type, bool del)
 
GSessionGetSession (void) const
 
tObjType GetType (void) const
 
bool GetDeleteObjs (void) const
 

Private Attributes

GSessionSession
 
tObjType Type
 
bool DeleteObjs
 

Detailed Description

Session Message.

A message associated to a session when its send a notification.

Constructor & Destructor Documentation

GSessionMsg ( GSession session,
tObjType  type 
)

Construct a session message. The meta type associated is supposed to be the session.

Parameters
sessionSession.
typeType of the objects.
GSessionMsg ( GSession session,
tObjType  type,
bool  del 
)

Construct a session message.

Parameters
sessionSession.
typeType of the objects.
delSpecify if the object were delete.

Member Function Documentation

GSession* GetSession ( void  ) const
Returns
the session associated to the message.
tObjType GetType ( void  ) const
Returns
the object type associated to the message.
bool GetDeleteObjs ( void  ) const

Specify if the objects were deleted.

Member Data Documentation

GSession* Session
private

The session sending the notification.

tObjType Type
private

Type of the objects concerned by the message send.

bool DeleteObjs
private

Were the object deleted or just their description cleared.