LRAUV  revA
Maintainer Class Reference

Component responsible for handling periodic logging of variable values to the syslog and the console, etc. More...

#include <Maintainer.h>

Collaboration diagram for Maintainer:

Classes

class  MaintainItem
 Keeps track of which how we have to maintain each DataElement. More...
 

Public Member Functions

 Maintainer ()
 Constructor for Maintainer. More...
 
void addMaintain (unsigned short int uriCode, DataValue *dataValue, SyncComponent::CycleOrder cycleOrder, bool unavailable, bool invalid)
 
void removeMaintain (unsigned short int uriCode)
 
void removeAllMaintains ()
 
void listMaintains ()
 

Private Member Functions

 Maintainer (const Maintainer &old)
 

Private Attributes

FlexArray< MaintainItem * > maintainArray_
 
Mutex mutex_
 

Detailed Description

Component responsible for handling periodic logging of variable values to the syslog and the console, etc.

Typically managed by console commands. Examples:

maintain add HorizontalControl.horizontalMode 2 enum // Sets HorizontalControl.horizontalMode to 2 every cycle maintain rem HorizontalControl.horizontalMode // stops HorizontalControl.horizontalMode from being maintained maintain clear // stops all items from being maintained maintain list // list all the items being maintained

Constructor & Destructor Documentation

Maintainer::Maintainer ( )

Constructor for Maintainer.

Maintainer::Maintainer ( const Maintainer old)
private

Member Function Documentation

void Maintainer::listMaintains ( )
void Maintainer::removeAllMaintains ( )
void Maintainer::removeMaintain ( unsigned short int  uriCode)

Member Data Documentation

FlexArray<MaintainItem*> Maintainer::maintainArray_
private
Mutex Maintainer::mutex_
private

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