The IrcBot class can connect to a channel on an IRC network. Users on the same network can send messages to the bot that are parsed by message handlers. The included handlers read digital/analog inputs and write digital outputs or echo messages back to the command sender/channel. Users can write their own message handlers inheriting from the MessageHandler class to perform different actions.

Auto generated API documentation and code listings for IrcBot

Classes

AnalogInHandler AnalogInHandler lets users read a DigitalIn using "READ <name>"
DigitalInHandler DigitalInHandler lets users read a DigitalIn using "READ <name>"
DigitalOutHandler DigitalOutHandler lets users control a DigitalOut using "WRITE <name> ON/OFF"
EchoHandler A handler to echo back any messages of the form "ECHO <x>"
IrcBot IrcBot connects to an IRC network and joins a channel
IrcMessage IrcBot responds to commands on IRC using message users' handlers
MessageHandler Base MessageHandler class

Code

IrcBot.cpp [code]
IrcBot.h [code]
IrcMessageHandlers.cpp [code]
IrcMessageHandlers.h [code]