Urbi SDK Remote for C++  2.7.5
Machine Class Reference

#include <machine.hh>

Collaboration diagram for Machine:

List of all members.

Public Types

typedef std::list< std::string > strings
 Lists of strings.

Public Member Functions

 Machine (float duration)
 Construction.
std::string operator() (const strings &components) const
 Assemble the raw components into a product.

Public Attributes

float duration
 The duration of the assembly process, in seconds.

Detailed Description

Definition at line 16 of file machine.hh.


Member Typedef Documentation

typedef std::list<std::string> Machine::strings

Lists of strings.

Definition at line 25 of file machine.hh.


Constructor & Destructor Documentation

Machine::Machine ( float  duration)

Construction.

Parameters:
durationhow long the assembly process takes. In seconds.

Definition at line 16 of file machine.cc.


Member Function Documentation

std::string Machine::operator() ( const strings components) const

Assemble the raw components into a product.

Definition at line 23 of file machine.cc.

References duration.


Member Data Documentation

The duration of the assembly process, in seconds.

Must be positive.

Definition at line 32 of file machine.hh.

Referenced by UMachine::duration_set(), and operator()().


The documentation for this class was generated from the following files: