Skip to content

Commit

Permalink
kernelshark: Cleanup of KsDualMarker methods
Browse files Browse the repository at this point in the history
Remove stateAPtr and stateBPtr methods since no longer needed

Signed-off-by: Benjamin ROBIN <[email protected]>
Signed-off-by: Yordan Karadzhov <[email protected]>
  • Loading branch information
benjarobin authored and yordan-karadzhov committed Jan 21, 2024
1 parent 1245304 commit ed02d2a
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/KsDualMarker.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -144,22 +144,16 @@ class KsDualMarkerSM : public QWidget
/** Get the marker B. */
KsGraphMark &markerB() {return _markB;}

/** Get a pointer to the State A object. */
QState *stateAPtr() {return _stateA;}

/** Get a pointer to the State B object. */
QState *stateBPtr() {return _stateB;}

void updateMarkers(const KsDataStore &data,
KsGLWidget *glw);

void updateLabels();

/** Get the index inside the data array marker A points to. */
ssize_t markerAPos() {return markerA()._isSet ? markerA()._pos : -1;}
ssize_t markerAPos() {return _markA._isSet ? _markA._pos : -1;}

/** Get the index inside the data array marker B points to. */
ssize_t markerBPos() {return markerB()._isSet ? markerB()._pos : -1;}
ssize_t markerBPos() {return _markB._isSet ? _markB._pos : -1;}

signals:
/**
Expand Down

0 comments on commit ed02d2a

Please sign in to comment.