FACT++  1.0
Todo List
Class Configuration
Member Configuration::Parse (int argc, const char **argv, const std::function< void()> &func=std::function< void()>())
  • describe the exceptions
  • describe what happens in a more general way
  • print a waring when no default coonfig file is read
  • proper handling and error messages if files not available
Member Configuration::parse_database (const std::string &prgname, const std::string &database, const po::options_description &desc, bool allow_unregistered=false)
  • The exceptions handling should be improved.
  • The final database layout is missing in the description
  • Shell we allow options to be given more than once?
Class Connection
Unify with ConnectionUSB
Member Dim::GetLocalIp (const std::string &dns="10.0.100.1")
Implement a –host command line option (just in case)
Class DimNetwork
  • maybe the StateClient can be abondoned, this way it would be possible to subscribe to only available MESSAGE and STATE services
Class EventDim
  • Add reference to DIM docu
  • improve docu
  • Add reference to DIM docu
  • improve docu
Class EventImp
Add link to DIM format
Class MessageDimRX
Maybe it is not a good idea that MessageImp is a base class, maybe it should be a reference given in the constructor
Member ReadlineColor::PrintGeneralHelp (std::ostream &out, const std::string &name)
Get it up-to-date
Member ReadlineColor::PrintKeyBindings (std::ostream &out)
Update output
Member ReadlineWindow::CompletionDisplay (char **matches, int num, int max)
Maybe we can use rl_outstream here if we find a way to redirect the stream to us instead of a file.
Member ReadlineWindow::ReadlineWindow (const char *prgname)
Maybe we should add sanity check for fWindow==0 in the functions?
Member ReadlineWindow::Redisplay ()
fix docu
Class ServiceList
  • Resolve the dependancy on WindowLog, maybe we can issue the log-messages via MessageImp or we provide more general modfiers (loike in MLogManip)
  • Maybe we also get updates (+/-) on the SERVCIE_LIST?
  • check if we really need our own logging stream
  • Implement fType=="*"
Member ServiceList::ProcessServiceList (DimInfo &info)
Make sure that we do not receive +/- updates on the SERVICE_LIST like on the SERVER_LIST
Class Shell
  • Introduce the possibility to scroll in both windows
  • Add redisplay functionality for both panels if the console was resized
Member Shell::HandleResize ()
Maybe there are more efficient ways than to display the whole buffers
Class StateMachine
Do we really need to create Event-objects? Shouldn't we add a ProcessEvent function which takes an event as argument instead? Or something else which easily allows to add data to the events?
Member StateMachine::ProcessCommand (const std::string &str, const char *ptr, size_t siz)
  • Fix the exit when cmd is not of type EventImp
  • Do we need a possibility to suppress a call to "HandleEvent" or is a state<0 enough?
Class StateMachineDim
Proper support for versioning
Member StateMachineDim::commandHandler ()
  • Fix the exit when cmd is not of type EventImp
  • Fix docu
  • Do we need a possibility to suppress a call to "HandleEvent" or is a state<0 enough?
Member StateMachineDim::StateMachineDim (std::ostream &out=std::cout, const std::string &name="DEFAULT")
  • Shell the VERSION be set from the derived class?
Class StateMachineImp
  • A proper and correct cleanup after an EXIT or Stop() is missing. maybe we have to force a state 0 first?
Member StateMachineImp::PostEvent (const EventImp &evt)
  • Shell we check for the validity of a command at the current state, too?
  • should we also get the output stream as an argument here?
Member StateMachineImp::PostEvent (const EventImp &evt, const char *ptr, size_t siz)
  • Shell we check for the validity of a command at the current state, too?
  • should we also get the output stream as an argument here?
Member StateMachineImp::PushEvent (Event *cmd)
Can we also allow EventImp?
Member StateMachineImp::Run (bool dummy)
Fix docu (kSM_SetReady, HandleEvent)
File tools.cc
  • Resolve the dependancies with dim
  • Move code to a more appropriate place
  • put stuff in namespaces
Class WindowLog
improve docu
Member WindowLog::WriteBuffer ()
Truncate the backlog