CustusX
18.04-rc1
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 72 of file cxRecordSession.h.
cx::RecordSession::RecordSession | ( | ) |
Definition at line 26 of file cxRecordSession.cpp.
cx::RecordSession::RecordSession | ( | int | id, |
QString | category | ||
) |
Definition at line 31 of file cxRecordSession.cpp.
|
virtual |
Definition at line 39 of file cxRecordSession.cpp.
void cx::RecordSession::addXml | ( | QDomNode & | node | ) |
Definition at line 97 of file cxRecordSession.cpp.
void cx::RecordSession::cancelLastInterval | ( | ) |
Definition at line 56 of file cxRecordSession.cpp.
|
protected |
Definition at line 149 of file cxRecordSession.cpp.
QString cx::RecordSession::getDescription | ( | ) | const |
another legacy uid, used for folder creation etc
Definition at line 88 of file cxRecordSession.cpp.
QString cx::RecordSession::getHumanDescription | ( | ) | const |
description useful for display in gui.
Definition at line 68 of file cxRecordSession.cpp.
std::pair< QDateTime, QDateTime > cx::RecordSession::getInterval | ( | int | i | ) |
Definition at line 240 of file cxRecordSession.cpp.
unsigned cx::RecordSession::getIntervalCount | ( | ) | const |
Definition at line 245 of file cxRecordSession.cpp.
|
protected |
Definition at line 63 of file cxRecordSession.cpp.
|
static |
Definition at line 213 of file cxRecordSession.cpp.
|
static |
Definition at line 188 of file cxRecordSession.cpp.
QString cx::RecordSession::getUid | ( | ) | const |
Definition at line 79 of file cxRecordSession.cpp.
|
protected |
Definition at line 154 of file cxRecordSession.cpp.
void cx::RecordSession::parseXml | ( | QDomNode & | node | ) |
Definition at line 111 of file cxRecordSession.cpp.
|
protected |
Definition at line 159 of file cxRecordSession.cpp.
|
protected |
Definition at line 182 of file cxRecordSession.cpp.
void cx::RecordSession::startNewInterval | ( | ) |
Definition at line 42 of file cxRecordSession.cpp.
void cx::RecordSession::stopLastInterval | ( | ) |
Definition at line 48 of file cxRecordSession.cpp.
|
protected |
Definition at line 144 of file cxRecordSession.cpp.
|
protected |
Definition at line 75 of file cxRecordSession.h.
|
protected |
Definition at line 76 of file cxRecordSession.h.
|
protected |
Definition at line 73 of file cxRecordSession.h.
|
protected |
Definition at line 74 of file cxRecordSession.h.