CARMA C++
carma::util::WorkResultSet Class Reference

An abstract collection of the results of servicing a collection of work requests. More...

#include <carma/util/WorkResult.h>

Public Types

enum  PostState { GOOD_POST_STATE, LATE_POST_STATE, LATE_DROPPED_POST_STATE, NO_WAITERS_DROPPED_POST_STATE }
 

Public Member Functions

WorkResult addKey (const ::std::string &key)
 
::std::map< ::std::string,
WorkResult
addKeys (const ::std::set< ::std::string > &keys)
 
::std::string getId () const
 
WorkResultSetoperator= (const WorkResultSet &rhs)
 
void removeKeys (const ::std::set< ::std::string > &keys)
 
void swap (WorkResultSet &rhs)
 
void verifyKeys (const ::std::set< ::std::string > &keys) const
 
void waitForAll (unsigned long milliseconds, bool requireNormal, PostState postStateAfterTimeout) const
 
void waitForAll (const struct::timeval &absTimeout, bool requireNormal, PostState postStateAfterTimeout) const
 
void waitForAll (const struct::timespec &absTimeout, bool requireNormal, PostState postStateAfterTimeout) const
 
 WorkResultSet (const ::std::string &id)
 
 WorkResultSet (const WorkResultSet &rhs)
 

Friends

class WorkResult
 

Detailed Description

An abstract collection of the results of servicing a collection of work requests.

Definition at line 29 of file WorkResult.h.


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