#include <AbiCollab_Packet.h>
Public Member Functions | |
DECLARE_PACKET (GlobSessionPacket) | |
GlobSessionPacket () | |
GlobSessionPacket (const GlobSessionPacket &Other) | |
GlobSessionPacket (const std::string &sSessionId, const std::string &sDocUUID) | |
~GlobSessionPacket () | |
const std::vector < SessionPacket * > & | getPackets () const |
void | addPacket (SessionPacket *pPacket) |
virtual PT_DocPosition | getPos () const |
virtual UT_sint32 | getLength () const |
virtual UT_sint32 | getAdjust () const |
virtual UT_sint32 | getRev () const |
virtual UT_sint32 | getRemoteRev (void) const |
virtual std::string | toStr () const |
Private Attributes | |
std::vector< SessionPacket * > | m_pPackets |
GlobSessionPacket::GlobSessionPacket | ( | ) | [inline] |
GlobSessionPacket::GlobSessionPacket | ( | const GlobSessionPacket & | Other | ) |
References m_pPackets, and UT_DEBUGMSG.
GlobSessionPacket::GlobSessionPacket | ( | const std::string & | sSessionId, | |
const std::string & | sDocUUID | |||
) | [inline] |
GlobSessionPacket::~GlobSessionPacket | ( | ) |
References DELETEP, and m_pPackets.
void GlobSessionPacket::addPacket | ( | SessionPacket * | pPacket | ) |
References m_pPackets, Packet::setParent(), and UT_return_if_fail.
Referenced by ABI_Collab_Export::_handleNewPacket(), ABI_Collab_Export::change(), and ABI_Collab_Export::signal().
GlobSessionPacket::DECLARE_PACKET | ( | GlobSessionPacket | ) |
UT_sint32 GlobSessionPacket::getAdjust | ( | ) | const [virtual] |
Implements AbstractChangeRecordSessionPacket.
References _PCT_FirstChangeRecord, ChangeRecordSessionPacket::getAdjust(), m_pPackets, and UT_continue_if_fail.
Referenced by toStr().
UT_sint32 GlobSessionPacket::getLength | ( | ) | const [virtual] |
Implements AbstractChangeRecordSessionPacket.
References ChangeRecordSessionPacket::getLength(), ChangeRecordSessionPacket::getPos(), m_pPackets, PCT_ChangeRecordSessionPacket, PCT_ChangeStrux_ChangeRecordSessionPacket, PCT_Data_ChangeRecordSessionPacket, PCT_DeleteStrux_ChangeRecordSessionPacket, PCT_Glob_ChangeRecordSessionPacket, PCT_GlobSessionPacket, PCT_InsertSpan_ChangeRecordSessionPacket, PCT_Object_ChangeRecordSessionPacket, PCT_Props_ChangeRecordSessionPacket, PCT_RDF_ChangeRecordSessionPacket, PCT_RevertAckSessionPacket, PCT_RevertSessionPacket, PCT_SignalSessionPacket, UT_ASSERT_HARMLESS, UT_continue_if_fail, UT_NOT_IMPLEMENTED, UT_return_val_if_fail, and UT_SHOULD_NOT_HAPPEN.
Referenced by toStr().
const std::vector<SessionPacket*>& GlobSessionPacket::getPackets | ( | ) | const [inline] |
References m_pPackets.
Referenced by AbiCollab::_fillRemoteRev(), ABI_Collab_Import::_import(), and ABI_Collab_Export::change().
PT_DocPosition GlobSessionPacket::getPos | ( | ) | const [virtual] |
Implements AbstractChangeRecordSessionPacket.
References _PCT_FirstChangeRecord, ChangeRecordSessionPacket::getPos(), m_pPackets, and UT_continue_if_fail.
Referenced by toStr().
UT_sint32 GlobSessionPacket::getRemoteRev | ( | void | ) | const [virtual] |
Implements AbstractChangeRecordSessionPacket.
References _PCT_FirstChangeRecord, ChangeRecordSessionPacket::getRemoteRev(), m_pPackets, UT_continue_if_fail, and UT_return_val_if_fail.
Referenced by toStr().
UT_sint32 GlobSessionPacket::getRev | ( | ) | const [virtual] |
Implements AbstractChangeRecordSessionPacket.
References _PCT_FirstChangeRecord, ChangeRecordSessionPacket::getRev(), m_pPackets, UT_continue_if_fail, and UT_return_val_if_fail.
Referenced by ABI_Collab_Import::_import(), and toStr().
std::string GlobSessionPacket::toStr | ( | ) | const [virtual] |
Reimplemented from SessionPacket.
References getAdjust(), getLength(), getPos(), getRemoteRev(), getRev(), and m_pPackets.
std::vector<SessionPacket*> GlobSessionPacket::m_pPackets [private] |
Referenced by addPacket(), getAdjust(), getLength(), getPackets(), getPos(), getRemoteRev(), getRev(), GlobSessionPacket(), toStr(), and ~GlobSessionPacket().