DOapputil.h

Classes

apputil -- DOapputil: DO for AppUtil class; used by CLI parameter-setting shell (full description)
apputilFactory -- apputilfactory: Factory for apputil (full description)

class apputil : public ApplicationObject

Interface

Public Members
apputil()
~apputil()
apputil (const GlishRecord& meta)
virtual String className() const
virtual Vector <String> methods() const
virtual Vector <String> noTraceMethods() const
virtual MethodResult runMethod (uInt which, ParameterSet& inpRec, Bool runMethod)

Description

Prerequisite

Etymology

The name DOapputil, reflects the packaging of class AppUtil as a DO.

Synopsis

DOapputil makes the class AppUtil available for use by the CLI parameter-setting shell, app.g. It binds class AppUtil to Glish, and contains only the aips++ DO layer. layer.

Example


 

Motivation

DOapputil and AppUtil are kept separate to isolate the DO layer. .

To Do

Member Description

apputil()

Default constructor, and destructor

~apputil()

apputil (const GlishRecord& meta)

Construct from an instance of the Tasking meta-information

virtual String className() const

Methods required to distribute the class as an aips++ DO i) return the class name

virtual Vector <String> methods() const

ii) return a list of class methods

virtual Vector <String> noTraceMethods() const

iii) return a list of methods for which no logging is required

virtual MethodResult runMethod (uInt which, ParameterSet& inpRec, Bool runMethod)

iv) Execute individual methods


class apputilFactory : public ApplicationObjectFactory

Interface

virtual MethodResult make (ApplicationObject*& newObject, const String& whichConstructor, ParameterSet& inpRec, Bool runConstructor)

Description

Prerequisite

Etymology

The name DOapputil, reflects the packaging of class AppUtil as a DO.

Synopsis

DOapputil makes the class AppUtil available for use by the CLI parameter-setting shell, app.g. It binds class AppUtil to Glish, and contains only the aips++ DO layer. layer.

Example


 

Motivation

DOapputil and AppUtil are kept separate to isolate the DO layer. .

To Do

Member Description

virtual MethodResult make (ApplicationObject*& newObject, const String& whichConstructor, ParameterSet& inpRec, Bool runConstructor)

Mechanism to allow non-standard constructors for class cal as an aips++ distributed object.