Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

class Geo::TerminalProvider

Inherit from this class to provide a specific tty command processing type.

Variables

NameDescription
ITerminalDelegate * m_pDelegate

The Terminal delegate.

ITerminalInputHandler * m_pInputHandler

The input handler.

ITerminalOutputHandler * m_pOutputHandler

The output handler.

Functions

NameDescription
~TerminalProvider()

(Destructor) Detach the Terminal

Attach(ITerminalDelegate *, ITerminalInputHandler *, ITerminalOutputHandler *)

Call with delegate, input and output handler to tie up to this Terminal command provider.

Detach()

Call when you've finished with the Terminal.

Poll()

Call to give the Terminal provider a chance to process commands.

SendConnected()

Send a connected event to the delegate.

SendDisconnected()

Send a disconnected event to the delegate.

TerminalProvider()

Default constructor just zeroes out the pointers.


Anchor
a9f51d761a8d591d9b7a72e38ea9c935f
a9f51d761a8d591d9b7a72e38ea9c935f

virtual Geo::TerminalProvider::~TerminalProvider

...

public: virtual ~TerminalProvider()

...

(Destructor) Detach the Terminal


Anchor
a8881bace47d43451c4ff06a03c0855f9
a8881bace47d43451c4ff06a03c0855f9

virtual void Geo::TerminalProvider::Attach

...

public: virtual void Attach
(
    ITerminalDelegate * pDelegate,
    ITerminalInputHandler * pInputHandler,
    ITerminalOutputHandler * pOutputHandler
)

...

Call with delegate, input and output handler to tie up to this Terminal command provider.


Anchor
a23f3c442f26b1d576a3a9f25d0bdd5dd
a23f3c442f26b1d576a3a9f25d0bdd5dd

virtual void Geo::TerminalProvider::Detach

...

public: virtual void Detach()

...

Call when you've finished with the Terminal.


Anchor
ac8cf92b030c9a1240396be7b73a7f6d1
ac8cf92b030c9a1240396be7b73a7f6d1

virtual void Geo::TerminalProvider::Poll

...

public: void Poll()

...

Call to give the Terminal provider a chance to process commands.


Anchor
a5f5ec03e04f3d586d3c4828bf988d2f3
a5f5ec03e04f3d586d3c4828bf988d2f3

void Geo::TerminalProvider::SendConnected

...

protected: void SendConnected()

...

Send a connected event to the delegate.


Anchor
a96a77896978552d3a3e76dd2df5f9695
a96a77896978552d3a3e76dd2df5f9695

void Geo::TerminalProvider::SendDisconnected

...

protected: void SendDisconnected()

...

Send a disconnected event to the delegate.


Anchor
a27034261501f688ffeace3087d6ad354
a27034261501f688ffeace3087d6ad354

Geo::TerminalProvider::TerminalProvider

...

public: TerminalProvider()

...

Default constructor just zeroes out the pointers.