Aria  2.8.0
Utility Classes

These classes provide useful cross-platform system tools, math and string tools, and other miscellaneous programming utilities. More...

Classes

class  Ar3DPoint
 Base class for points in 3 dimensional cartesian space. More...
 
class  ArASyncTask
 Asynchronous task (runs in its own thread) More...
 
class  ArCallbackList
 A class to hold a list of callbacks to call sequentially. More...
 
class  ArCallbackList1< P1 >
 A class to hold a list of callbacks to call with an argument of type P1 The functors added to the list must be pointers to a subclass of ArFunctor1<P1>. More...
 
class  ArCondition
 Threading condition wrapper class. More...
 
class  ArDaemonizer
 Switch to running the program as a background daemon (i.e. More...
 
class  ArECEFCoords
 Earth Centered Earth Fixed Coordinates. More...
 
class  ArENUCoords
 East North Up coordinates. More...
 
class  ArGenericCallbackList< GenericFunctor >
 A class to hold a list of callbacks to call GenericFunctor must be a pointer to an ArFunctor or subclass. More...
 
class  ArLine
 Represents geometry of a line in two-dimensional space. More...
 
class  ArLineFinder
 This class finds lines out of any range device with raw readings (lasers for instance) More...
 
class  ArLineSegment
 Represents a line segment in two-dimensional space. More...
 
struct  ArLineSegmentCmpOp
 ArLineSegment less than comparison for sets. More...
 
class  ArLLACoords
 Latitude, Longitude and Altitude Coordinates. More...
 
class  ArMapGPSCoords
 Coordinates based on a map with origin in LLA coords with conversion methods from LLA to ENU and from ENU to LLA coordinates. More...
 
class  ArMath
 Common math operations. More...
 
class  ArMD5Calculator
 Calculates the MD5 checksum when reading or writing a text file using ArFunctors. More...
 
class  ArMutex
 Cross-platform mutex wrapper class. More...
 
class  ArPose
 Represents an x, y position with an orientation. More...
 
struct  ArPoseCmpOp
 ArPose less than comparison for sets. More...
 
class  ArPoseWithTime
 A subclass of ArPose that also stores a timestamp (ArTime) More...
 
class  ArRingQueue< T >
 An expanding ring queue. More...
 
class  ArRootMeanSquareCalculator
 This is a class for computing a root mean square average of a number of elements. More...
 
class  ArRunningAverage
 Use for computing a running average of a number of elements. More...
 
class  ArSectors
 A class for keeping track of if a complete revolution has been attained. More...
 
class  ArSerialConnection
 Utility for connecting to and communicating with devices through a serial port. More...
 
class  ArSocket
 socket communication wrapper More...
 
class  ArSoundPlayer
 This class provides a cross-platform interface for playing short sound samples. More...
 
class  ArSoundsQueue
 This class manages a queue of items to play as WAV files or as text to speak using a speech synthesizer. More...
 
struct  ArStrCaseCmpOp
 strcasecmp for sets More...
 
class  ArSystemStatus
 Utility to get statistics about the host operating system (CPU usage, wireless link data, etc). More...
 
class  ArTcpConnection
 For connecting to a device through a TCP network socket. More...
 
class  ArTime
 A class for time readings and measuring durations. More...
 
class  ArTransform
 Perform transforms between different coordinates. More...
 
class  ArUtil
 Contains various utility functions, including cross-platform wrappers around common system functions. More...
 
class  ArWGS84
 All the constants defined by the World Geodetic System 1984. More...
 
class  ArSoundsQueue::Item
 A sound item in the queue, with callbacks for dealing with the item and the data to pass to those callbacks. More...
 

Enumerations

enum  { ArMD5Calculator::DIGEST_LENGTH = 16, ArMD5Calculator::DISPLAY_LENGTH = (DIGEST_LENGTH * 2) + 1 }
 
enum  {
  ArCondition::STATUS_FAILED =1, ArCondition::STATUS_FAILED_DESTROY, ArCondition::STATUS_FAILED_INIT, ArCondition::STATUS_WAIT_TIMEDOUT,
  ArCondition::STATUS_WAIT_INTR, ArCondition::STATUS_MUTEX_FAILED_INIT, ArCondition::STATUS_MUTEX_FAILED
}
 
enum  Error {
  NoErr, NetFail, ConBadHost, ConNoRoute,
  ConRefused, NameLookup
}
 
enum  ArSoundsQueue::ItemType { SPEECH, SOUND_FILE, SOUND_DATA, OTHER }
 Opaque identifier for the type of an item in the sound queue. More...
 
enum  ArTcpConnection::Open { ArTcpConnection::OPEN_NET_FAIL = 1, ArTcpConnection::OPEN_BAD_HOST, ArTcpConnection::OPEN_NO_ROUTE, ArTcpConnection::OPEN_CON_REFUSED }
 
enum  ArMutex::Status { ArMutex::STATUS_FAILED_INIT =1, ArMutex::STATUS_FAILED, ArMutex::STATUS_ALREADY_LOCKED }
 
enum  Type { UDP, TCP, Unknown }
 

Detailed Description

These classes provide useful cross-platform system tools, math and string tools, and other miscellaneous programming utilities.

Enumeration Type Documentation

anonymous enum
Enumerator
DIGEST_LENGTH 

Number of bytes in the checksum buffer.

DISPLAY_LENGTH 

Number of characters needed to display the checksum.

anonymous enum
Enumerator
STATUS_FAILED 

General failure.

STATUS_FAILED_DESTROY 

Another thread is waiting on this condition so it can not be destroyed.

STATUS_FAILED_INIT 

Failed to initialize thread. Requested action is imposesible.

STATUS_WAIT_TIMEDOUT 

The timedwait timed out before signaling.

STATUS_WAIT_INTR 

The wait was interupted by a signal.

STATUS_MUTEX_FAILED_INIT 

The underlying mutex failed to init.

STATUS_MUTEX_FAILED 

The underlying mutex failed in some fashion.

Opaque identifier for the type of an item in the sound queue.

Not used during processing, but may be used to search for items in the queue.

Enumerator
OPEN_NET_FAIL 

Some critical part of the network isn't working.

OPEN_BAD_HOST 

Could not find the host.

OPEN_NO_ROUTE 

Know where the host is, but can't get to it.

OPEN_CON_REFUSED 

Got to the host but it didn't allow a connection.

Enumerator
STATUS_FAILED_INIT 

Failed to initialize.

STATUS_FAILED 

General failure.

STATUS_ALREADY_LOCKED 

Mutex already locked.