RTC Toolkit 4.0.2
|
Namespaces | |
namespace | detail |
Classes | |
class | CommandFailedException |
Dedicated exception type to indicate errors. More... | |
class | ModeCmdsImpl |
Class that handles reception of mode-related commands using MAL. More... | |
class | RtcMonitor |
class | RtcObject |
Concrete RtcObject implementation. More... | |
class | RtcObjectController |
Class used to control multiple RtcObjects. More... | |
class | RtcObjectIf |
Interface class for RtcObject. More... | |
struct | RtcObjectInfo |
Basic information necessary to construct an RtcObject. More... | |
class | RtcSupervisor |
class | StatusEstimator |
Class for system status estimation. More... | |
class | StatusPublisher |
Class used to publish status-changed-topic using MAL. More... | |
struct | Supervisory |
Life cycle extension to make RtcComponent Supervisory. More... | |
class | WriteBackCmdsImpl |
Class that handles reception of writeback-related commands using MAL. More... | |
Typedefs | |
using | Super = Supervisory< RtcComponent > |
Enumerations | |
enum class | RtcCommand { STOP , INIT , RESET , ENABLE , DISABLE , EXIT , GET_STATE , GET_VERSION , UPDATE } |
List of commands that can be issued by the RtcSupervisor. More... | |
Functions | |
bool | Contains (std::string const &cont, std::string const &item) |
bool | ContainsAny (std::string const &cont, std::set< std::string > const &item) |
bool | Contains (std::map< std::string, std::string > const &cont, std::string const &item) |
bool | ContainsAny (std::map< std::string, std::string > const &cont, std::set< std::string > const &item) |
template<typename T > | |
std::shared_ptr< T > | GetInterfaceHandle (const std::string &uri_str, std::optional< std::chrono::milliseconds > timeout=std::nullopt) |
std::string | MakeUri (std::string const &rr_uri, std::string const &if_name) |
std::string | MakeExceptionText (RtcCommand cmd, std::vector< std::exception_ptr > const &eptrs) |
Variables | |
constexpr auto | STATE_OFF = "Off" |
constexpr auto | STATE_STARTING = "On::NotOperational::Starting" |
constexpr auto | STATE_NOT_READY = "On::NotOperational::NotReady" |
constexpr auto | STATE_INITIALISING = "On::NotOperational::Initialising" |
constexpr auto | STATE_READY = "On::NotOperational::Ready" |
constexpr auto | STATE_ENABLING = "On::NotOperational::Enabling" |
constexpr auto | STATE_DISABLING = "On::NotOperational::Disabling" |
constexpr auto | STATE_IDLE = "On::Operational::Idle" |
constexpr auto | STATE_RUNNING = "On::Operational::Running" |
constexpr auto | STATE_GOING_RUNNING = "On::Operational::GoingRunning" |
constexpr auto | STATE_GOING_IDLE = "On::Operational::GoingIdle" |
constexpr auto | STATE_LOOP_OPENED = "On::Operational::Opened" |
constexpr auto | STATE_LOOP_CLOSED = "On::Operational::Closed" |
constexpr auto | STATE_LOOP_SUSPENDED = "On::Operational::Suspended" |
constexpr auto | STATE_LOOP_SUSPENDING = "On::Operational::Suspending" |
constexpr auto | STATE_LOOP_RESUMING = "On::Operational::Resuming" |
constexpr auto | STATE_ERROR = "On::Operational::Error" |
constexpr auto | STATE_RECOVERING = "On::Operational::Recovering" |
constexpr auto | STATUS_OFF = "Off;Off" |
constexpr auto | STATUS_NOT_READY = "NotOperational;NotReady" |
constexpr auto | STATUS_INITIALISING = "NotOperational;Initialising" |
constexpr auto | STATUS_READY = "NotOperational;Ready" |
constexpr auto | STATUS_IDLE = "Operational;Idle" |
constexpr auto | STATUS_LOOP_OPENED = "Operational;LoopOpened" |
constexpr auto | STATUS_LOOP_CLOSED = "Operational;LoopClosed" |
constexpr auto | STATUS_ERROR = "Operational;Error" |
using rtctk::rtcSupervisor::Super = typedef Supervisory<RtcComponent> |
|
strong |
List of commands that can be issued by the RtcSupervisor.
Enumerator | |
---|---|
STOP | |
INIT | |
RESET | |
ENABLE | |
DISABLE | |
EXIT | |
GET_STATE | |
GET_VERSION | |
UPDATE |
bool rtctk::rtcSupervisor::Contains | ( | std::map< std::string, std::string > const & | cont, |
std::string const & | item | ||
) |
bool rtctk::rtcSupervisor::Contains | ( | std::string const & | cont, |
std::string const & | item | ||
) |
bool rtctk::rtcSupervisor::ContainsAny | ( | std::map< std::string, std::string > const & | cont, |
std::set< std::string > const & | item | ||
) |
bool rtctk::rtcSupervisor::ContainsAny | ( | std::string const & | cont, |
std::set< std::string > const & | item | ||
) |
std::shared_ptr< T > rtctk::rtcSupervisor::GetInterfaceHandle | ( | const std::string & | uri_str, |
std::optional< std::chrono::milliseconds > | timeout = std::nullopt |
||
) |
std::string rtctk::rtcSupervisor::MakeExceptionText | ( | RtcCommand | cmd, |
std::vector< std::exception_ptr > const & | eptrs | ||
) |
std::string rtctk::rtcSupervisor::MakeUri | ( | std::string const & | rr_uri, |
std::string const & | if_name | ||
) |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |