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

RobotFlow::DirectCommand Class Reference

#include <DirectList.h>

Inheritance diagram for RobotFlow::DirectCommand:

Inheritance graph
Collaboration diagram for RobotFlow::DirectCommand:

Collaboration graph

Public Member Functions

 DirectCommand ()
 DirectCommand (const DirectCommand &cpy)
DirectCommandoperator= (const DirectCommand &eq)
 DirectCommand (int type, float setX, float setY, float setH)
 DirectCommand (int type, float command)
virtual ~DirectCommand ()
virtual void printOn (std::ostream &out=std::cout) const
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 void readFrom (std::istream &in=std::cin)
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 ()

Data Fields

float x
float y
float h
float dist
float rot
int commandType

Protected Attributes

AtomicCounter ref_count


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

Constructor & Destructor Documentation

RobotFlow::DirectCommand::DirectCommand  ) 

RobotFlow::DirectCommand::DirectCommand const DirectCommand cpy  ) 

RobotFlow::DirectCommand::DirectCommand int  type,
float  setX,
float  setY,
float  setH

RobotFlow::DirectCommand::DirectCommand int  type,
float  command

RobotFlow::DirectCommand::~DirectCommand  )  [virtual]

Member Function Documentation

DirectCommand & RobotFlow::DirectCommand::operator= const DirectCommand eq  ) 

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

Implements FD::Object.

Field Documentation

int RobotFlow::DirectCommand::commandType

float RobotFlow::DirectCommand::dist

float RobotFlow::DirectCommand::h

float RobotFlow::DirectCommand::rot

float RobotFlow::DirectCommand::x

float RobotFlow::DirectCommand::y

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