|
Developer Documentation |
|
Centre for Vision, Speech & Signal Processing |
Comments:
Normaly associated with button presses.
Parent Classes:
Methods:
- EventC()
-
Default constructor.
- EventC(const StringC & nm)
-
Constructor.
- BooleanT IsEvent(const ObjectC & obj)
-
Test if the object is an event.
- EventC(ObjectC & obj)
-
Base constructor.
- ObjectBodyC & Body()
-
Access body
- const ObjectBodyC & Body() const
-
Access body
Use only for base constructors of derived classes!!!
- void * CHandle()
-
Get a 'C' handle for the object.
- const StringC & Name() const
-
Access object name.
- void SetName(const StringC & nm)
-
Set name of object.
- Signal0C & SigChanged()
-
Access changed signal.
- void SetAttrib(const StringC & attr,const StringC & val)
-
Set attribute.
Thread safe.
- StringC Attrib(const StringC & attr)
-
Access attribute.
Thread safe.
- IntT AttribInt(const StringC & attr) const
-
Access attribute as int
Thread safe.
- RealT AttribReal(const StringC & attr) const
-
Access attribute as real
Thread safe.
- BooleanT HasAttribute(const StringC & attr) const
-
Test if attribute set.
- BooleanT IsReadOnly() const
-
Is object read only ?
- void SetReadOnly(BooleanT only = true)
-
Is object read only ?
- void Delta(const DeltaC & delta)
-
Queue update.
Thread safe.
- BooleanT Write(OStreamC & out)
-
Save object to stream.
- BooleanT WriteFile(StringC & out)
-
Save object to stream.
- const char * TypeName() const
-
Get type name.
Used for selecting rendering method.
- RWLockC & Access()
-
Access control lock.
- const DPEntityC & operator=(const DPEntityC & dat)
-
Assignment.
- DPEntityBodyC & Body()
-
Access body.
- const DPEntityBodyC & Body() const
-
Access body.
- BooleanT Save(ostream & out) const
-
- RCAbstractC Abstract()
-
Create an abstract handle to this object.
- BooleanT IsHandleType(const DT &) const
-
Is handle of given type ?
- void CheckHandleType(const DT & dummy) const
-
Check handle type. Throw an expception if not.
- BooleanT Save(ostream & out) const
-
Save to ostream.
- RCHandleAC<DPEntityBodyC> Copy() const
-
Creat a deep copy of this object.
protected:
- 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<DPEntityBodyC> & operator=(const RCHandleC<DPEntityBodyC> & oth)
-
Assignment.
- BooleanT operator==(const RCHandleC<DPEntityBodyC> & oth) const
-
Comparison operator.
- BooleanT operator!=(const RCHandleC<DPEntityBodyC> & 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.
- DPEntityBodyC & Body()
-
Direct access to body.
- const DPEntityBodyC & Body() const
-
Constant access to body.
|
Programmer:Charles Galambos, Documentation by CxxDoc: Tue Mar 20 10:49:27 2001
|