trikRuntime
trikControl::MarkerInterface Class Referenceabstract

Controls marker. More...

#include <markerInterface.h>

Inheritance diagram for trikControl::MarkerInterface:
Collaboration diagram for trikControl::MarkerInterface:

Public Slots

virtual void down (const QString &color)=0
 Moves the marker down to the floor. More...
 
virtual void up ()=0
 Lifts the robots marker up. More...
 
virtual bool isDown () const =0
 Returns true if marker is currently active or false if not. More...
 
virtual void setDown (bool isDown)=0
 Calls down() with black color if isDown is true or up() otherwise. More...
 

Additional Inherited Members

- Public Types inherited from trikControl::DeviceInterface
enum  Status {
  Status::permanentFailure, Status::temporaryFailure, Status::off, Status::starting,
  Status::ready, Status::stopping
}
 Device status. More...
 
- Public Member Functions inherited from trikControl::DeviceInterface
 DeviceInterface ()=default
 
virtual ~DeviceInterface ()=default
 
virtual Status status () const =0
 Returns current status of the device. More...
 
- Static Public Member Functions inherited from trikControl::DeviceInterface
static Status combine (const DeviceInterface &underlying, const DeviceInterface::Status &dependent)
 Helper method to return status of a device relying on other device to work. More...
 

Detailed Description

Controls marker.

It is used only for 2d model in TS.

Member Function Documentation

virtual void trikControl::MarkerInterface::down ( const QString &  color)
pure virtualslot

Moves the marker down to the floor.

virtual bool trikControl::MarkerInterface::isDown ( ) const
pure virtualslot

Returns true if marker is currently active or false if not.

virtual void trikControl::MarkerInterface::setDown ( bool  isDown)
pure virtualslot

Calls down() with black color if isDown is true or up() otherwise.

virtual void trikControl::MarkerInterface::up ( )
pure virtualslot

Lifts the robots marker up.

The robot stops drawing its trace on the floor after that.


The documentation for this class was generated from the following file: