|
Developer Documentation |
|
Centre for Vision, Speech & Signal Processing |
Parent Classes:
Methods:
- SwitchNetC()
-
Default constructor.
creates an invalid handle.
- SwitchNetC(const StringC & addr)
-
Constructor.
Construct a switch with specified config.
- SwitchNetC(SwitchNetBodyC & bod)
-
Body constructor.
- SwitchNetBodyC & Body()
-
Access body.
- const SwitchNetBodyC & Body() const
-
Access body.
- SwitchBodyC & Body()
-
Access body.
- const SwitchBodyC & Body() const
-
Access body.
- BooleanT Issue(const SalvoC & salvo)
-
issue a salvo.
Make connections specified in salvo, if possible.
- BooleanT Expire(const SalvoC & salvo)
-
Expire a salvo.
This tells the system the salvo is no longer needed.
- BooleanT Break(const SalvoC & salvo)
-
Break a salvo.
This tells the system to kill an existing salvo.
- BooleanT CheckIssue(const SalvoC & salvo)
-
Check all the connections in a salvo have been made.
This checks the state of an issued salvo.
- BooleanT CheckPossible(const SalvoC & salvo)
-
Check if its
This checks if its possible to fire a salvo.
- DListC<SalvoC> ActiveSalvos()
-
List active salvo's.
- Signal2C<SalvoC,SalvoStateT> & SigSalvo()
-
Access salvo changed signal.
- 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
|