Carma-platform v4.2.0
CARMA Platform is built on robot operating system (ROS) and utilizes open source software (OSS) that enables Cooperative Driving Automation (CDA) features to allow Automated Driving Systems to interact and cooperate with infrastructure and other vehicles through communication.
subsystem_controllers::Entry Struct Reference

An entry represents a driver details for the purposes of tracking. More...

#include <entry.hpp>

Collaboration diagram for subsystem_controllers::Entry:
Collaboration graph

Public Member Functions

 Entry (bool available, const std::string &name, long timestamp)
 All fields constructor. More...
 
 Entry ()=default
 
 Entry (bool available, bool active, const std::string &name, uint8_t type, const std::string &capability, bool user_requested_activation)
 All fields constructor. More...
 
 Entry ()=default
 

Public Attributes

bool available_ = false
 Availability flag of a driver. More...
 
std::string name_
 Fully specified node name of a driver. More...
 
long timestamp_
 The timestamp at which the entry was last updated. More...
 
bool active_ = false
 Activation flag of a plugin. More...
 
uint8_t type_ = 0
 Type of the plugin from the message enum in carma_planning_msgs::Plugin. More...
 
std::string capability_
 The capability string of the plugin. More...
 
bool user_requested_activation_ = false
 Flag indicating if the user requested this plugin be activated. More...
 

Detailed Description

An entry represents a driver details for the purposes of tracking.

An entry represents a plugins details for the purposes of tracking.

Definition at line 26 of file entry.hpp.

Constructor & Destructor Documentation

◆ Entry() [1/4]

subsystem_controllers::Entry::Entry ( bool  available,
const std::string &  name,
long  timestamp 
)
inline

All fields constructor.

Definition at line 38 of file entry.hpp.

39 : available_(available), name_(name), timestamp_(timestamp) {}
bool available_
Availability flag of a driver.
Definition: entry.hpp:29
std::string name_
Fully specified node name of a driver.
Definition: entry.hpp:31
long timestamp_
The timestamp at which the entry was last updated.
Definition: entry.hpp:33

◆ Entry() [2/4]

subsystem_controllers::Entry::Entry ( )
default

◆ Entry() [3/4]

subsystem_controllers::Entry::Entry ( bool  available,
bool  active,
const std::string &  name,
uint8_t  type,
const std::string &  capability,
bool  user_requested_activation 
)
inline

All fields constructor.

Definition at line 44 of file entry.h.

45 : available_(available), active_(active), name_(name), type_(type), capability_(capability), user_requested_activation_(user_requested_activation) {}
std::string capability_
The capability string of the plugin.
Definition: entry.h:37
bool user_requested_activation_
Flag indicating if the user requested this plugin be activated.
Definition: entry.h:39
uint8_t type_
Type of the plugin from the message enum in carma_planning_msgs::Plugin.
Definition: entry.h:35
bool active_
Activation flag of a plugin.
Definition: entry.h:31

◆ Entry() [4/4]

subsystem_controllers::Entry::Entry ( )
default

Member Data Documentation

◆ active_

◆ available_

bool subsystem_controllers::Entry::available_ = false

◆ capability_

std::string subsystem_controllers::Entry::capability_

The capability string of the plugin.

Definition at line 37 of file entry.h.

◆ name_

std::string subsystem_controllers::Entry::name_

Fully specified node name of a driver.

Fully specified node name of a plugin.

Definition at line 31 of file entry.hpp.

Referenced by subsystem_controllers::PluginManager::add_plugin(), and subsystem_controllers::EntryManager::update_entry().

◆ timestamp_

long subsystem_controllers::Entry::timestamp_

The timestamp at which the entry was last updated.

Definition at line 33 of file entry.hpp.

◆ type_

uint8_t subsystem_controllers::Entry::type_ = 0

Type of the plugin from the message enum in carma_planning_msgs::Plugin.

Definition at line 35 of file entry.h.

◆ user_requested_activation_

bool subsystem_controllers::Entry::user_requested_activation_ = false

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