Fraxinus
17.12-rc3
An IGT application
|
#include <cxRecordSession.h>
Public Member Functions | |
RecordSession () | |
RecordSession (int id, QString category) | |
virtual | ~RecordSession () |
QString | getUid () const |
QString | getHumanDescription () const |
description useful for display in gui. More... | |
QString | getDescription () const |
another legacy uid, used for folder creation etc More... | |
std::pair< QDateTime, QDateTime > | getInterval (int i) |
unsigned | getIntervalCount () const |
void | startNewInterval () |
void | stopLastInterval () |
void | cancelLastInterval () |
void | addXml (QDomNode &node) |
void | parseXml (QDomNode &node) |
Static Public Member Functions | |
static TimedTransformMap | getToolHistory_prMt (ToolPtr tool, RecordSessionPtr session, bool verbose) |
static std::map< double, ToolPositionMetadata > | getToolHistory_metadata (ToolPtr tool, RecordSessionPtr session, bool verbose) |
Protected Types | |
typedef std::pair< QDateTime, QDateTime > | IntervalType |
Protected Member Functions | |
QDateTime | getTimestamp () const |
QDateTime | timestamp2datetime (QString in) const |
QString | datetime2timestamp (QDateTime in) const |
bool | isOldStyleXmlFormat (QDomNode &node) |
void | parseXml_oldstyle (QDomNode &parentNode) |
void | setIdAndTimestampFromUid (QString uid) |
Protected Attributes | |
std::vector< IntervalType > | mIntervals |
QDateTime | mTimestamp |
QString | mCategory |
int | mId |
|
protected |
Definition at line 93 of file cxRecordSession.h.
cx::RecordSession::RecordSession | ( | ) |
Definition at line 47 of file cxRecordSession.cpp.
cx::RecordSession::RecordSession | ( | int | id, |
QString | category | ||
) |
Definition at line 52 of file cxRecordSession.cpp.
|
virtual |
Definition at line 60 of file cxRecordSession.cpp.
void cx::RecordSession::addXml | ( | QDomNode & | node | ) |
Definition at line 118 of file cxRecordSession.cpp.
void cx::RecordSession::cancelLastInterval | ( | ) |
Definition at line 77 of file cxRecordSession.cpp.
|
protected |
Definition at line 170 of file cxRecordSession.cpp.
QString cx::RecordSession::getDescription | ( | ) | const |
another legacy uid, used for folder creation etc
Definition at line 109 of file cxRecordSession.cpp.
QString cx::RecordSession::getHumanDescription | ( | ) | const |
description useful for display in gui.
Definition at line 89 of file cxRecordSession.cpp.
std::pair< QDateTime, QDateTime > cx::RecordSession::getInterval | ( | int | i | ) |
Definition at line 261 of file cxRecordSession.cpp.
unsigned cx::RecordSession::getIntervalCount | ( | ) | const |
Definition at line 266 of file cxRecordSession.cpp.
|
protected |
Definition at line 84 of file cxRecordSession.cpp.
|
static |
Definition at line 234 of file cxRecordSession.cpp.
|
static |
Definition at line 209 of file cxRecordSession.cpp.
QString cx::RecordSession::getUid | ( | ) | const |
Definition at line 100 of file cxRecordSession.cpp.
|
protected |
Definition at line 175 of file cxRecordSession.cpp.
void cx::RecordSession::parseXml | ( | QDomNode & | node | ) |
Definition at line 132 of file cxRecordSession.cpp.
|
protected |
Definition at line 180 of file cxRecordSession.cpp.
|
protected |
Definition at line 203 of file cxRecordSession.cpp.
void cx::RecordSession::startNewInterval | ( | ) |
Definition at line 63 of file cxRecordSession.cpp.
void cx::RecordSession::stopLastInterval | ( | ) |
Definition at line 69 of file cxRecordSession.cpp.
|
protected |
Definition at line 165 of file cxRecordSession.cpp.
|
protected |
Definition at line 96 of file cxRecordSession.h.
|
protected |
Definition at line 97 of file cxRecordSession.h.
|
protected |
Definition at line 94 of file cxRecordSession.h.
|
protected |
Definition at line 95 of file cxRecordSession.h.