33 #ifndef _CLI_IO_MUX_H_ 34 #define _CLI_IO_MUX_H_ 79 virtual void PutString(
const char*
const STR_Out)
const;
81 virtual void Beep(
void)
const;
124 IODevice*
const CheckCurrentDevice(
void)
const;
128 const bool ReleaseFirstDevice(
void);
132 mutable tk::Queue<IODevice*> m_qDevices;
137 #endif // _CLI_IO_MUX_H_ virtual const ResourceString GetLocation(void) const
Input location accessor.
const IODevice *const GetCurrentDevice(void) const
Current device accessor.
Main namespace of the CLI library.
virtual void Beep(void) const
Beep handler.
virtual IODevice *const CreateDevice(void)
Method called when an input / output device is needed.
const IODevice *const SwitchNextDevice(void)
Switch to next device.
#define CLI_NS_END(__ns)
End a namespace definition.
virtual const bool WouldInput(const IODevice &CLI_Device) const
Stack overflow protection.
virtual const KEY GetKey(void) const
Input key capture handler.
const bool ResetDeviceList(void)
Reset device list.
const bool AddDevice(IODevice *const PCLI_Device)
Device addition in the list.
virtual ~IOMux(void)
Destructor.
#define CLI_NS_BEGIN(__ns)
Begin a namespace definition.
virtual void CleanScreen(void) const
Clean screen.
OutputDevice, IODevice and IOEndl classes defintion.
virtual const bool CloseDevice(void)
Device closure handler.
Input / output device multiplexer.
Generic input/output device.
virtual const bool OpenDevice(void)
Device opening handler.
virtual const bool WouldOutput(const OutputDevice &CLI_Device) const
Stack overflow protection.
virtual void PutString(const char *const STR_Out) const
Output handler.