Signals | Public Member Functions | Private Types | Private Slots | Private Member Functions | Private Attributes
mrta::System Class Reference

#include <system.h>

List of all members.

Signals

void added (const QString &id)
void allocationStateChanged (const QString &id, int state)
void changed ()
void robotStateChanged (const QString &id, int state)
void taskStateChanged (const QString &id, int state)

Public Member Functions

AllocationgetAllocation (const QString &id)
QList< Allocation * > getAllocations () const
RobotgetRobot (const QString &id)
QList< Robot * > getRobots () const
TaskgetTask (const QString &id)
QList< Task * > getTasks () const
void setRegistry (utilities::MessageSubscriberRegistry *registry)
 System (QObject *parent, ApplicationConfig *application_config, ArchitectureConfig *architecture_config, utilities::MessageSubscriberRegistry *registry)
virtual ~System ()

Private Types

typedef QMap< QString, Robot * > RobotMap

Private Slots

void robotStateChanged (int state)

Private Member Functions

RobotaddRobot (RobotConfig *config)

Private Attributes

ApplicationConfigapplication_config_
ArchitectureConfigarchitecture_config_
QVector< Monitor * > monitors_
Problemproblem_
RobotMap robots_

Detailed Description

Definition at line 42 of file system.h.


Member Typedef Documentation

typedef QMap<QString, Robot*> mrta::System::RobotMap [private]

Definition at line 66 of file system.h.


Constructor & Destructor Documentation

mrta::System::System ( QObject *  parent,
ApplicationConfig application_config,
ArchitectureConfig architecture_config,
utilities::MessageSubscriberRegistry registry 
)

Definition at line 14 of file system.cpp.

mrta::System::~System ( ) [virtual]

Definition at line 57 of file system.cpp.


Member Function Documentation

void mrta::System::added ( const QString &  id) [signal]
Robot * mrta::System::addRobot ( RobotConfig config) [private]

Definition at line 117 of file system.cpp.

void mrta::System::allocationStateChanged ( const QString &  id,
int  state 
) [signal]
void mrta::System::changed ( ) [signal]
Allocation * mrta::System::getAllocation ( const QString &  id)

Definition at line 95 of file system.cpp.

Definition at line 104 of file system.cpp.

Robot * mrta::System::getRobot ( const QString &  id)

Definition at line 88 of file system.cpp.

QList< Robot * > mrta::System::getRobots ( ) const

Definition at line 100 of file system.cpp.

Task * mrta::System::getTask ( const QString &  id)

Definition at line 93 of file system.cpp.

QList< Task * > mrta::System::getTasks ( ) const

Definition at line 102 of file system.cpp.

void mrta::System::robotStateChanged ( const QString &  id,
int  state 
) [signal]
void mrta::System::robotStateChanged ( int  state) [private, slot]

Definition at line 129 of file system.cpp.

Definition at line 109 of file system.cpp.

void mrta::System::taskStateChanged ( const QString &  id,
int  state 
) [signal]

Member Data Documentation

Definition at line 69 of file system.h.

Definition at line 70 of file system.h.

QVector<Monitor*> mrta::System::monitors_ [private]

Definition at line 71 of file system.h.

Definition at line 68 of file system.h.

Definition at line 67 of file system.h.


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


rqt_mrta
Author(s): Adriano Henrique Rossette Leite
autogenerated on Thu Jun 6 2019 18:50:53