Aria  2.8.0
ArPriority Class Reference

Contains enumeration of four user-oriented priority levels (used primarily by ArConfig) More...

#include <ariaUtil.h>

Public Types

enum  { PRIORITY_COUNT = LAST_PRIORITY + 1 }
 
enum  Priority {
  IMPORTANT, BASIC = IMPORTANT, FIRST_PRIORITY = IMPORTANT, NORMAL,
  INTERMEDIATE = NORMAL, DETAILED, TRIVIAL = DETAILED, ADVANCED = DETAILED,
  EXPERT, FACTORY, CALIBRATION, LAST_PRIORITY = CALIBRATION
}
 

Static Public Member Functions

static Priority getPriorityFromName (const char *text)
 Returns the priority value that corresponds to the given displayable text string.
 
static const char * getPriorityName (Priority priority)
 Returns the displayable text string for the given priority.
 

Static Protected Attributes

static std::map< std::string, ArPriority::PriorityourNameToPriorityMap
 Map of displayable text to priorities.
 
static std::map< Priority, std::string > ourPriorityNames
 Map of priorities to displayable text.
 
static bool ourStringsInited = false
 Whether the map of priorities to display text has been initialized.
 
static std::string ourUnknownPriorityName
 Display text used when a priority's displayable text has not been defined.
 

Detailed Description

Contains enumeration of four user-oriented priority levels (used primarily by ArConfig)

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
PRIORITY_COUNT 

Number of priority values.

◆ Priority

Enumerator
IMPORTANT 

Basic things that should be modified to suit.

BASIC 

Basic things that should be modified to suit.

NORMAL 

Intermediate things that users may want to modify.

INTERMEDIATE 

Intermediate things that users may want to modify.

DETAILED 

Advanced items that probably shouldn't be modified.

TRIVIAL 

Advanced items (alias for historic reasons)

ADVANCED 

Advanced items that probably shouldn't be modified.

EXPERT 

Items that should be modified only by expert users or developers.

FACTORY 

Items that should be modified at the factory, often apply to a robot model.

CALIBRATION 

Items that apply to a particular hardware instance.

LAST_PRIORITY 

Last value in the enumeration.


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