#include <ComponentsData.h>
Inheritance diagram for RobotFlow::ComponentsData:
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 |
Friends | |
friend std::ostream & | operator<< (std::ostream &out, const Object &obj) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Implements FD::Object. |
|
Reimplemented from FD::Object. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|