Skip to content
Snippets Groups Projects
Commit a744fde1 authored by Jeremie Deray's avatar Jeremie Deray
Browse files

ProcessorParamsBase constructor & explicit virtual

parent c3ec3e30
No related branches found
No related tags found
1 merge request!138Solver manager
Pipeline #
......@@ -109,10 +109,31 @@ class KFPackBuffer
*/
struct ProcessorParamsBase
{
ProcessorParamsBase() = default;
ProcessorParamsBase(bool _voting_active,
Scalar _time_tolerance,
const std::string& _type,
const std::string& _name)
: voting_active(_voting_active)
, time_tolerance(_time_tolerance)
, type(_type)
, name(_name)
{
//
}
virtual ~ProcessorParamsBase() = default;
bool voting_active = false;
///< maximum time difference between a Keyframe time stamp and
/// a particular Capture of this processor to allow assigning
/// this Capture to the Keyframe.
Scalar time_tolerance = Scalar(0);
std::string type;
std::string name;
Scalar time_tolerance; ///< maximum time difference between a Keyframe time stamp and a particular Capture of this processor to allow assigning this Capture to the Keyframe.
bool voting_active;
};
//class ProcessorBase
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment