Skip to content

Commit 354606b

Browse files
committed
cleanup of override
Signed-off-by: Andrey Parfenov <a1994ndrey@gmail.com>
1 parent 21a41d9 commit 354606b

44 files changed

Lines changed: 215 additions & 214 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/board_controller/aavaa/inc/aavaa_v3.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ class AAVAAv3 : public BLELibBoard
1414
{
1515
public:
1616
AAVAAv3 (struct BrainFlowInputParams params);
17-
~AAVAAv3 ();
17+
~AAVAAv3 () override;
1818

19-
int prepare_session ();
20-
int start_stream (int buffer_size, const char *streamer_params);
21-
int stop_stream ();
22-
int release_session ();
23-
int config_board (std::string config, std::string &response);
19+
int prepare_session () override;
20+
int start_stream (int buffer_size, const char *streamer_params) override;
21+
int stop_stream () override;
22+
int release_session () override;
23+
int config_board (std::string config, std::string &response) override;
2424
int send_command (std::string config);
2525

2626
void adapter_1_on_scan_start (simpleble_adapter_t adapter);

src/board_controller/ant_neuro/inc/ant_neuro.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ class AntNeuroBoard : public Board
3737

3838
public:
3939
AntNeuroBoard (int board_id, struct BrainFlowInputParams params);
40-
~AntNeuroBoard ();
40+
~AntNeuroBoard () override;
4141

42-
int prepare_session ();
43-
int start_stream (int buffer_size, const char *streamer_params);
44-
int stop_stream ();
45-
int release_session ();
46-
int config_board (std::string config, std::string &response);
42+
int prepare_session () override;
43+
int start_stream (int buffer_size, const char *streamer_params) override;
44+
int stop_stream () override;
45+
int release_session () override;
46+
int config_board (std::string config, std::string &response) override;
4747
int get_board_sampling_rate (int preset) override;
4848
};

src/board_controller/biolistener/inc/biolistener.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,11 @@ class BioListener : public Board
6565

6666
public:
6767
BioListener (int board_id, struct BrainFlowInputParams params);
68-
~BioListener ();
68+
~BioListener () override;
6969

70-
int prepare_session ();
71-
int start_stream (int buffer_size, const char *streamer_params);
72-
int stop_stream ();
73-
int release_session ();
74-
int config_board (std::string config, std::string &response);
70+
int prepare_session () override;
71+
int start_stream (int buffer_size, const char *streamer_params) override;
72+
int stop_stream () override;
73+
int release_session () override;
74+
int config_board (std::string config, std::string &response) override;
7575
};

src/board_controller/brainalive/inc/brainalive.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ class BrainAlive : public BLELibBoard
1616

1717
public:
1818
BrainAlive (struct BrainFlowInputParams params);
19-
~BrainAlive ();
19+
~BrainAlive () override;
2020

21-
int prepare_session ();
22-
int start_stream (int buffer_size, const char *streamer_params);
23-
int stop_stream ();
24-
int release_session ();
25-
int config_board (std::string config, std::string &response);
21+
int prepare_session () override;
22+
int start_stream (int buffer_size, const char *streamer_params) override;
23+
int stop_stream () override;
24+
int release_session () override;
25+
int config_board (std::string config, std::string &response) override;
2626
int config_board (std::string config);
2727

2828
void adapter_1_on_scan_found (simpleble_adapter_t adapter, simpleble_peripheral_t peripheral);

src/board_controller/emotibit/inc/emotibit.h

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,11 @@ class Emotibit : public Board
5959

6060
public:
6161
Emotibit (struct BrainFlowInputParams params);
62-
~Emotibit ();
62+
~Emotibit () override;
6363

64-
int prepare_session ();
65-
int start_stream (int buffer_size, const char *streamer_params);
66-
int stop_stream ();
67-
int release_session ();
68-
int config_board (std::string config, std::string &response);
69-
};
64+
int prepare_session () override;
65+
int start_stream (int buffer_size, const char *streamer_params) override;
66+
int stop_stream () override;
67+
int release_session () override;
68+
int config_board (std::string config, std::string &response) override;
69+
};

src/board_controller/enophone/inc/enophone.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ class Enophone : public BTLibBoard
2323

2424
public:
2525
Enophone (struct BrainFlowInputParams params);
26-
~Enophone ();
26+
~Enophone () override;
2727

28-
int prepare_session ();
29-
int start_stream (int buffer_size, const char *streamer_params);
30-
int stop_stream ();
31-
int release_session ();
32-
int config_board (std::string config, std::string &response);
28+
int prepare_session () override;
29+
int start_stream (int buffer_size, const char *streamer_params) override;
30+
int stop_stream () override;
31+
int release_session () override;
32+
int config_board (std::string config, std::string &response) override;
3333
};

src/board_controller/freeeeg/inc/freeeeg.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ class FreeEEG : public Board
2626

2727
public:
2828
FreeEEG (int board_id, struct BrainFlowInputParams params);
29-
~FreeEEG ();
29+
~FreeEEG () override;
3030

31-
int prepare_session ();
32-
int start_stream (int buffer_size, const char *streamer_params);
33-
int stop_stream ();
34-
int release_session ();
35-
int config_board (std::string config, std::string &response);
31+
int prepare_session () override;
32+
int start_stream (int buffer_size, const char *streamer_params) override;
33+
int stop_stream () override;
34+
int release_session () override;
35+
int config_board (std::string config, std::string &response) override;
3636

3737
static constexpr int start_byte = 0xA0;
3838
static constexpr int end_byte = 0xC0;

src/board_controller/gtec/inc/unicorn_board.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,13 @@ class UnicornBoard : public Board
3636

3737
public:
3838
UnicornBoard (struct BrainFlowInputParams params);
39-
~UnicornBoard ();
39+
~UnicornBoard () override;
4040

41-
int prepare_session ();
42-
int start_stream (int buffer_size, const char *streamer_params);
43-
int stop_stream ();
44-
int release_session ();
45-
int config_board (std::string config, std::string &response);
41+
int prepare_session () override;
42+
int start_stream (int buffer_size, const char *streamer_params) override;
43+
int stop_stream () override;
44+
int release_session () override;
45+
int config_board (std::string config, std::string &response) override;
4646

4747
static constexpr int package_size = 17; // from unicorn.h
4848
};

src/board_controller/inc/ble_lib_board.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,5 +71,5 @@ class BLELibBoard : public Board
7171

7272
public:
7373
BLELibBoard (int board_id, struct BrainFlowInputParams params);
74-
virtual ~BLELibBoard ();
74+
~BLELibBoard () override;
7575
};

src/board_controller/inc/bt_lib_board.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ class BTLibBoard : public Board
2424

2525
public:
2626
BTLibBoard (int board_id, struct BrainFlowInputParams params);
27-
virtual ~BTLibBoard ();
27+
~BTLibBoard () override;
2828

29-
virtual int prepare_session ();
30-
virtual int release_session ();
31-
virtual int config_board (std::string config, std::string &response);
29+
int prepare_session () override;
30+
int release_session () override;
31+
int config_board (std::string config, std::string &response) override;
3232
};

0 commit comments

Comments
 (0)