case class Result extends ParameterSetType[Result] with ParameterSetKeyData with Product with Serializable
A result containing parameters for command response
- Alphabetic
- By Inheritance
- Result
- Product
- Equals
- ParameterSetKeyData
- ParameterSetType
- TMTSerializable
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
Result(prefix: String)
A java helper to construct Result
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
add[P <: Parameter[_]](parameter: P): Result
Adds a parameter to the parameter set
Adds a parameter to the parameter set
- P
the Parameter type
- parameter
the parameter to add
- returns
a new instance of this parameter set with the given parameter added
- Definition Classes
- ParameterSetType
-
final
def
apply[S](key: Key[S]): Parameter[S]
Return the parameter associated with a Key rather than an Option
Return the parameter associated with a Key rather than an Option
- S
the Scala value type
- key
the Key to be used for lookup
- returns
the parameter associated with the Key or a NoSuchElementException if the key does not exist
- Definition Classes
- ParameterSetType
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate() @throws( ... )
-
def
contains(key: Key[_]): Boolean
Returns true if the data contains the given key
Returns true if the data contains the given key
- Definition Classes
- ParameterSetType
-
def
create(data: Set[Parameter[_]]): Result
Create a new Result instance when a parameter is added or removed
Create a new Result instance when a parameter is added or removed
- data
set of parameters
- returns
a new instance of Result with provided data
- Attributes
- protected
- Definition Classes
- Result → ParameterSetType
-
def
dataToString: String
A comma separated string representation of parameters
A comma separated string representation of parameters
- Attributes
- protected
- Definition Classes
- ParameterSetType
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
exists[S](key: Key[S]): Boolean
Returns true if the key exists in the parameter set
Returns true if the key exists in the parameter set
- S
the Scala value type
- key
the key to check for
- returns
true if the key is found
- Definition Classes
- ParameterSetType
-
def
find[S](parameter: Parameter[S]): Option[Parameter[S]]
Find a parameter based on it's keyName and keyType
Find a parameter based on it's keyName and keyType
- S
the type of values the Parameter holds
- parameter
who's keyName and keyType is used to get values and units
- returns
an Option of Parameter[S] if it is found, otherwise None
- Definition Classes
- ParameterSetType
-
def
get[S](keyName: String, keyType: KeyType[S]): Option[Parameter[S]]
Returns an Option with the parameter for the key if found, otherwise None
Returns an Option with the parameter for the key if found, otherwise None
- S
the value type
- keyName
the keyName for a key
- keyType
the keyType for a key
- returns
the parameter for the key, if found
- Definition Classes
- ParameterSetType
-
def
get[S](key: Key[S]): Option[Parameter[S]]
Returns an Option with the parameter for the key if found, otherwise None
Returns an Option with the parameter for the key if found, otherwise None
- S
the value type
- key
the Key to be used for lookup
- returns
the parameter for the key, if found
- Definition Classes
- ParameterSetType
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
getStringMap: Map[String, String]
Returns a map based on this object where the keys and values are in string get (Could be useful for exporting in a get that other languages can read).
Returns a map based on this object where the keys and values are in string get (Could be useful for exporting in a get that other languages can read). Derived classes might want to add values to this map for fixed fields.
- Definition Classes
- ParameterSetType
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
jFind[S](parameter: Parameter[S]): Optional[Parameter[S]]
A Java helper to find a parameter based on it's keyName and keyType
A Java helper to find a parameter based on it's keyName and keyType
- S
the type of values the Parameter holds
- parameter
who's keyName and keyType is used to get values and units
- returns
an Optional of Parameter[S] if it is found, otherwise empty
- Definition Classes
- ParameterSetType
-
def
jGet[S](keyName: String, keyType: KeyType[S]): Optional[Parameter[S]]
Returns an Optional with the parameter for the key if found, otherwise empty
Returns an Optional with the parameter for the key if found, otherwise empty
- S
the value type
- keyName
the keyName for a key
- keyType
the keyType for a key
- returns
the parameter for the key, if found
- Definition Classes
- ParameterSetType
-
def
jGet[S](key: Key[S]): Optional[Parameter[S]]
Returns an Optional with the parameter for the key if found, otherwise empty
Returns an Optional with the parameter for the key if found, otherwise empty
- S
the value type
- key
the Key to be used for lookup
- returns
the parameter for the key, if found
- Definition Classes
- ParameterSetType
-
def
jGetStringMap: Map[String, String]
A Java helper that returns a map based on this object where the keys and values are in string get (Could be useful for exporting in a get that other languages can read).
A Java helper that returns a map based on this object where the keys and values are in string get (Could be useful for exporting in a get that other languages can read). Derived classes might want to add values to this map for fixed fields.
- Definition Classes
- ParameterSetType
-
def
jMissingKeys(keys: Key[_]*): Set[String]
A Java helper that returns a set containing the names of any of the given keys that are missing in the data
A Java helper that returns a set containing the names of any of the given keys that are missing in the data
- keys
one or more keys
- Definition Classes
- ParameterSetType
- Annotations
- @varargs()
-
def
jParamSet: Set[Parameter[_]]
A Java helper to get parameters for this parameter set
A Java helper to get parameters for this parameter set
- Definition Classes
- ParameterSetType
-
def
madd[P <: Parameter[_]](parametersToAdd: Set[P]): Result
Adds several parameters to the parameter set
Adds several parameters to the parameter set
- P
must be a subclass of Parameter
- parametersToAdd
the list of parameters to add to the parameter set
- returns
a new instance of this parameter set with the given parameter added
- Definition Classes
- ParameterSetType
- Note
madd ensures check for duplicate key
-
def
madd[P <: Parameter[_]](parametersToAdd: P*): Result
Adds several parameters to the parameter set
Adds several parameters to the parameter set
- P
must be a subclass of Parameter
- parametersToAdd
the list of parameters to add to the parameter set
- returns
a new instance of this parameter set with the given parameter added
- Definition Classes
- ParameterSetType
- Annotations
- @varargs()
- Note
madd ensures check for duplicate key
-
def
missingKeys(keys: Key[_]*): Set[String]
Returns a set containing the names of any of the given keys that are missing in the data
Returns a set containing the names of any of the given keys that are missing in the data
- keys
one or more keys
- returns
a Set of key names
- Definition Classes
- ParameterSetType
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
val
paramSet: Set[Parameter[_]]
Holds the parameters for this parameter set
Holds the parameters for this parameter set
- Definition Classes
- Result → ParameterSetType
-
final
def
parameter[S](key: Key[S]): Parameter[S]
Returns the actual parameter associated with a key
Returns the actual parameter associated with a key
- S
the Scala value type
- key
the Key to be used for lookup
- returns
the parameter associated with the key or a NoSuchElementException if the key does not exist
- Definition Classes
- ParameterSetType
-
val
prefix: Prefix
Returns an object providing the subsystem and prefix for the parameter set
Returns an object providing the subsystem and prefix for the parameter set
- Definition Classes
- Result → ParameterSetKeyData
-
final
def
prefixStr: String
The prefix for the parameter set
The prefix for the parameter set
- Definition Classes
- ParameterSetKeyData
-
def
remove[P <: Parameter[_]](parameter: P): Result
Removes a parameter based on the parameter
Removes a parameter based on the parameter
- P
the type of the parameter to be removed
- parameter
to be removed from the parameter set
- returns
a new T, where T is a parameter set child with the parameter removed or identical if the parameter is not present
- Definition Classes
- ParameterSetType
-
def
remove[S](key: Key[S]): Result
Remove a parameter from the parameter set by key
Remove a parameter from the parameter set by key
- S
the Scala value type
- key
the Key to be used for removal
- returns
a new T, where T is a parameter set child with the key removed or identical if the key is not present
- Definition Classes
- ParameterSetType
-
def
size: Int
The number of parameters in this parameter set
The number of parameters in this parameter set
- returns
the number of parameters in the parameter set
- Definition Classes
- ParameterSetType
-
final
def
subsystem: Subsystem
The subsystem for the parameter set
The subsystem for the parameter set
- Definition Classes
- ParameterSetKeyData
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
A String representation for concrete implementation of this trait
A String representation for concrete implementation of this trait
- Definition Classes
- ParameterSetKeyData → AnyRef → Any
-
def
typeName: String
A name identifying the type of parameter set, such as "setup", "observe".
A name identifying the type of parameter set, such as "setup", "observe". This is used in the JSON and toString output.
- Definition Classes
- ParameterSetType
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )