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

  PUBLIC
DFPortBodyC::DFPortBodyC(const StringC &,DFAttachPlacementT)
DFPortBodyC::DFPortBodyC(istream &)
DFPortBodyC::DFPortBodyC(BinIStreamC &)
DFPortBodyC::Save(ostream &) const
DFPortBodyC::Save(BinOStreamC &) const
DFPortBodyC::Render(GUIViewBodyC &,const Index2dC &,DFRenderModeT)
DFPortBodyC::MouseClick(GUIViewBodyC &,const MouseEventC &)
DFPortBodyC::Port(void)
DFPortBodyC::AttachPoint(void) const
DFPortBodyC::Connect(DFPortC &)
DFPortBodyC::Disconnect(DFPortC &)
DFPortBodyC::PortType(void) const
DFPortBodyC::PortName(void) const
DFPortBodyC::SetAttachPlacement(DFAttachPlacementT)
DFPortBodyC::AttachPlacement(void) const
DFPortBodyC::Inside(const Index2dC &,IntT)
DFPortBodyC::Left(const Index2dC &,IntT)
DFObjectBodyC::Save(ostream &) const
DFObjectBodyC::Save(BinOStreamC &) const
DFObjectBodyC::Init(FactoryC &)
DFObjectBodyC::Render(GUIViewBodyC &,const Index2dC &,DFRenderModeT)
DFObjectBodyC::MouseClick(GUIViewBodyC &,const MouseEventC &)
DFObjectBodyC::Name(void) const
DFObjectBodyC::RenderSize(void) const
DFObjectBodyC::PackingSize(void) const
DFObjectBodyC::InvolveRenderSize(const IndexRange2dC &)
DFObjectBodyC::Parts(void) const
DFObjectBodyC::LinkTo(const DFObjectC &,DFSystemC &,bool)
DFObjectBodyC::AttachPoint(void) const
DFObjectBodyC::RenderSize(const IndexRange2dC &)
DFObjectBodyC::RenderSize(const Index2dC &)
DFObjectBodyC::PackingSize(const IndexRange2dC &)
DFObjectBodyC::PackingSize(const Index2dC &)
RCBodyVC::Save(ostream &) const
RCBodyVC::Save(BinOStreamC &) const
RCBodyVC::Copy(void) const
RCBodyVC::DeepCopy(UIntT) const
RCBodyC::References(void) const
RCBodyC::Copy(void) const
RCBodyC::DeepCopy(UIntT) const
RCBodyC::IncRefCounter(void)
RCBodyC::DecRefCounter(void)

   DFPortBodyC   
 
Port base class
 
include "Ravl/DF/DFPort.hh"
Created:2/8/2002 
Source file:Ravl/Applications/VisualDataFlow/DFPort.hh
User Level:Develop
Library:RavlVDF
In Scope:RavlDFN

Parent Classes: Derived Classes: Variables:
DFAttachPlacementT attachAt;

IntT attachScale;

Index2dC baseSize;
Size of central text etc.

Methods:
DFPortBodyC(const StringC & nname,DFAttachPlacementT attach = ATTACH_FLOAT)
Constructor.

DFPortBodyC(istream & strm)
Load from stream.

DFPortBodyC(BinIStreamC & strm)
Load from binary stream.

bool Save(ostream & out) const
Writes object to stream, can be loaded using constructor

bool Save(BinOStreamC & out) const
Writes object to stream, can be loaded using constructor

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

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

DPPortC Port()
Access the port.

Index2dC AttachPoint() const
Get attachment point.

bool Connect(DFPortC & port)
Connect this port to another.

bool Disconnect(DFPortC & port)
Disconnect.

const type_info & PortType() const
Get type of port.

StringC PortName() const
Get the port name.

void SetAttachPlacement(DFAttachPlacementT attach)
Set attach placement.

DFAttachPlacementT AttachPlacement() const
Access attach placement.

Index2dC Inside(const Index2dC & pos,IntT dist)
Get a point inside of the area of 'pos' by distance 'dist'.
dist may be negative.

Index2dC Left(const Index2dC & pos,IntT dist)
Get a point to the left of 'pos' by distance 'dist'.
dist may be negative.

#include "Ravl/DF/DFObject.hh"
bool Save(ostream & out) const
Writes object to stream, can be loaded using constructor

bool Save(BinOStreamC & out) const
Writes object to stream, can be loaded using constructor

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 total size of the object.
This may be larger than the packing size.

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.

const IndexRange2dC & RenderSize(const IndexRange2dC & size)
Set the render size.

const IndexRange2dC & RenderSize(const Index2dC & size)
Set the render size.

const IndexRange2dC & PackingSize(const IndexRange2dC & size)
Set the packing size.

const IndexRange2dC & PackingSize(const Index2dC & size)
Set the packing size.

#include "Ravl/RCHandleV.hh"
bool Save(ostream & out) const
Save to stream 'out'.

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

RCBodyVC & Copy() const
Make copy of body.
This should be provided in derived classes. this funtion will issue an assertion failure if called.

RCBodyC & DeepCopy(UIntT levels = ((UIntT))) const
Make a deep copy of body.
This should be provided in derived classes. this funtion will issue an assertion failure if called.

#include "Ravl/RefCounter.hh"
UIntT References() const
Access count of handles open to this object.

RCBodyC & Copy() const
Make copy of body.
This should be provided in derived classes. this funtion will issue an assertion failure if called.

RCBodyC & DeepCopy(UIntT levels = ((UIntT))) const
Make a deep copy of body.
This should be provided in derived classes. this funtion will issue an assertion failure if called.

void IncRefCounter()
Increment reference counter.

bool DecRefCounter()
Decrement reference counter.


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