|
cisst-saw
|
#include <prmEventButton.h>
Public Types | |
| enum | EventType { PRESSED , RELEASED , CLICKED , DOUBLE_CLICKED , UNDEFINED } |
| typedef mtsGenericObject | BaseType |
Public Member Functions | |
| prmEventButton () | |
| prmEventButton (const EventType &type) | |
| prmEventButton (const prmEventButton &other) | |
| virtual | ~prmEventButton () |
| prmEventButton & | operator= (const prmEventButton &other) |
| CMN_DECLARE_MEMBER_AND_ACCESSORS (EventType, Type) | |
| void | ToStream (std::ostream &outputStream) const override |
| void | ToStreamRaw (std::ostream &outputStream, const char delimiter=' ', bool headerOnly=false, const std::string &headerPrefix="") const override |
| void | SerializeRaw (std::ostream &outputStream) const override |
| void | DeSerializeRaw (std::istream &inputStream) override |
| Public Member Functions inherited from mtsGenericObject | |
| mtsGenericObject (void) | |
| mtsGenericObject (double timestamp, bool automaticTimestamp, bool valid) | |
| mtsGenericObject (const mtsGenericObject &other) | |
| virtual | ~mtsGenericObject (void) |
| mtsGenericObject & | operator= (const mtsGenericObject &other) |
| bool | SetTimestampIfAutomatic (double timestamp) |
| virtual bool | FromStreamRaw (std::istream &inputStream, const char delimiter=' ') |
| size_t | ScalarNumber (void) const |
| bool | ScalarNumberIsFixed (void) const |
| Public Member Functions inherited from cmnGenericObject | |
| virtual | ~cmnGenericObject (void) |
| virtual const cmnClassServicesBase * | Services (void) const =0 |
| bool | ReconstructFrom (const cmnGenericObject &other) |
| std::string | ToString (void) const |
| virtual cmnLogger::StreamBufType * | GetLogMultiplexer (void) const |
| virtual double | Scalar (const size_t CMN_UNUSED(index)) const CISST_THROW(std |
| virtual std::string | ScalarDescription (const size_t CMN_UNUSED(index), const std::string &CMN_UNUSED(userDescription)) const |
Button event payload
|
inline |
Default constructor
|
inline |
Constructor with all parameters.
|
inline |
Copy constructor
|
virtual |
Destructor
Set and Get methods for event type.
|
overridevirtual |
Binary deserialization
Reimplemented from mtsGenericObject.
|
inline |
Assignment operator
|
overridevirtual |
Binary serialization
Reimplemented from mtsGenericObject.
|
overridevirtual |
Overloaded ToStream
Reimplemented from mtsGenericObject.
|
overridevirtual |
To stream raw data.
Reimplemented from mtsGenericObject.