|
Developer Documentation |
|
Centre for Vision, Speech & Signal Processing |
Parent Classes:
Methods:
- SwitchLeitchC(const StringC & port)
-
Constructor.
Open connection to switch on serial port 'port'
- SwitchLeitchC(const StdIO::ConfigFileC & conf)
-
Constructor.
- SwitchLeitchC(SwitchLeitchBodyC & bod)
-
Body constructor.
- SwitchLeitchBodyC & Body()
-
Access body.
- const SwitchLeitchBodyC & Body() const
-
Access body.
- void Monitor()
-
Monitor routine for switch.
This monitors the switch for status changes.
- void ProbeSwitch()
-
- SwitchDriverBodyC & Body()
-
Access body.
- const SwitchDriverBodyC & Body() const
-
Access body.
- StringC SwitchID(const StringC & matrixId)
-
Get identifier for the switch.
- StringC SwitchMedia(const StringC & matrixId)
-
Get media type for switch.
e.g. Video-SDI,Video-Component,Audio-Analog ....
- DListC<StringC> ListResources(const StringC & matrixId,SwitchResourceT rtype)
-
List sources available.
- BooleanT Connect(const StringC & matrixId,const StringC & src,const StringC & dest,const StringC & attr = StringC(""))
-
Connect source to destination.
- BooleanT Connect(const ConnectionC & con)
-
Connect source to destination.
- BooleanT Connect(const DListC<ConnectionC> & cons)
-
Make a set of connections.
If any of the connections aren't possible, the whole command
fails and no changes are made.
- BooleanT Disconnect(const StringC & matrixId,const StringC & src,const StringC & dest,const StringC & attr = StringC(""))
-
Connect source to destination.
- BooleanT Disconnect(const ConnectionC & con)
-
Connect source to destination.
- DListC<ConnectionC> ListConnections(const StringC & matrixId)
-
List sources available.
- BooleanT IsConnected(const StringC & matrixId,const StringC & src,const StringC & dest)
-
Test if connection is present.
- BooleanT IsConnected(const ConnectionC & con)
-
Test if connection is present.
- Signal1C<ConnectionC> & SigConnect()
-
Connection changed signal.
- BooleanT Save(BinOStreamC & os) const
-
Save model to a stream.
- BooleanT IsValid() const
-
Check its a valid handle.
- BooleanT IsValidObject() const
-
Check its a valid handle, and that the object is pointed to is also valid.
- RCHandleC<SwitchDriverBodyC> & operator=(const RCHandleC<SwitchDriverBodyC> & oth)
-
Assignment.
- BooleanT operator==(const RCHandleC<SwitchDriverBodyC> & oth) const
-
Comparison operator.
- BooleanT operator!=(const RCHandleC<SwitchDriverBodyC> & oth) const
-
Comparison operator.
- UIntT Hash() const
-
Hash function.x
- BooleanT IsConst() const
-
Is object constant ?
- BooleanT IsNotConst() const
-
Is object not constant ?
- void SetConst(void) const
-
Lock the object.
This is const as a convience though it actual modified the
object, often object you wish to ensure are constant already
have const set.
protected:
- void Invalidate()
-
Turn this into an invalid handle.
- SwitchDriverBodyC & Body()
-
Direct access to body.
- const SwitchDriverBodyC & Body() const
-
Constant access to body.
|
Programmer:Charles Galambos, Documentation by CxxDoc: Tue Mar 20 10:49:27 2001
|