| 123456789101112131415161718192021222324252627282930 |
- #pragma once
- #include "IPC.h"
- #include "IPCChannel.h"
- namespace Atomic
- {
- class IPCWorker : public IPCChannel
- {
- OBJECT(IPCWorker);
- public:
- /// Construct.
- IPCWorker(int fd, Context* context);
- /// Destruct.
- virtual ~IPCWorker();
- void ThreadFunction();
- bool Update();
- private:
- int fd_;
- };
- }
|