SH-3275 WIP interesting Update viewer metrics system to be more flexible
fix for extendablerecording not having right statemaster
parent
3a555a2ff8
commit
09ee16c61d
|
|
@ -470,43 +470,51 @@ void ExtendableRecording::extend()
|
|||
|
||||
void ExtendableRecording::start()
|
||||
{
|
||||
LLStopWatchControlsMixin<ExtendableRecording>::start();
|
||||
mPotentialRecording.start();
|
||||
}
|
||||
|
||||
void ExtendableRecording::stop()
|
||||
{
|
||||
LLStopWatchControlsMixin<ExtendableRecording>::stop();
|
||||
mPotentialRecording.stop();
|
||||
}
|
||||
|
||||
void ExtendableRecording::pause()
|
||||
{
|
||||
LLStopWatchControlsMixin<ExtendableRecording>::pause();
|
||||
mPotentialRecording.pause();
|
||||
}
|
||||
|
||||
void ExtendableRecording::resume()
|
||||
{
|
||||
LLStopWatchControlsMixin<ExtendableRecording>::resume();
|
||||
mPotentialRecording.resume();
|
||||
}
|
||||
|
||||
void ExtendableRecording::restart()
|
||||
{
|
||||
LLStopWatchControlsMixin<ExtendableRecording>::restart();
|
||||
mAcceptedRecording.reset();
|
||||
mPotentialRecording.restart();
|
||||
}
|
||||
|
||||
void ExtendableRecording::reset()
|
||||
{
|
||||
LLStopWatchControlsMixin<ExtendableRecording>::reset();
|
||||
mAcceptedRecording.reset();
|
||||
mPotentialRecording.reset();
|
||||
}
|
||||
|
||||
void ExtendableRecording::splitTo(ExtendableRecording& other)
|
||||
{
|
||||
LLStopWatchControlsMixin<ExtendableRecording>::splitTo(other);
|
||||
mPotentialRecording.splitTo(other.mPotentialRecording);
|
||||
}
|
||||
|
||||
void ExtendableRecording::splitFrom(ExtendableRecording& other)
|
||||
{
|
||||
LLStopWatchControlsMixin<ExtendableRecording>::splitFrom(other);
|
||||
mPotentialRecording.splitFrom(other.mPotentialRecording);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -389,7 +389,9 @@ namespace LLTrace
|
|||
class ExtendableRecording
|
||||
: public LLStopWatchControlsMixin<ExtendableRecording>
|
||||
{
|
||||
public:
|
||||
void extend();
|
||||
Recording& getAcceptedRecording() { return mAcceptedRecording; }
|
||||
|
||||
// implementation for LLStopWatchControlsMixin
|
||||
/*virtual*/ void start();
|
||||
|
|
|
|||
Loading…
Reference in New Issue