Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Stack Of Tasks
dynamic-graph
Commits
d9dc152e
Commit
d9dc152e
authored
Feb 25, 2020
by
Joseph Mirabel
Browse files
Make TracerRealTime::getBufferSize and setBufferSize public.
parent
3aa6df4d
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/dynamic-graph/tracer-real-time.h
View file @
d9dc152e
...
...
@@ -50,17 +50,18 @@ public:
DG_TRACERREALTIME_DLLAPI
friend
std
::
ostream
&
operator
<<
(
std
::
ostream
&
os
,
const
TracerRealTime
&
t
);
protected:
virtual
void
openFile
(
const
SignalBase
<
int
>
&
sig
,
const
std
::
string
&
filename
);
virtual
void
recordSignal
(
std
::
ostream
&
os
,
const
SignalBase
<
int
>
&
sig
);
void
emptyBuffers
();
void
setBufferSize
(
const
int
&
SIZE
)
{
bufferSize
=
SIZE
;
}
const
int
&
getBufferSize
()
{
return
bufferSize
;
}
protected:
virtual
void
openFile
(
const
SignalBase
<
int
>
&
sig
,
const
std
::
string
&
filename
);
virtual
void
recordSignal
(
std
::
ostream
&
os
,
const
SignalBase
<
int
>
&
sig
);
typedef
std
::
list
<
std
::
ofstream
*>
HardFileList
;
static
const
int
BUFFER_SIZE_DEFAULT
=
1048576
;
// 1Mo
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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