1 #ifndef neo_ParameterPort 2 #define neo_ParameterPort 35 virtual std::string
readGroupTitle(
const std::string & groupName)= 0;
36 virtual std::vector< std::string >
readGroupKeys(
const std::string & groupName )= 0;
38 virtual std::string
readHelp(
const std::string & key)= 0;
39 virtual std::string
readPrompt(
const std::string & key)= 0;
40 virtual bool hasBounds(
const std::string & key)= 0;
41 virtual bool hasChoices(
const std::string & key)= 0;
61 virtual void readBoundsInt(
const std::string & key, int32_t & low, int32_t & high)= 0;
62 virtual void readBoundsLong(
const std::string & key, int64_t & low, int64_t & high)= 0;
63 virtual void readBoundsFloat(
const std::string & key,
float & low,
float & high)= 0;
64 virtual void readBoundsDouble(
const std::string & key,
double & low,
double & high)= 0;
67 virtual std::vector< int32_t >
readChoicesInt(
const std::string & key)= 0;
68 virtual std::vector< int64_t >
readChoicesLong(
const std::string & key)= 0;
72 virtual std::vector< std::complex<double> >
readChoicesDcomplex(
const std::string & key)= 0;
80 #endif // neo_ParameterPort virtual std::string readGroupTitle(const std::string &groupName)=0
virtual void readBoundsLong(const std::string &key, int64_t &low, int64_t &high)=0
virtual std::vector< int64_t > readChoicesLong(const std::string &key)=0
virtual std::vector< std::complex< double > > readChoicesDcomplex(const std::string &key)=0
interface for querying adjustable parameters, their ranges, help strings, groupings for UI purposes...
Definition: ParameterPort.hh:13
virtual std::vector< std::complex< float > > readDefaultFcomplexArray(const std::string &key)=0
virtual void readBoundsDouble(const std::string &key, double &low, double &high)=0
boost::shared_ptr< TypeMap > TypeMap_shared
This (TypeMap_shared) is what everyone declares in component code and noone ever calls new on...
Definition: TypeMap.hh:14
virtual std::vector< std::string > readGroupKeys(const std::string &groupName)=0
virtual double readDefaultDouble(const std::string &key)=0
virtual ~ParameterPort()
Definition: ParameterPort.hh:17
virtual bool readDefaultBoolean(const std::string &key)=0
virtual std::string readDefaultString(const std::string &key)=0
virtual std::vector< double > readChoicesDouble(const std::string &key)=0
virtual int64_t readDefaultLong(const std::string &key)=0
virtual std::vector< double > readDefaultDoubleArray(const std::string &key)=0
virtual void writeConfigurationMap(neo::cca::TypeMap_shared tm)=0
take values from the modifed map, tm, and copy them to the internal map of the given name...
virtual std::string readTitle()=0
virtual bool hasBounds(const std::string &key)=0
This class extends the STL std::exception to allow the thrower to specify the message that the stl sa...
Definition: Exception.hh:48
virtual std::vector< std::complex< float > > readChoicesFcomplex(const std::string &key)=0
virtual std::vector< std::string > readChoicesString(const std::string &key)=0
virtual std::vector< std::string > readConfigurationKeys()=0
return the names of available parameter maps.
virtual void readBoundsFloat(const std::string &key, float &low, float &high)=0
virtual std::string readHelp(const std::string &key)=0
virtual std::complex< float > readDefaultFcomplex(const std::string &key)=0
virtual std::vector< int32_t > readChoicesInt(const std::string &key)=0
virtual std::vector< float > readChoicesFloat(const std::string &key)=0
virtual std::vector< bool > readDefaultBooleanArray(const std::string &key)=0
virtual void readBoundsInt(const std::string &key, int32_t &low, int32_t &high)=0
virtual std::vector< std::string > readGroupNames()=0
virtual std::complex< double > readDefaultDcomplex(const std::string &key)=0
virtual float readDefaultFloat(const std::string &key)=0
virtual bool hasChoices(const std::string &key)=0
virtual int32_t readDefaultInt(const std::string &key)=0
virtual std::vector< float > readDefaultFloatArray(const std::string &key)=0
simple version just exposing the typemap.
Definition: BasicParameterPort.hh:14
virtual std::vector< std::string > readDefaultStringArray(const std::string &key)=0
virtual std::vector< int32_t > readDefaultIntArray(const std::string &key)=0
virtual std::vector< int64_t > readDefaultLongArray(const std::string &key)=0
virtual neo::cca::TypeMap_shared readConfigurationMap()=0
return a copy of the named map, for the caller to modify.
This is neoclassic – the ::classic::gov::cca headers updated to be similar to the official CCA speci...
Definition: neocca.hh:62
virtual std::vector< std::complex< double > > readDefaultDcomplexArray(const std::string &key)=0
virtual std::string readPrompt(const std::string &key)=0