Skip to content
Snippets Groups Projects
Commit e9636601 authored by Nicolas Pope's avatar Nicolas Pope
Browse files

Add nested group option

parent 33c72334
No related branches found
No related tags found
1 merge request!94Implements #134 source groups
Pipeline #12883 failed
This commit is part of merge request !94. Comments created here will be created in the context of that merge request.
...@@ -54,6 +54,14 @@ class Group { ...@@ -54,6 +54,14 @@ class Group {
*/ */
void addSource(ftl::rgbd::Source *); void addSource(ftl::rgbd::Source *);
/**
* Add another group to this one. All sources in the other group are made
* available to this group in a synchronised way. There is additional
* overhead in supporting this as additional data copies are required
* internally for all the source frames.
*/
void addGroup(ftl::rgbd::Group *);
/** /**
* Provide a function to be called once per frame with a valid frameset * Provide a function to be called once per frame with a valid frameset
* at the specified latency. The function may not be called under certain * at the specified latency. The function may not be called under certain
......
...@@ -100,6 +100,10 @@ void Group::addSource(ftl::rgbd::Source *src) { ...@@ -100,6 +100,10 @@ void Group::addSource(ftl::rgbd::Source *src) {
}); });
} }
void Group::addGroup(Group *grp) {
}
void Group::_retrieveJob(ftl::rgbd::Source *src) { void Group::_retrieveJob(ftl::rgbd::Source *src) {
try { try {
src->retrieve(); src->retrieve();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment