|
libdrmconf 0.14.1
A library to program DMR radios.
|
Simple visitor that splits Zones having A and B channels into two zones with A-lists only. More...
#include <intermediaterepresentation.hh>


Public Member Functions | |
| ZoneSplitVisitor () | |
| Constructor. | |
| bool | processItem (ConfigItem *item, const ErrorStack &err) |
| Traverses the specified config item. | |
| Public Member Functions inherited from Visitor | |
| virtual | ~Visitor () |
| Destructor. | |
| virtual bool | process (Config *config, const ErrorStack &err=ErrorStack()) |
| Traverses the properties of the configuration recursively. | |
| virtual bool | processProperty (ConfigItem *item, const QMetaProperty &prop, const ErrorStack &err=ErrorStack()) |
| Processes the specified property of the item. | |
| virtual bool | processFlags (ConfigItem *item, const QMetaProperty &prop, const ErrorStack &err=ErrorStack()) |
| Handles a flag typed property. | |
| virtual bool | processEnum (ConfigItem *item, const QMetaProperty &prop, const ErrorStack &err=ErrorStack()) |
| Handles an enum typed property. | |
| virtual bool | processBool (ConfigItem *item, const QMetaProperty &prop, const ErrorStack &err=ErrorStack()) |
| Handles a boolean typed property. | |
| virtual bool | processInt (ConfigItem *item, const QMetaProperty &prop, const ErrorStack &err=ErrorStack()) |
| Handles an integer typed property. | |
| virtual bool | processUInt (ConfigItem *item, const QMetaProperty &prop, const ErrorStack &err=ErrorStack()) |
| Handles an unsigned integer typed property. | |
| virtual bool | processDouble (ConfigItem *item, const QMetaProperty &prop, const ErrorStack &err=ErrorStack()) |
| Handles a double precision float typed property. | |
| virtual bool | processString (ConfigItem *item, const QMetaProperty &prop, const ErrorStack &err=ErrorStack()) |
| Handles a string typed property. | |
| virtual bool | processFrequency (ConfigItem *item, const QMetaProperty &prop, const ErrorStack &err=ErrorStack()) |
Handles a Frequency typed property. | |
| virtual bool | processInterval (ConfigItem *item, const QMetaProperty &prop, const ErrorStack &err=ErrorStack()) |
Handles a Interval typed property. | |
| virtual bool | processLevel (ConfigItem *item, const QMetaProperty &prop, const ErrorStack &err=ErrorStack()) |
Handles a Level typed property. | |
| virtual bool | processSelectiveCall (ConfigItem *item, const QMetaProperty &prop, const ErrorStack &err=ErrorStack()) |
Handles a SelectiveCall typed property. | |
| virtual bool | processGeoCoordinate (ConfigItem *item, const QMetaProperty &prop, const ErrorStack &err=ErrorStack()) |
Handles a QGeoCoordinate typed property. | |
| virtual bool | processUnknownType (ConfigItem *item, const QMetaProperty &prop, const ErrorStack &err=ErrorStack()) |
| Handles a property of unknown type. | |
| virtual bool | processList (AbstractConfigObjectList *list, const ErrorStack &err=ErrorStack()) |
| Traverses the list of objects or references. | |
| virtual bool | processReference (ConfigObjectReference *, const ErrorStack &err=ErrorStack()) |
| Handles references to config objects. | |
Additional Inherited Members | |
| Protected Member Functions inherited from Visitor | |
| Visitor () | |
| Hidden constructor. | |
Simple visitor that splits Zones having A and B channels into two zones with A-lists only.
This is a pre-processing step for many radios, where zones consists of a single list of channels and a zone is selected for each VFO separately.
|
virtual |
Traverses the specified config item.
This method calls processProperty on all properties of the item.
Reimplemented from Visitor.