winss
|
Inbound control item. More...
#include <control.hpp>
Public Member Functions | |
InboundControlItem (winss::NotOwningPtr< WaitMultiplexer > multiplexer, winss::NotOwningPtr< Control > control, winss::NotOwningPtr< winss::InboundPipeClient > client, winss::NotOwningPtr< InboundControlItemListener > listener, std::string name) | |
InboundControlItem (const InboundControlItem &)=delete | |
No copy. More... | |
InboundControlItem (InboundControlItem &&)=delete | |
No move. More... | |
void | Init () |
Initializes the inbound control item. More... | |
void | Start () |
Start waiting for inbound events. More... | |
bool | Completed () const |
Gets of the control item has completed reading the state/events. More... | |
bool | Connected () |
Handler for pipe connected. More... | |
bool | Received (const std::vector< char > &message) |
Handler for pipe connected. More... | |
bool | Disconnected () |
Handler for pipe disconnected. More... | |
InboundControlItem & | operator= (const InboundControlItem &)=delete |
No copy. More... | |
InboundControlItem & | operator= (InboundControlItem &&)=delete |
No move. More... | |
![]() | |
virtual const std::string & | GetName () const |
Gets the name of the control item. More... | |
virtual | ~ControlItem () |
Default destructor. More... | |
![]() | |
virtual | ~PipeClientReceiveListener () |
Default destructor. More... | |
![]() | |
virtual | ~PipeClientConnectionListener () |
Default destructor. More... | |
Additional Inherited Members | |
![]() | |
ControlItem (std::string name) | |
Constructs a control item with the given name. More... | |
![]() | |
const std::string | name |
The name of the control item. More... | |
Inbound control item.
Will wait for the condition on the remote pipe server is met.
winss::InboundControlItem::InboundControlItem | ( | winss::NotOwningPtr< WaitMultiplexer > | multiplexer, |
winss::NotOwningPtr< Control > | control, | ||
winss::NotOwningPtr< winss::InboundPipeClient > | client, | ||
winss::NotOwningPtr< InboundControlItemListener > | listener, | ||
std::string | name | ||
) |
|
delete |
No copy.
|
delete |
No move.
|
virtual |
Gets of the control item has completed reading the state/events.
Implements winss::ControlItem.
|
virtual |
Handler for pipe connected.
Implements winss::PipeClientConnectionListener.
References winss::ControlItem::name.
|
virtual |
Handler for pipe disconnected.
Implements winss::PipeClientConnectionListener.
References winss::ControlItem::name.
|
virtual |
Initializes the inbound control item.
Reimplemented from winss::ControlItem.
|
delete |
No copy.
|
delete |
No move.
|
virtual |
Handler for pipe connected.
Implements winss::PipeClientReceiveListener.
|
virtual |
Start waiting for inbound events.
Reimplemented from winss::ControlItem.