CCAFFEINE
0.8.8
|
Public Member Functions | |
ParameterPort_Impl (ccafeopq::TypeMap_shared data, bool basic=false) | |
virtual std::string | getConfigurationString (const std::string &prefix) |
virtual std::string | getConfigurationString (const std::string &prefix, const std::string &key) |
virtual int | setConfigurationString (const std::string &key, const std::string &value) |
void | addSetListener (::ccafeopq::ports::ParameterSetListener_shared sl) |
void | addGetListener (::ccafeopq::ports::ParameterGetListener_shared gl) |
void | clearListeners () |
bool | getPublished () |
void | setPublished (bool tf) |
std::string | toString (const std::string &prefix,::ccafeopq::TypeMap_shared d, const std::string &key) |
std::string | toStringArray (const std::string &prefix,::ccafeopq::TypeMap_shared d, const std::string &key) |
virtual std::vector< std::string > | readConfigurationKeys () |
virtual ccafeopq::TypeMap_shared | readConfigurationMap () |
virtual void | writeConfigurationMap (ccafeopq::TypeMap_shared tm) |
virtual std::string | readTitle () |
virtual std::vector< std::string > | readGroupNames () |
virtual std::string | readGroupTitle (const std::string &groupName) |
virtual std::vector< std::string > | readGroupKeys (const std::string &groupName) |
virtual std::string | readHelp (const std::string &key) |
virtual std::string | readPrompt (const std::string &key) |
virtual bool | hasBounds (const std::string &key) |
virtual bool | hasChoices (const std::string &key) |
virtual bool | readDefaultBoolean (const std::string &key) |
virtual std::string | readDefaultString (const std::string &key) |
virtual int32_t | readDefaultInt (const std::string &key) |
virtual int64_t | readDefaultLong (const std::string &key) |
virtual float | readDefaultFloat (const std::string &key) |
virtual double | readDefaultDouble (const std::string &key) |
virtual std::complex< float > | readDefaultFcomplex (const std::string &key) |
virtual std::complex< double > | readDefaultDcomplex (const std::string &key) |
virtual std::vector< std::string > | readDefaultStringArray (const std::string &key) |
virtual std::vector< bool > | readDefaultBooleanArray (const std::string &key) |
virtual std::vector< int32_t > | readDefaultIntArray (const std::string &key) |
virtual std::vector< int64_t > | readDefaultLongArray (const std::string &key) |
virtual std::vector< float > | readDefaultFloatArray (const std::string &key) |
virtual std::vector< double > | readDefaultDoubleArray (const std::string &key) |
virtual std::vector < std::complex< float > > | readDefaultFcomplexArray (const std::string &key) |
virtual std::vector < std::complex< double > > | readDefaultDcomplexArray (const std::string &key) |
virtual void | readBoundsInt (const std::string &key, int32_t &low, int32_t &high) |
virtual void | readBoundsLong (const std::string &key, int64_t &low, int64_t &high) |
virtual void | readBoundsFloat (const std::string &key, float &low, float &high) |
virtual void | readBoundsDouble (const std::string &key, double &low, double &high) |
virtual std::vector< std::string > | readChoicesString (const std::string &key) |
virtual std::vector< int32_t > | readChoicesInt (const std::string &key) |
virtual std::vector< int64_t > | readChoicesLong (const std::string &key) |
virtual std::vector< float > | readChoicesFloat (const std::string &key) |
virtual std::vector< double > | readChoicesDouble (const std::string &key) |
virtual std::vector < std::complex< float > > | readChoicesFcomplex (const std::string &key) |
virtual std::vector < std::complex< double > > | readChoicesDcomplex (const std::string &key) |
Static Public Member Functions | |
static const std::string & | k_PORTNAME () |
static const std::string & | k_PUBPORTNAME () |
static const std::string & | k_TITLE () |
static const std::string & | k_ALLKEYS () |
static const std::string & | k_GROUPS () |
static const std::string & | k_CURGROUP () |
static const std::string & | k_GROUPKEYS () |
static const std::string & | k_DEFAULT () |
static const std::string & | k_BOUNDS () |
static const std::string & | k_BOUNDED () |
static const std::string & | k_CHOICES () |
static const std::string & | k_HELP () |
static const std::string & | k_PROMPT () |
static const std::string & | k_HASKEY () |
Private Member Functions | |
bool | hasKey (const std::string &key) |
Private Attributes | |
std::vector < ::ccafeopq::ports::ParameterGetListener_shared > | glv |
std::vector < ::ccafeopq::ports::ParameterSetListener_shared > | slv |
ccafeopq::TypeMap_shared | portData |
bool | published |
bool | basiconly |
virtual int ccafe::ParameterPort_Impl::setConfigurationString | ( | const std::string & | key, |
const std::string & | value | ||
) | [virtual] |
return 0 if ok, <0 if not.
Implements StringableParameterPort.