mace::BinaryLogObject Class Reference

#include <BinaryLogObject.h>

Inheritance diagram for mace::BinaryLogObject:

Inheritance graph
[legend]
Collaboration diagram for mace::BinaryLogObject:

Collaboration graph
[legend]

List of all members.


Detailed Description

Defines a base class for all extensible binary logs for use with logreader.

Initially conceived as the generic base class for all "Dummy services", which are constructed along side each service, but without all the functionality, extra services, and such. It's primary purpose was to be able to take the serialized state for a service, and deserialize it into an object which was structured like a service. It is registered with the log reader class with a string that links the type of binary log to the mace::BinaryLogObject object which knows how to deserialize the data.

Now its use has been extended to supporting extensible binary logs other than services, as a generic mechanism for implementing new structured logs.

It derives from Serializable, so it can deserialize the log, and Printable, so the binary logreader can print the state once deserialized.

Definition at line 62 of file BinaryLogObject.h.


Public Member Functions

virtual const std::string & getLogType () const =0
 returns a unique short string - log type for including in binary log (e.g. "S" for string log)
virtual const std::string & getLogDescription () const =0
 returns a longer string description (e.g. "String" on string logs)

The documentation for this class was generated from the following file:

Generated on Sat Oct 4 21:30:36 2008 for Mace Library by  doxygen 1.5.5