Skip to content
Snippets Groups Projects
Commit ab35c9ba authored by Joan Solà Ortega's avatar Joan Solà Ortega
Browse files

Remove CaptureBase::getStructure()

parent c738ed46
No related branches found
No related tags found
1 merge request!403Resolve "Merge Aux/KeyFrames into Estimated Frames"
......@@ -82,7 +82,6 @@ class CaptureBase : public NodeBase, public HasStateBlocks, public std::enable_s
// State blocks
const StateStructure& getStructure() const;
StateBlockPtr getStateBlock(const char& _key) const;
StateBlockPtr getSensorP() const;
StateBlockPtr getSensorO() const;
......
......@@ -152,14 +152,6 @@ bool CaptureBase::isConstrainedBy(const FactorBasePtr &_factor) const
}
const StateStructure& CaptureBase::getStructure() const
{
if (getSensor())
return getSensor()->getStructure();
else
return HasStateBlocks::getStructure();
}
StateBlockPtr CaptureBase::getStateBlock(const char& _key) const
{
if (getSensor() and getSensor()->hasStateBlock(_key))
......
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