My Project
 All Classes Files Functions Variables Enumerations Enumerator Friends Macros Pages
gcp::util::Instruction Class Reference

Public Types

enum  State { DONE, AGAIN, FAILED }
 

Public Member Functions

 Instruction (INSTRUCTION(*fn), void *args, TimeVal timeToNext, TimeVal timeToRetry)
 
 Instruction (INSTRUCTION(*fn), void *args, TimeVal timeToNext)
 
 Instruction (INSTRUCTION(*fn), void *args=0)
 
 Instruction ()
 
virtual ~Instruction ()
 
virtual State execute (TimeVal &timeOut)
 
void initialize ()
 
void setTimeToNext (TimeVal &tVal)
 
void setTimeToRetry (TimeVal &tVal)
 

Constructor & Destructor Documentation

Instruction::Instruction ( INSTRUCTION *  fn,
void *  args,
TimeVal  timeToNext,
TimeVal  timeToRetry 
)

Constructor.

....................................................................... Constructor.

Instruction::Instruction ( INSTRUCTION *  fn,
void *  args,
TimeVal  timeToNext 
)

....................................................................... Constructor.

Instruction::Instruction ( INSTRUCTION *  fn,
void *  args = 0 
)

....................................................................... Constructor.

Instruction::Instruction ( )

....................................................................... Constructor.

Instruction::~Instruction ( )
virtual

Destructor.

....................................................................... Destructor.

Member Function Documentation

Instruction::State Instruction::execute ( TimeVal timeOut)
virtual

....................................................................... Execute this instruction


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