Developer Documentation
RAVL, Recognition And Vision Library
USER HOME PAGE CLASS LIST CONTENTS
Ravl - Applications - VDF - DFObjectC
 

  PUBLIC
DFObjectC::DFObjectC(void)
DFObjectC::DFObjectC(istream &)
DFObjectC::DFObjectC(BinIStreamC &)
DFObjectC::DFObjectC(DFObjectBodyC &)
DFObjectC::Body(void)
DFObjectC::Body(void) const
DFObjectC::Init(FactoryC &)
DFObjectC::Render(GUIViewBodyC &,const Index2dC &,DFRenderModeT)
DFObjectC::MouseClick(GUIViewBodyC &,const MouseEventC &)
DFObjectC::Name(void) const
DFObjectC::RenderSize(void) const
DFObjectC::PackingSize(void) const
DFObjectC::InvolveRenderSize(const IndexRange2dC &)
DFObjectC::Parts(void) const
DFObjectC::LinkTo(const DFObjectC &,DFSystemC &,bool)
DFObjectC::AttachPoint(void) const
DFObjectC::operator ==(const DFObjectC &) const
DFObjectC::operator !=(const DFObjectC &) const
RCHandleVC::Body(void) const
RCHandleVC::Body(void)
RCHandleVC::Save(ostream &) const
RCHandleVC::Save(BinOStreamC &) const
RCHandleVC::Abstract(void)
RCHandleVC::operator >>(istream &,RCHandleVC &)
RCHandleVC::operator >>(BinIStreamC &,RCHandleVC &)
RCHandleC::operator =(const RCHandleC &)
RCHandleC::DeepCopy(UIntT) const
RCHandleC::operator ==(const RCHandleC &) const
RCHandleC::operator !=(const RCHandleC &) const
RCHandleC::Hash(void) const
RCHandleC::IsValid(void) const
RCHandleC::Invalidate(void)
RCHandleC::IsHandleType(const DT &) const
RCHandleC::CheckHandleType(const DT &) const
RCHandleC::Body(void)
RCHandleC::Body(void) const
RCHandleC::References(void) const
RCHandleC::operator <<(ostream &,const RCHandleC &)
RCHandleC::operator >>(istream &,RCHandleC &)

   DFObjectC   
 
Abstract handle for data flow object.
 
include "Ravl/DF/DFObject.hh"
Created:2/8/2002 
Source file:Ravl/Applications/VisualDataFlow/DFObject.hh
User Level:Normal
Library:RavlVDF
In Scope:RavlDFN

Parent Classes: Derived Classes: Methods:
DFObjectC()
Default constructor
Creates an invalid handle.

DFObjectC(istream & strm)
Construct from a stream.

DFObjectC(BinIStreamC & strm)
Construct from a binary stream.

DFObjectC(DFObjectBodyC & bod)
Body constructor.

DFObjectBodyC & Body()
Access body.

const DFObjectBodyC & Body() const
Access body.

bool Init(FactoryC & factory)
Initalise with info from a factory.
This is used to setup icons, and default settings..

bool Render(GUIViewBodyC & view,const Index2dC & at,DFRenderModeT mode)
Render object to view.

DFMouseActionT MouseClick(GUIViewBodyC & view,const MouseEventC & me)
Process a mouse click.

const StringC & Name() const
Access name of object.

const IndexRange2dC & RenderSize() const
Get the size of this object.

const IndexRange2dC & PackingSize() const
This is the size to use for packing the widget.

const IndexRange2dC & InvolveRenderSize(const IndexRange2dC & rect)
Involve in the render rectangle.
NB. This is reset by the render method.

DListC<DFAttachC> Parts() const
Get list of attachment points.

DFObjectC LinkTo(const DFObjectC & obj,DFSystemC & system,bool autoConvert = false)
Attempt to link to another object.

Index2dC AttachPoint() const
Get attachment point.

bool operator ==(const DFObjectC & obj) const
Compair handles.

bool operator !=(const DFObjectC & obj) const
Compair handles.

#include "Ravl/RCHandleV.hh"
const DFObjectBodyC & Body() const
Constant access to body of object.

DFObjectBodyC & Body()
Constant access to body of object.

bool Save(ostream & out) const
Save to stream 'out'.

bool Save(BinOStreamC & out) const
Save to binary stream 'out'.

RCAbstractC Abstract()
Create an abstract handle.

istream & operator >>(istream & strm,RCHandleVC<DFObjectBodyC> & obj)

BinIStreamC & operator >>(BinIStreamC & strm,RCHandleVC<DFObjectBodyC> & obj)

#include "Ravl/RefCounter.hh"
const RCHandleC<DFObjectBodyC> & operator =(const RCHandleC<DFObjectBodyC> & oth)
Assign handle.

RCHandleC<DFObjectBodyC> DeepCopy(UIntT levels = ((UIntT))) const
Do a deep copy of the object.

bool operator ==(const RCHandleC<DFObjectBodyC> & oth) const
Are handles to the same object ?

bool operator !=(const RCHandleC<DFObjectBodyC> & oth) const
Are handles to different objects ?

UIntT Hash() const
Default hash function.
This hashes on the address of the body.

bool IsValid() const
Test if this is a valid handle.

void Invalidate()
Invalidate this handle.
Unattaches the body from the handle.

bool IsHandleType(const DT &) const
Is handle of given type ?

void CheckHandleType(const DT & dummy) const
Check handle type. Throw an expception if not.

DFObjectBodyC & Body()
Access body of object.

const DFObjectBodyC & Body() const
Constant access to body of object.

UIntT References() const
Find the number of references to the body of this object.

ostream & operator <<(ostream & strm,const RCHandleC<DFObjectBodyC> & obj)

istream & operator >>(istream & strm,RCHandleC<DFObjectBodyC> & obj)


Maintainer:Charles Galambos, Created: 2/8/2002, Documentation by CxxDoc: Tue Aug 13 09:59:30 2002