CARMA C++
|
An abstract work request. More...
#include <carma/util/WorkRequest.h>
Public Member Functions | |
::std::string | getId () const |
bool | operator< (const WorkRequest &rhs) const |
Arbitrary total ordering of WorkRequest instances. More... | |
WorkRequest & | operator= (const WorkRequest &rhs) |
Assign an instance the value of another. More... | |
void | service () |
void | swap (WorkRequest &rhs) |
Swap two instances. More... | |
WorkRequest (Impl *) | |
WorkRequest (const WorkRequest &rhs) | |
Construct a copy of an instance. More... | |
virtual | ~WorkRequest () |
Destruct an instance. More... | |
An abstract work request.
Definition at line 20 of file WorkRequest.h.
carma::util::WorkRequest::WorkRequest | ( | const WorkRequest & | rhs | ) |
Construct a copy of an instance.
Definition at line 107 of file WorkRequest.h.
|
virtual |
Destruct an instance.
bool carma::util::WorkRequest::operator< | ( | const WorkRequest & | rhs | ) | const |
Arbitrary total ordering of WorkRequest instances.
This exists simply to allow construction of ordered containers (i.e. ::std::set, ::std::map, etc.) involving WorkRequest instances. There are no guarantees about this ordering except that it will allow correct construction of such containers.
Definition at line 132 of file WorkRequest.h.
carma::util::WorkRequest & carma::util::WorkRequest::operator= | ( | const WorkRequest & | rhs | ) |
Assign an instance the value of another.
Definition at line 121 of file WorkRequest.h.
void carma::util::WorkRequest::swap | ( | WorkRequest & | rhs | ) |
Swap two instances.
Definition at line 114 of file WorkRequest.h.