class
DirectChannel
: public Channel
(Return to index)
Direct access to a double variable.
Class DirectChannel allows direct access to a double variable.
Type: |
Instantiable |
Superclasses: |
public Channel |
Include file: |
./Channels/DirectChannel.hh |
Inheritance
Synopsis (including inherited members):
Documentation:
- Public members:
-
DirectChannel
(double&)
;
- Constructor.
The constructed channel gives read/write access to the variable
value. The variable value must not be destroyed as
long as this channel is active.
-
virtual DirectChannel* clone
()const
;
- Duplicate the channel.
-
virtual bool get
(double&)const
;
- Fetch from channel.
If the channel can be read, set value and return true,
otherwise return false.
-
virtual bool set
(double)
;
- Store into channel.
If the channel can be written,
store value into it and return true,
otherwise return false.
Documentation generated by fci on Mon Feb 7 11:41:35 2000