You’re reading an older version of the Slamcore SDK documenation. The latest one is 23.04.

File slam_subsystem_access.hpp

SLAM subsystem access interface.

namespace slamcore

Main namespace for the Slamcore public API

Helper conversion methods

slamcore::ImageFormat \(\leftrightarrow\) BytesPerChannel

Get information about the client library

class SLAMSubsystemAccessInterface
#include <slam_subsystem_access.hpp>

Subsystem access interface.

Subclassed by SLAMSystemInterface

Public Functions

virtual ~SLAMSubsystemAccessInterface() = default
template<typename ST>
inline bool isSubsystemSupported() const

Check if the given Subsystem is supported.

Template Parameters

ST – Subsystem type to check.

template<typename ST>
inline std::shared_ptr<const ST> getSubsystem() const

Get a Subsystem interface.

Parameters

ST – Subsystem type to get

template<typename ST>
inline std::shared_ptr<ST> getSubsystem()

Get a Subsystem interface.

Parameters

ST – Subsystem type to get

Private Functions

virtual bool isSubsystemSupported(const SubsystemType &st) const = 0
virtual SubsystemInterface::CPtr getSubsystemImpl(const SubsystemType &st) const = 0
virtual SubsystemInterface::Ptr getSubsystemImpl(const SubsystemType &st) = 0