|
| CMACDiscoveryJob (const std::string &host) |
|
bool | DoWork () override |
| Main workhorse function of CJob instances.
|
|
const std::string & | GetMAC () const |
|
const std::string & | GetHost () const |
|
| CJob () |
|
virtual | ~CJob ()=default |
| Destructor for job objects.
|
|
virtual const char * | GetType () const |
| Function that returns the type of job.
|
|
virtual bool | operator== (const CJob *job) const |
|
virtual bool | ShouldCancel (unsigned int progress, unsigned int total) const |
| Function for longer jobs to report progress and check whether they have been cancelled.
|
|
◆ CMACDiscoveryJob()
CMACDiscoveryJob::CMACDiscoveryJob |
( |
const std::string & | host | ) |
|
|
inlineexplicit |
◆ DoWork()
bool CMACDiscoveryJob::DoWork |
( |
| ) |
|
|
overridevirtual |
Main workhorse function of CJob instances.
All CJob subclasses must implement this function, performing all processing. Once this function is complete, the OnJobComplete() callback is called, and the job is then destroyed.
- See also
- CJobManager, IJobCallback::OnJobComplete()
Implements CJob.
◆ GetHost()
const std::string & CMACDiscoveryJob::GetHost |
( |
| ) |
const |
|
inline |
◆ GetMAC()
const std::string & CMACDiscoveryJob::GetMAC |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: