BipedalLocomotion::System::RosClockFactory class final

Base classes

class ClockFactory
ClockFactory is an interface that implements the factory paradigm.

Constructors, destructors, conversion operators

RosClockFactory(int argc, char const* argv[])
Constructor of the factory.
RosClockFactory(const std::vector<std::string>& args)
Constructor of the factory.

Public functions

auto createClock() -> IClock& final
Create the ROS clock as a singleton.

Function documentation

BipedalLocomotion::System::RosClockFactory::RosClockFactory(int argc, char const* argv[])

Constructor of the factory.

Parameters
argc number of command-line arguments to parse.
argv array of command-line arguments to parse.

BipedalLocomotion::System::RosClockFactory::RosClockFactory(const std::vector<std::string>& args)

Constructor of the factory.

Parameters
args array of command-line arguments to parse.

IClock& BipedalLocomotion::System::RosClockFactory::createClock() final

Create the ROS clock as a singleton.

Returns the reference to a System::RosClock