Class NavigatorMuxer

Class Documentation

class NavigatorMuxer

A class to control the state of the BT navigator by allowing only a single plugin to be processed at a time.

Public Functions

inline NavigatorMuxer()

A Navigator Muxer constructor.

inline bool isNavigating()

Get the navigator muxer state.

Returns:

bool If a navigator is in progress

inline void startNavigating(const std::string &navigator_name)

Start navigating with a given navigator.

Parameters:

string – Name of the navigator to start

inline void stopNavigating(const std::string &navigator_name)

Stop navigating with a given navigator.

Parameters:

string – Name of the navigator ending task

Protected Attributes

std::string current_navigator_
std::mutex mutex_