winss
|
Outbound control item. More...
#include <control.hpp>
Public Member Functions | |
OutboundControlItem (winss::NotOwningPtr< WaitMultiplexer > multiplexer, winss::NotOwningPtr< Control > control, winss::NotOwningPtr< winss::OutboundPipeClient > client, const std::vector< char > &commands, std::string name) | |
OutboundControlItem (const OutboundControlItem &)=delete | |
No copy. More... | |
OutboundControlItem (OutboundControlItem &&)=delete | |
No move. More... | |
void | Init () |
Initializes the outbound control item. More... | |
void | Start () |
Send the control sequence. More... | |
bool | Completed () const |
Gets of the control item has completed sending the control sequence. More... | |
bool | Connected () |
Handler for pipe connected. More... | |
bool | WriteComplete () |
Handler for pipe write complete. More... | |
bool | Disconnected () |
Handler for pipe disconnected. More... | |
OutboundControlItem & | operator= (const OutboundControlItem &)=delete |
No copy. More... | |
OutboundControlItem & | operator= (OutboundControlItem &&)=delete |
No move. More... | |
![]() | |
virtual const std::string & | GetName () const |
Gets the name of the control item. More... | |
virtual | ~ControlItem () |
Default destructor. More... | |
![]() | |
virtual | ~PipeClientSendListener () |
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... | |
Outbound control item.
Will send a control sequence over a pipe.
winss::OutboundControlItem::OutboundControlItem | ( | winss::NotOwningPtr< WaitMultiplexer > | multiplexer, |
winss::NotOwningPtr< Control > | control, | ||
winss::NotOwningPtr< winss::OutboundPipeClient > | client, | ||
const std::vector< char > & | commands, | ||
std::string | name | ||
) |
|
delete |
No copy.
|
delete |
No move.
|
virtual |
Gets of the control item has completed sending the control sequence.
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 outbound control item.
Reimplemented from winss::ControlItem.
|
delete |
No copy.
|
delete |
No move.
|
virtual |
Send the control sequence.
Reimplemented from winss::ControlItem.
|
virtual |