Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
BornAgain
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mlz
BornAgain
Commits
bdea8bf0
Commit
bdea8bf0
authored
9 years ago
by
Van Herck, Walter
Browse files
Options
Downloads
Patches
Plain Diff
Added comment clarifying shared_ptr usage in case python derived objects need to be passed to c++
parent
063e5b6f
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
App/inc/FitSuiteObserverFactory.h
+1
-0
1 addition, 0 deletions
App/inc/FitSuiteObserverFactory.h
Core/Algorithms/inc/ISampleBuilder.h
+1
-0
1 addition, 0 deletions
Core/Algorithms/inc/ISampleBuilder.h
Core/Tools/inc/IObserver.h
+1
-0
1 addition, 0 deletions
Core/Tools/inc/IObserver.h
with
3 additions
and
0 deletions
App/inc/FitSuiteObserverFactory.h
+
1
−
0
View file @
bdea8bf0
...
...
@@ -25,6 +25,7 @@
class
FitSuiteObserverFactory
{
public:
// These shared pointers will be used as observer_t
typedef
boost
::
shared_ptr
<
FitSuitePrintObserver
>
observer_print_t
;
typedef
boost
::
shared_ptr
<
FitSuiteDrawObserver
>
observer_draw_t
;
typedef
boost
::
shared_ptr
<
FitSuiteWriteTreeObserver
>
observer_tree_t
;
...
...
This diff is collapsed.
Click to expand it.
Core/Algorithms/inc/ISampleBuilder.h
+
1
−
0
View file @
bdea8bf0
...
...
@@ -36,6 +36,7 @@ public:
protected
:
};
// Shared pointer is used when passing these objects from python to c++
typedef
boost
::
shared_ptr
<
class
ISampleBuilder
>
SampleBuilder_t
;
#endif
/* ISAMPLEBUILDER_H_ */
This diff is collapsed.
Click to expand it.
Core/Tools/inc/IObserver.h
+
1
−
0
View file @
bdea8bf0
...
...
@@ -44,6 +44,7 @@ public:
class
BA_CORE_API_
IObservable
{
public:
// Shared pointer is used when passing these objects from python to c++
typedef
boost
::
shared_ptr
<
IObserver
>
observer_t
;
typedef
std
::
list
<
observer_t
>
observerlist_t
;
...
...
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