Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

RS::ControlCommand Class Reference

Class used as the base class of all control commands defined in RoboSoc. More...

Inheritance diagram for RS::ControlCommand:

Inheritance graph
[legend]
Collaboration diagram for RS::ControlCommand:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ControlCommand (const CommandType, const UInt _ticks)
virtual ControlCommand * clone () const=0
 Returns a new copy of the command.

UInt getTicks () const
void setTicks (const UInt _ticks)

Protected Attributes

UInt ticks

Detailed Description

Class used as the base class of all control commands defined in RoboSoc.

Unit:
Library
Revision
1.7
Author
s02davro
Date
2003/07/21 09:11:48

Definition at line 80 of file ControlCommand.h.


Member Function Documentation

virtual ControlCommand* RS::ControlCommand::clone   const [pure virtual]
 

Returns a new copy of the command.

REMEMBER TO DELETE IT, OTHERWISE YOU WILL HAVE A MEMORY LEAK!!!

Implements RS::Command.

Implemented in RS::SetCyclesSinceIOBeforeShutdown, RS::SetMaxTicksBeforeSendingCommand, RS::SetMinTicksBeforeSendingCommand, RS::SetTicksBeforeCommandWarning, RS::SetTicksBetweenCycles, RS::SetTicksBetweenSenses, and RS::SetTicksBetweenVisuals.


The documentation for this class was generated from the following files:
Generated on Mon Aug 29 08:22:23 2011 for RoboSoc by doxygen1.3-rc3