Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
labrobotica
drivers
comm
Commits
ad12fef2
Commit
ad12fef2
authored
Sep 19, 2019
by
Sergi Hernandez
Browse files
Made some attributes of the CCan class protected to be used in any inherited class.
parent
1379426a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/can/can.h
View file @
ad12fef2
...
...
@@ -37,13 +37,13 @@ class CCAN : protected CComm
std
::
string
frame_error_event_id
;
// public event
std
::
string
data_requested_event_id
;
// public event
std
::
string
finish_can_thread_event_id
;
// private event
// internal received frame buffer
std
::
queue
<
struct
can_frame
>
rx_frames
;
// reception can_id filters
struct
can_filter
*
rx_filters
;
int
num_filters
;
CMutex
can_access
;
protected:
// internal received frame buffer
std
::
queue
<
struct
can_frame
>
rx_frames
;
CMutex
can_access
;
/**
* \brief Function to actually open the device
*
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment