-
Notifications
You must be signed in to change notification settings - Fork 152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jlo fixes/rldataacquisitionprovider improved initialization #25
Open
johannes-lode
wants to merge
20
commits into
pvbrowser:master
Choose a base branch
from
johannes-lode:jlo-fixes/rldataacquisitionprovider-improved-initialization
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Jlo fixes/rldataacquisitionprovider improved initialization #25
johannes-lode
wants to merge
20
commits into
pvbrowser:master
from
johannes-lode:jlo-fixes/rldataacquisitionprovider-improved-initialization
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
To avoid time calculation errors by mixing absolute time values with relative time value in the same class, the interface was changed for the application of relative amounts of time against absolute points in time. Added interface for simple formatting options of time differences.
Intermediate commit for transfer to another workstation.
Meanwhile added a proxy interface, so the traditional interface of operating with two operands of rlTimeEx is available. One small exception is there of returning double for the difference of two rlTimeEx object by default and returning rlTimeEx objects only on request by casting the second operand to RelativeTime(rltime_object).
By inspecting the logging files on logger start the data loss from deleted ring buffer files is reduced. This is achieved by avoiding the deletion of the oldest of the ring buffer files in case the youngest file is still in time window for further logging events. This way occurred a problem in Windows, where read and write pointer are not independent. So the inspection of the files and writing to the files is done from different file descriptors, opend for the special purpose. By the way reduced this problems with data logging, reopening the log files etc. after a server crash and restart.
For easier memory load the maximum reader line length can be set during construction of the reader object.
Checking the result of shared memory allocation, completed initialization of data members. Checking for initalized SHM on reading the itemlist from file. Closing formerly lost file pointer in readItemList(). Returns number of read items.
Assertions and type conversion rules ensure to combine only valid types of time (only one absolute time in addition or subtraction, all others need to be relative time values)
jlo-fixes/rltime-relative-time-adjustments Conflicts: .gitignore - resolved by mix-in rllib/lib/lib.pro - resolved by mix-in rllib/lib/rltime_v2.cpp - resolved by using my version rllib/lib/rltime_v2.h - resolved by using my version
'origin/jlo-fixes/rltime-relative-time-adjustments' into jlo-enhancements/rlhistoryreader-configure-read-line-length Conflicts: .gitignore - resolved by merging language_bindings/language_binding_rllib_wrap_lua.cxx - resolved regenerating language_bindings/lua/pvapplua/pvapplua - resolved by using incoming language_bindings/lua/pvslua/pvslua - resolved by using incoming
'origin/jlo-enhancements/rlhistoryreader-configure-read-line-length' into jlo-fixes/rldataacquisitionprovider-improved-initialization
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Improve intialization of the object and make the class derivable.