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

RobotFlow::PFGenericParticle Class Reference

#include <PFGenericParticle.h>

Inheritance diagram for RobotFlow::PFGenericParticle:

Inheritance graph
Collaboration diagram for RobotFlow::PFGenericParticle:

Collaboration graph

Public Member Functions

 PFGenericParticle ()
 PFGenericParticle (unsigned int i_stateSize)
 PFGenericParticle (const PFGenericParticle &i_ref)
virtual ~PFGenericParticle ()
virtual PFGenericParticleoperator= (const PFGenericParticle &i_ref)
virtual PFGenericParticleclone () const
virtual void printOn (std::ostream &out) const
virtual void readFrom (std::istream &in)
virtual unsigned int GetStateSize () const
virtual float * GetState ()
virtual float GetStateIdx (int i_idx) const
virtual const float * GetCstState () const
virtual float GetWeight () const
virtual void SetStateSize (unsigned int i_size)
virtual void SetState (const float *i_state)
virtual void SetStateIdx (int i_idx, float i_val)
virtual void SetWeight (float i_weight)
virtual ObjectRef clone ()
e_PFP_type GetType () const
void SetType (e_PFP_type i_type)
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 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

int m_stateSize
float * m_state
float m_weight


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

Constructor & Destructor Documentation

RobotFlow::PFGenericParticle::PFGenericParticle  ) 

RobotFlow::PFGenericParticle::PFGenericParticle unsigned int  i_stateSize  ) 

RobotFlow::PFGenericParticle::PFGenericParticle const PFGenericParticle i_ref  ) 

RobotFlow::PFGenericParticle::~PFGenericParticle  )  [virtual]

Member Function Documentation

PFGenericParticle * RobotFlow::PFGenericParticle::clone  )  const [virtual]

Reimplemented from RobotFlow::PFParticle.

const float * RobotFlow::PFGenericParticle::GetCstState  )  const [virtual]

Reimplemented from RobotFlow::PFParticle.

float * RobotFlow::PFGenericParticle::GetState  )  [virtual]

Reimplemented from RobotFlow::PFParticle.

float RobotFlow::PFGenericParticle::GetStateIdx int  i_idx  )  const [virtual]

Reimplemented from RobotFlow::PFParticle.

unsigned int RobotFlow::PFGenericParticle::GetStateSize  )  const [virtual]

Reimplemented from RobotFlow::PFParticle.

e_PFP_type RobotFlow::PFParticle::GetType  )  const [inline, inherited]

float RobotFlow::PFGenericParticle::GetWeight  )  const [virtual]

Reimplemented from RobotFlow::PFParticle.

PFGenericParticle & RobotFlow::PFGenericParticle::operator= const PFGenericParticle i_ref  )  [virtual]

virtual void RobotFlow::PFGenericParticle::printOn std::ostream &  out  )  const [virtual]

Reimplemented from RobotFlow::PFParticle.

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

Reimplemented from RobotFlow::PFParticle.

void RobotFlow::PFGenericParticle::SetState const float *  i_state  )  [virtual]

Reimplemented from RobotFlow::PFParticle.

void RobotFlow::PFGenericParticle::SetStateIdx int  i_idx,
float  i_val

Reimplemented from RobotFlow::PFParticle.

void RobotFlow::PFGenericParticle::SetStateSize unsigned int  i_size  )  [virtual]

Reimplemented from RobotFlow::PFParticle.

void RobotFlow::PFParticle::SetType e_PFP_type  i_type  )  [inline, inherited]

void RobotFlow::PFGenericParticle::SetWeight float  i_weight  )  [virtual]

Reimplemented from RobotFlow::PFParticle.

Field Documentation

float* RobotFlow::PFGenericParticle::m_state [private]

int RobotFlow::PFGenericParticle::m_stateSize [private]

float RobotFlow::PFGenericParticle::m_weight [private]

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