Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
TextMsgEvent Class ReferenceExtends EventBase to also include actual message text. More...
Inheritance diagram for TextMsgEvent:
Detailed DescriptionExtends EventBase to also include actual message text. Definition at line 8 of file TextMsgEvent.h.
Constructor & Destructor Documentation
Constructor, pass a text msg. Definition at line 14 of file TextMsgEvent.h. Member Function Documentation
allows a copy to be made of an event, supporting polymorphism Must be overridden by all subclasses to allow this to happen I would like to switch this over to the cloneable interface once the compiler gets updated out of the 3.3 branch... see Cloneable::clone() for a discussion of the issue and implementation notes. Reimplemented from EventBase. Definition at line 16 of file TextMsgEvent.h.
should return the minimum size needed if using binary format (i.e. not XML) Reimplemented from EventBase. Definition at line 17 of file TextMsgEvent.cc.
All subclasses should override this and return a unique ID for their class. All IDs corresponding to all-capital letters are reserved for future framework expansion. (Thus, user subclasses should contain at least one lower-case letter.) This code can be used when serializing to allow quick identification of the class type by the receiver. Reimplemented from EventBase. Definition at line 18 of file TextMsgEvent.h.
generates a description of the event with variable verbosity
Reimplemented from EventBase. Definition at line 8 of file TextMsgEvent.cc.
returns the text Definition at line 20 of file TextMsgEvent.h. Referenced by CameraBehavior::doEvent(), and MoCapLogger::gotTxtMsgSingle().
load from binary format Reimplemented from EventBase. Definition at line 29 of file TextMsgEvent.cc.
sets the text Definition at line 21 of file TextMsgEvent.h. Member Data Documentation
the unmodified arguments passed to the command Definition at line 32 of file TextMsgEvent.h. Referenced by getBinSize(), getDescription(), getText(), loadBinaryBuffer(), loadXML(), saveBinaryBuffer(), saveXML(), and setText().
causes class type id to automatically be regsitered with EventBase's FamilyFactory (getTypeRegistry()) Definition at line 35 of file TextMsgEvent.h. Referenced by getClassTypeID(). The documentation for this class was generated from the following files: |
Tekkotsu v5.1CVS |
Generated Mon May 9 04:59:17 2016 by Doxygen 1.6.3 |