1 / 15

LBTO Common Software

LBTO Common Software. August 15, 2006 Chris Biddick. 1 cjb. Introduction. Common software elements: CommandReturn CommandSequencer Core DataDictionary (*) EventHandler (*) NetworkConfig ReflectiveMemory (*) RPC SetValue (*) TelemetryClient Reference document: 481s501

tessa
Download Presentation

LBTO Common Software

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. LBTO Common Software August 15, 2006 Chris Biddick 1 cjb

  2. Introduction • Common software elements: • CommandReturn • CommandSequencer • Core • DataDictionary (*) • EventHandler (*) • NetworkConfig • ReflectiveMemory (*) • RPC • SetValue (*) • TelemetryClient • Reference document: 481s501 (*) data dictionary 2 cjb

  3. CommandReturn • Standard return object for client commands • Indicates success or failure • May contain • Strings • Other CommandReturn objects • Event descriptions • Serialized object (XML) is returned 3 cjb

  4. CommandSequencer • Commands from client to subsystem • Layer above lower level RPC • Supports • Status of command • Block on command • Results of command • Subsystem reference 481s008 4 cjb

  5. Core • ArgumentList • Used to pass arguments from client to subsystem • BitArray • Supports arrays of packed bits and bit fields • Configuration • Reads parameters from LBT.conf 5 cjb

  6. Core (cont) • Conversions • Provides unit conversions • LoadMonitor • Used when starting subsystems • Shm • Supports access to shared memory segments • Socket • Socket support 6 cjb

  7. Core (cont) • Signal • Simple signal handling • Synchronization (IMutex, MsgQueue, PMutex, Semaphore) • Provides mutexes, semaphores and condition synchronization • SysLog • syslog support 7 cjb

  8. Core (cont) • System • Gets IP addresses and PIDs • SystemClock • Get time, MJD, calendar time; do delays • Thread • Support for POSIX threads in TCS context • XML support • Xerces based XML parsing 8 cjb

  9. DataDictionary • Supports reflective memory and events • Writing (ddsconfig) and reading binary definition files 9 cjb

  10. EventHandler • Event class • Logs events to local flat file • Interfaces with the LSS 10 cjb

  11. NetworkConfig • Handles starting/stopping TCS networks and subsystems • netconfig • networkserver 11 cjb

  12. ReflectiveMemory • Reflective memory network support • gshmconfig • gshmserver 12 cjb

  13. RPC • Underlying layer for all TCS communications • rpcconfig • rpcserver • RPC class 13 cjb

  14. SetValue • Reads and writes from/to reflective memory • Gtype class • SetValueInterface class • Provides reflective memory write protection • Only owning subsystem may write its memory • Metadata retrieval 14 cjb

  15. TelemetryClient • Hook for subsystems to interface to the TEL subsystem • startStream 15 cjb

More Related