Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
coyote
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nils
coyote
Commits
66591896
Commit
66591896
authored
1 month ago
by
Nils-Arne Dreier
Browse files
Options
Downloads
Patches
Plain Diff
fix: datetime shift
parent
fad71204
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!49
fix: datetime shift
Pipeline
#101236
passed
1 month ago
Stage: lint
Stage: build
Stage: test
Stage: verify
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/field.cpp
+3
-1
3 additions, 1 deletion
src/field.cpp
src/field.hpp
+1
-0
1 addition, 0 deletions
src/field.hpp
with
4 additions
and
1 deletion
src/field.cpp
+
3
−
1
View file @
66591896
...
...
@@ -42,7 +42,7 @@ namespace coyote {
}
}
std
::
string
Field
::
datetime
()
const
{
return
yac_cget_field_datetime
(
_target_field_id
)
;
}
std
::
string
Field
::
datetime
()
const
{
return
_datetime
;
}
bool
Field
::
is_done
()
const
{
return
_info
==
YAC_ACTION_OUT_OF_BOUND
;
}
bool
Field
::
is_ready
()
{
...
...
@@ -50,6 +50,7 @@ namespace coyote {
if
(
!
semaphore
.
try_acquire
())
return
false
;
int
ierror
=
0
;
_datetime
=
yac_cget_field_datetime
(
_target_field_id
);
yac_cget_async_
(
_target_field_id
,
_collection_size
,
_buffer
.
data
(),
&
_info
,
&
ierror
);
_get_started
=
true
;
}
...
...
@@ -59,6 +60,7 @@ namespace coyote {
return
false
;
yac_cget_action
(
_target_field_id
,
&
_info
);
_get_started
=
false
;
_datetime
=
yac_cget_field_datetime
(
_target_field_id
);
return
true
;
}
...
...
This diff is collapsed.
Click to expand it.
src/field.hpp
+
1
−
0
View file @
66591896
...
...
@@ -44,6 +44,7 @@ namespace coyote {
size_t
_point_size
;
int
_info
=
YAC_ACTION_NONE
;
bool
_get_started
=
false
;
std
::
string
_datetime
;
};
}
// namespace coyote
...
...
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