Main Page | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Namespace Members | Data Fields | Globals

RobotFlow::ComponentsData Class Reference

#include <ComponentsData.h>

Inheritance diagram for RobotFlow::ComponentsData:

Inheritance graph
Collaboration diagram for RobotFlow::ComponentsData:

Collaboration graph

Public Member Functions

 ComponentsData ()
 ComponentsData (int imageWidth, int imageHeight)
 ComponentsData (Components &comp, int imageWidth, int imageHeight)
virtual ~ComponentsData ()
void printOn (std::ostream &out=std::cout) const
void reset ()
void readFrom (std::istream &in)
int get_component_count ()
std::list< CRect * > & get_color_components (int color)
std::list< CRect * > & operator[] (int pos)
int getWidth ()
int getHeight ()
void setWidth (int width)
void setHeight (int height)
void ref ()
void unref ()
int unique ()
virtual void destroy ()
virtual void serialize (std::ostream &out) const
virtual void unserialize (std::istream &in)
virtual void doesNotUnderstand (std::string method)
virtual bool isNil () const
virtual void prettyPrint (std::ostream &out=std::cout) const
virtual ObjectRef clone ()
virtual std::string className () const

Static Public Member Functions

static ObjectRef newObject (const std::string &objType)
static int addObjectType (const std::string &objType, _ObjectFactory *factory)
static std::map< std::string,
_ObjectFactory * > & 
ObjectFactoryDictionary ()
static TypeMap< _ObjectFactory * > & TypeidDictionary ()

Protected Attributes

AtomicCounter ref_count

Private Attributes

std::list< CRect * > m_components [32]
bool m_initialized
int m_imageWidth
int m_imageHeight


friend std::ostream & operator<< (std::ostream &out, const Object &obj)

Constructor & Destructor Documentation

RobotFlow::ComponentsData::ComponentsData  ) 

RobotFlow::ComponentsData::ComponentsData int  imageWidth,
int  imageHeight

RobotFlow::ComponentsData::ComponentsData Components comp,
int  imageWidth,
int  imageHeight

RobotFlow::ComponentsData::~ComponentsData  )  [virtual]

Member Function Documentation

list< CRect * > & RobotFlow::ComponentsData::get_color_components int  color  ) 

int RobotFlow::ComponentsData::get_component_count  ) 

int RobotFlow::ComponentsData::getHeight  )  [inline]

int RobotFlow::ComponentsData::getWidth  )  [inline]

list< CRect * > & RobotFlow::ComponentsData::operator[] int  pos  ) 

void RobotFlow::ComponentsData::printOn std::ostream &  out = std::cout  )  const [virtual]

Implements FD::Object.

void RobotFlow::ComponentsData::readFrom std::istream &  in  )  [virtual]

Reimplemented from FD::Object.

void RobotFlow::ComponentsData::reset  ) 

void RobotFlow::ComponentsData::setHeight int  height  )  [inline]

void RobotFlow::ComponentsData::setWidth int  width  )  [inline]

Field Documentation

std::list<CRect*> RobotFlow::ComponentsData::m_components[32] [private]

int RobotFlow::ComponentsData::m_imageHeight [private]

int RobotFlow::ComponentsData::m_imageWidth [private]

bool RobotFlow::ComponentsData::m_initialized [private]

The documentation for this class was generated from the following files:
Generated on Wed Oct 5 14:36:33 2005 for RobotFlow by  doxygen 1.4.4