TrueReality  v0.1.1912
trManager::DirectorPriority Class Reference

Sets the priority for a Director instance. More...

#include <DirectorPriority.h>

Inheritance diagram for trManager::DirectorPriority:
Collaboration diagram for trManager::DirectorPriority:

Static Public Attributes

static DirectorPriority HIGHEST
 Highest possible priority. More...
 
static DirectorPriority HIGHER
 Higher priority. More...
 
static DirectorPriority NORMAL
 Normal priority. More...
 
static DirectorPriority LOWER
 Lower priority. More...
 
static DirectorPriority LOWEST
 Lowest priority. More...
 

Protected Member Functions

 DirectorPriority (const std::string &name, unsigned int id)
 ctor Protected to prevent creation of an instance. More...
 
- Protected Member Functions inherited from trUtil::EnumerationNumeric
 EnumerationNumeric (const std::string &name, unsigned int orderId)
 ctor Protected to prevent creation of an instance. More...
 
 ~EnumerationNumeric ()
 dtor. More...
 
- Protected Member Functions inherited from trUtil::EnumerationString
virtual int Compare (const std::string &nameString) const
 Virtual string compare method to used by the operators that take a string. More...
 
virtual ~EnumerationString ()
 Private virtual destructor to get rid of compile warning. More...
 
 EnumerationString (const std::string &name)
 Construct the EnumerationString. More...
 

Additional Inherited Members

- Public Types inherited from trUtil::EnumerationNumeric
using BaseClass = EnumerationString
 / Adds an easy and swappable access to the base class. More...
 
- Public Member Functions inherited from trUtil::EnumerationNumeric
unsigned int GetID () const
 Returns the Numeric value of the Enum. More...
 
bool operator== (const unsigned int &id) const
 Equality test for an EnumerationNumeric. More...
 
bool operator!= (const unsigned int &id) const
 Inequality test for an EnumerationNumeric. More...
 
bool operator> (const unsigned int &id) const
 Greater than test for an EnumerationNumeric. More...
 
bool operator< (const unsigned int &id) const
 Less than test for an EnumerationNumeric. More...
 
bool operator> (const EnumerationNumeric &e) const
 Greater than test for an EnumerationNumeric. More...
 
bool operator< (const EnumerationNumeric &e) const
 Less than test for an EnumerationNumeric. More...
 
bool operator== (const EnumerationNumeric &e) const
 Equality test for an EnumerationNumeric. More...
 
bool operator!= (const EnumerationNumeric &e) const
 Inequality test for an EnumerationNumeric. More...
 
bool operator== (const std::string &rhs) const
 Overloaded string compare operator for the EnumerationNumeric. More...
 
bool operator!= (const std::string &rhs) const
 Overloaded inequality test for this EnumerationNumeric's string value. More...
 
bool operator< (const std::string &rhs) const
 Overloaded less than test for this EnumerationNumeric's string value. More...
 
bool operator> (const std::string &rhs) const
 Overloaded greater than test for this EnumerationNumeric's string value. More...
 
- Public Member Functions inherited from trUtil::EnumerationString
const std::string & GetName () const
 Inlined because it's called frequently. More...
 
bool operator== (const EnumerationString &rhs) const
 Equality test for an EnumerationString. More...
 
bool operator!= (const EnumerationString &rhs) const
 Inequality test for an EnumerationString. More...
 
bool operator== (const std::string &rhs) const
 Overloaded string compare operator for the EnumerationString. More...
 
bool operator!= (const std::string &rhs) const
 Overloaded inequality test for this EnumerationString's string value. More...
 
bool operator< (const std::string &rhs) const
 Overloaded less than test for this EnumerationString's string value. More...
 
bool operator> (const std::string &rhs) const
 Overloaded greater than test for this EnumerationString's string value. More...
 
bool operator< (const EnumerationString &rhs) const
 Overloaded less than operator. More...
 

Detailed Description

Sets the priority for a Director instance.

The Directors with the higher priority will receive messages before the ones with the lower.

Definition at line 38 of file DirectorPriority.h.

Constructor & Destructor Documentation

◆ DirectorPriority()

trManager::DirectorPriority::DirectorPriority ( const std::string &  name,
unsigned int  id 
)
protected

ctor Protected to prevent creation of an instance.

Definition at line 29 of file DirectorPriority.cpp.

References HIGHER, HIGHEST, LOWER, LOWEST, and NORMAL.

Member Data Documentation

◆ HIGHER

DirectorPriority trManager::DirectorPriority::HIGHER
static

Higher priority.

Components with this priority will get messages after HIGHEST, but before any others.

Definition at line 50 of file DirectorPriority.h.

Referenced by DirectorPriority().

◆ HIGHEST

DirectorPriority trManager::DirectorPriority::HIGHEST
static

Highest possible priority.

Components with this priority will get messages first.

Definition at line 44 of file DirectorPriority.h.

Referenced by trApp::AppBase::AppBase(), and DirectorPriority().

◆ LOWER

DirectorPriority trManager::DirectorPriority::LOWER
static

Lower priority.

Components with this priority will get messages after any NORMAL or HIGHER priority, but before LOWEST.

Definition at line 62 of file DirectorPriority.h.

Referenced by DirectorPriority().

◆ LOWEST

DirectorPriority trManager::DirectorPriority::LOWEST
static

Lowest priority.

Components with this priority will get messages after all others.

Definition at line 65 of file DirectorPriority.h.

Referenced by DirectorPriority().

◆ NORMAL

DirectorPriority trManager::DirectorPriority::NORMAL
static

Normal priority.

Components with this priority will get messages after any HIGHER priority, but before LOWER.

Definition at line 56 of file DirectorPriority.h.

Referenced by trManager::DirectorBase::DirectorBase(), and DirectorPriority().


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