Added Buffer->Controller logging capabilities.

This commit is contained in:
Thulinma 2014-01-08 01:40:26 +01:00
parent ce5b99774d
commit d625e68c5f
4 changed files with 23 additions and 5 deletions

View file

@ -81,6 +81,8 @@ namespace Buffer {
bool parsePacket(std::string & buffer);
/// Thread-safe parsePacket override.
bool parsePacket(Socket::Connection & c);
/// Logs a message to the controller.
void Log(std::string type, std::string message);
DTSC::livePos getNext(DTSC::livePos & pos, std::set<int> & allowedTracks);
private:
void deletionCallback(DTSC::livePos deleting);