33 #ifndef CXRecordSession_H_ 34 #define CXRecordSession_H_ 36 #include "org_custusx_acquisition_Export.h" 41 #include "boost/shared_ptr.hpp" 74 QString getUid()
const;
75 QString getHumanDescription()
const;
76 QString getDescription()
const;
77 std::pair<QDateTime,QDateTime> getInterval(
int i);
78 unsigned getIntervalCount()
const;
80 void startNewInterval();
81 void stopLastInterval();
82 void cancelLastInterval();
84 void addXml(QDomNode& node);
85 void parseXml(QDomNode& node);
87 static TimedTransformMap getToolHistory_prMt(
ToolPtr tool, RecordSessionPtr session,
bool verbose);
88 static std::map<double, ToolPositionMetadata> getToolHistory_metadata(
ToolPtr tool, RecordSessionPtr session,
bool verbose);
91 QDateTime getTimestamp()
const;
99 QDateTime timestamp2datetime(QString in)
const;
100 QString datetime2timestamp(QDateTime in)
const;
102 bool isOldStyleXmlFormat(QDomNode& node);
103 void parseXml_oldstyle(QDomNode& parentNode);
104 void setIdAndTimestampFromUid(QString uid);
std::pair< QDateTime, QDateTime > IntervalType
std::vector< IntervalType > mIntervals
boost::shared_ptr< class RecordSession > RecordSessionPtr
std::map< double, Transform3D > TimedTransformMap
Namespace for all CustusX production code.
boost::shared_ptr< class Tool > ToolPtr