cisst-saw
|
#include <prmEventButton.h>
Public Types | |
enum | EventType { PRESSED, RELEASED, CLICKED, DOUBLE_CLICKED } |
typedef mtsGenericObject | BaseType |
Public Member Functions | |
prmEventButton () | |
prmEventButton (const EventType &type) | |
prmEventButton (const prmEventButton &other) | |
virtual | ~prmEventButton () |
virtual void | ToStream (std::ostream &outputStream) const |
void | ToStreamRaw (std::ostream &outputStream, const char delimiter= ' ', bool headerOnly=false, const std::string &headerPrefix="") const |
void | SerializeRaw (std::ostream &outputStream) const |
void | DeSerializeRaw (std::istream &inputStream) |
CMN_DECLARE_MEMBER_AND_ACCESSORS (EventType, Type) | |
![]() | |
mtsGenericObject (void) | |
mtsGenericObject (double timestamp, bool automaticTimestamp, bool valid) | |
mtsGenericObject (const mtsGenericObject &other) | |
virtual | ~mtsGenericObject (void) |
bool | SetTimestampIfAutomatic (double timestamp) |
virtual bool | FromStreamRaw (std::istream &inputStream, const char delimiter= ' ') |
size_t | ScalarNumber (void) const |
bool | ScalarNumberIsFixed (void) const |
double | Scalar (const size_t index) const throw (std::out_of_range) |
std::string | ScalarDescription (const size_t index, const std::string &userDescription="") const throw (std::out_of_range) |
![]() | |
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 throw (std::out_of_range) |
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
prmEventButton::CMN_DECLARE_MEMBER_AND_ACCESSORS | ( | EventType | , |
Type | |||
) |
Set and Get methods for event type.
|
virtual |
Binary deserialization
Reimplemented from mtsGenericObject.
|
virtual |
Binary serialization
Reimplemented from mtsGenericObject.
|
virtual |
Overloaded ToStream
Reimplemented from mtsGenericObject.
|
virtual |
To stream raw data.
Reimplemented from mtsGenericObject.