|
| OwnerThread (SignalThreadTest *harness) |
|
virtual | ~OwnerThread () |
|
virtual void | Run () |
|
bool | has_run () |
|
void | OnWorkDone (SignalThread *signal_thread) |
|
| Thread () |
|
| Thread (SocketServer *ss) |
|
| Thread (std::unique_ptr< SocketServer > ss) |
|
| ~Thread () override |
|
bool | IsCurrent () const |
|
const std::string & | name () const |
|
bool | SetName (const std::string &name, const void *obj) |
|
bool | Start (Runnable *runnable=nullptr) |
|
virtual void | Stop () |
|
virtual void | Send (const Location &posted_from, MessageHandler *phandler, uint32_t id=0, MessageData *pdata=nullptr) |
|
template<class ReturnT , class FunctorT > |
ReturnT | Invoke (const Location &posted_from, const FunctorT &functor) |
|
void | Clear (MessageHandler *phandler, uint32_t id=MQID_ANY, MessageList *removed=nullptr) override |
|
void | ReceiveSends () override |
|
bool | ProcessMessages (int cms) |
|
bool | IsOwned () |
|
bool | RunningForTest () |
|
bool | SetAllowBlockingCalls (bool allow) |
|
bool | WrapCurrent () |
|
void | UnwrapCurrent () |
|
| Thread () |
|
| Thread (SocketServer *ss) |
|
| Thread (std::unique_ptr< SocketServer > ss) |
|
| ~Thread () override |
|
bool | IsCurrent () const |
|
const std::string & | name () const |
|
bool | SetName (const std::string &name, const void *obj) |
|
bool | Start (Runnable *runnable=nullptr) |
|
virtual void | Stop () |
|
virtual void | Send (const Location &posted_from, MessageHandler *phandler, uint32_t id=0, MessageData *pdata=nullptr) |
|
template<class ReturnT , class FunctorT > |
ReturnT | Invoke (const Location &posted_from, const FunctorT &functor) |
|
void | Clear (MessageHandler *phandler, uint32_t id=MQID_ANY, MessageList *removed=nullptr) override |
|
void | ReceiveSends () override |
|
bool | ProcessMessages (int cms) |
|
bool | IsOwned () |
|
bool | RunningForTest () |
|
bool | SetAllowBlockingCalls (bool allow) |
|
bool | WrapCurrent () |
|
void | UnwrapCurrent () |
|
| MessageQueue (SocketServer *ss, bool init_queue) |
|
| MessageQueue (std::unique_ptr< SocketServer > ss, bool init_queue) |
|
virtual | ~MessageQueue () |
|
SocketServer * | socketserver () |
|
void | set_socketserver (SocketServer *ss) |
|
virtual void | Quit () |
|
virtual bool | IsQuitting () |
|
virtual void | Restart () |
|
virtual bool | IsProcessingMessages () |
|
virtual bool | Get (Message *pmsg, int cmsWait=kForever, bool process_io=true) |
|
virtual bool | Peek (Message *pmsg, int cmsWait=0) |
|
virtual void | Post (const Location &posted_from, MessageHandler *phandler, uint32_t id=0, MessageData *pdata=nullptr, bool time_sensitive=false) |
|
virtual void | PostDelayed (const Location &posted_from, int cmsDelay, MessageHandler *phandler, uint32_t id=0, MessageData *pdata=nullptr) |
|
virtual void | PostAt (const Location &posted_from, int64_t tstamp, MessageHandler *phandler, uint32_t id=0, MessageData *pdata=nullptr) |
|
virtual void | PostAt (const Location &posted_from, uint32_t tstamp, MessageHandler *phandler, uint32_t id=0, MessageData *pdata=nullptr) |
|
virtual void | Dispatch (Message *pmsg) |
|
virtual int | GetDelay () |
|
bool | empty () const |
|
size_t | size () const |
|
template<class T > |
void | Dispose (T *doomed) |
|
| MessageQueue (SocketServer *ss, bool init_queue) |
|
| MessageQueue (std::unique_ptr< SocketServer > ss, bool init_queue) |
|
virtual | ~MessageQueue () |
|
SocketServer * | socketserver () |
|
void | set_socketserver (SocketServer *ss) |
|
virtual void | Quit () |
|
virtual bool | IsQuitting () |
|
virtual void | Restart () |
|
virtual bool | IsProcessingMessages () |
|
virtual bool | Get (Message *pmsg, int cmsWait=kForever, bool process_io=true) |
|
virtual bool | Peek (Message *pmsg, int cmsWait=0) |
|
virtual void | Post (const Location &posted_from, MessageHandler *phandler, uint32_t id=0, MessageData *pdata=nullptr, bool time_sensitive=false) |
|
virtual void | PostDelayed (const Location &posted_from, int cmsDelay, MessageHandler *phandler, uint32_t id=0, MessageData *pdata=nullptr) |
|
virtual void | PostAt (const Location &posted_from, int64_t tstamp, MessageHandler *phandler, uint32_t id=0, MessageData *pdata=nullptr) |
|
virtual void | PostAt (const Location &posted_from, uint32_t tstamp, MessageHandler *phandler, uint32_t id=0, MessageData *pdata=nullptr) |
|
virtual void | Dispatch (Message *pmsg) |
|
virtual int | GetDelay () |
|
bool | empty () const |
|
size_t | size () const |
|
template<class T > |
void | Dispose (T *doomed) |
|
| has_slots () |
|
| has_slots () |
|
| ~has_slots () |
|
| ~has_slots () |
|
void | signal_connect (_signal_base_interface *sender) |
|
void | signal_disconnect (_signal_base_interface *sender) |
|
void | disconnect_all () |
|
void | signal_connect (_signal_base_interface *sender) |
|
void | signal_disconnect (_signal_base_interface *sender) |
|
void | disconnect_all () |
|
|
static std::unique_ptr< Thread > | CreateWithSocketServer () |
|
static std::unique_ptr< Thread > | Create () |
|
static Thread * | Current () |
|
static bool | SleepMs (int millis) |
|
static std::unique_ptr< Thread > | CreateWithSocketServer () |
|
static std::unique_ptr< Thread > | Create () |
|
static Thread * | Current () |
|
static bool | SleepMs (int millis) |
|
sigslot::signal0 | SignalQueueDestroyed |
|
static const int | kForever = -1 |
|
void | SafeWrapCurrent () |
|
void | Join () |
|
void | SafeWrapCurrent () |
|
void | Join () |
|
void | DoDelayPost (const Location &posted_from, int64_t cmsDelay, int64_t tstamp, MessageHandler *phandler, uint32_t id, MessageData *pdata) |
|
void | DoInit () |
|
void | DoDestroy () |
|
void | WakeUpSocketServer () |
|
MessageList msgq_ | GUARDED_BY (crit_) |
|
PriorityQueue dmsgq_ | GUARDED_BY (crit_) |
|
uint32_t dmsgq_next_num_ | GUARDED_BY (crit_) |
|
void | DoDelayPost (const Location &posted_from, int64_t cmsDelay, int64_t tstamp, MessageHandler *phandler, uint32_t id, MessageData *pdata) |
|
void | DoInit () |
|
void | DoDestroy () |
|
void | WakeUpSocketServer () |
|
MessageList msgq_ | GUARDED_BY (crit_) |
|
PriorityQueue dmsgq_ | GUARDED_BY (crit_) |
|
uint32_t dmsgq_next_num_ | GUARDED_BY (crit_) |
|
| has_slots_interface (signal_connect_t conn, signal_disconnect_t disc, disconnect_all_t disc_all) |
|
virtual | ~has_slots_interface () |
|
| has_slots_interface (signal_connect_t conn, signal_disconnect_t disc, disconnect_all_t disc_all) |
|
virtual | ~has_slots_interface () |
|
static void | AssertBlockingIsAllowedOnCurrentThread () |
|
static void | AssertBlockingIsAllowedOnCurrentThread () |
|
bool | fPeekKeep_ |
|
Message | msgPeek_ |
|
CriticalSection | crit_ |
|
bool | fInitialized_ |
|
bool | fDestroyed_ |
|