Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
N
NexusCPP
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software Control System
Libraries
NexusCPP
Commits
81c37a04
Commit
81c37a04
authored
Jan 13, 2023
by
Stephane Poirier
Browse files
Options
Downloads
Patches
Plain Diff
[DataStreamer] restored deprecated c-tors that was removed by mistake
parent
19053427
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/nexuscpp/nxbuffer.h
+2
-0
2 additions, 0 deletions
include/nexuscpp/nxbuffer.h
src/nxbuffer.cpp
+22
-0
22 additions, 0 deletions
src/nxbuffer.cpp
with
24 additions
and
0 deletions
include/nexuscpp/nxbuffer.h
+
2
−
0
View file @
81c37a04
...
...
@@ -394,6 +394,8 @@ public:
DataStreamer
(
const
std
::
string
&
,
int
,
int
);
DataStreamer
(
const
std
::
string
&
,
int
);
DataStreamer
(
const
std
::
string
&
,
std
::
size_t
,
std
::
size_t
);
DataStreamer
(
const
std
::
string
&
,
std
::
size_t
);
void
Initialize
(
const
std
::
string
&
x
,
const
std
::
string
&
y
=
""
);
void
SetDataItemNodeName
(
const
std
::
string
&
,
const
std
::
string
&
);
void
SetPath
(
const
std
::
string
&
,
const
std
::
string
&
);
...
...
This diff is collapsed.
Click to expand it.
src/nxbuffer.cpp
+
22
−
0
View file @
81c37a04
...
...
@@ -753,6 +753,28 @@ DataStreamer::DataStreamer(const Config& cfg)
Initialize
(
cfg
);
}
//------------------------------------------------------------------------------
// DataStreamer::DataStreamer
//------------------------------------------------------------------------------
DataStreamer
::
DataStreamer
(
const
std
::
string
&
sBufferName
,
std
::
size_t
iAcquisitionSize
,
std
::
size_t
iBufferSize
)
{
init
();
m_cfg
.
buffer_name
=
sBufferName
;
m_cfg
.
buffer_size
=
iBufferSize
;
m_cfg
.
acquisition_size
=
iAcquisitionSize
;
}
//------------------------------------------------------------------------------
// DataStreamer::DataStreamer
//------------------------------------------------------------------------------
DataStreamer
::
DataStreamer
(
const
std
::
string
&
sBufferName
,
std
::
size_t
iBufferSize
)
{
init
();
m_cfg
.
buffer_name
=
sBufferName
;
m_cfg
.
buffer_size
=
iBufferSize
;
m_cfg
.
acquisition_size
=
iBufferSize
;
}
//------------------------------------------------------------------------------
// DataStreamer::DataStreamer
//------------------------------------------------------------------------------
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment