FACT++
1.0
|
Concerete implementation of an EventImp as a DimCommand. More...
#include <EventDim.h>
Public Member Functions | |
EventDim (const std::string &name, const std::string &format, DimCommandHandler *handler) | |
~EventDim () | |
void | SetDescription (const std::string &str) |
std::string | GetDescription () const |
std::string | GetName () const |
std::string | GetFormat () const |
const void * | GetData () const |
size_t | GetSize () const |
Time | GetTime () const |
Public Member Functions inherited from EventImp | |
EventImp () | |
Constructor. Stores the target state given. More... | |
EventImp (const EventImp &cmd) | |
Copy constructor. More... | |
virtual | ~EventImp () |
EventImp & | AssignFunction (const std::function< int(const EventImp &)> &func=std::function< int(const EventImp &)>()) |
bool | HasFunc () const |
int | ExecFunc () const |
EventImp & | operator() (const std::function< int(const EventImp &)> &func) |
EventImp & | operator() (const std::string str) |
EventImp & | operator() (const char *str) |
EventImp & | operator() (int state) |
virtual void | Print (std::ostream &out, bool strip=false) const |
virtual void | Print (bool strip=false) const |
void | AddAllowedState (int state) |
void | AddAllowedStates (const std::string &states) |
bool | IsStateAllowed (int state) const |
virtual int | GetQoS () const |
virtual bool | IsEmpty () const |
std::string | GetTimeAsStr (const char *fmt) const |
uint64_t | GetJavaDate () const |
template<typename T > | |
T | Get (size_t offset=0) const |
template<typename T > | |
const T * | Ptr (size_t offset=0) const |
template<typename T > | |
const T & | Ref (size_t offset=0) const |
const char * | GetText () const |
bool | GetBool () const |
int16_t | GetShort () const |
uint16_t | GetUShort () const |
int32_t | GetInt () const |
uint32_t | GetUInt () const |
int64_t | GetXtra () const |
uint64_t | GetUXtra () const |
float | GetFloat () const |
double | GetDouble () const |
std::vector< char > | GetVector () const |
std::string | GetString () const |
Public Member Functions inherited from DimCommand | |
DimCommand (const char *name, char *format) | |
DimCommand (const char *name, char *format, DimCommandHandler *handler) | |
DimCommand (DimServerDns *dns, const char *name, char *format) | |
DimCommand (DimServerDns *dns, const char *name, char *format, DimCommandHandler *handler) | |
DimCommand (const char *name, const char *format) | |
DimCommand (const char *name, const char *format, DimCommandHandler *handler) | |
DimCommand (DimServerDns *dns, const char *name, const char *format) | |
DimCommand (DimServerDns *dns, const char *name, const char *format, DimCommandHandler *handler) | |
int | getNext () |
int | hasNext () |
void * | getData () |
int | getInt () |
float | getFloat () |
double | getDouble () |
longlong | getLonglong () |
short | getShort () |
char * | getString () |
int | getSize () |
char * | getFormat () |
int | getTimestamp () |
int | getTimestampMillisecs () |
virtual void | commandHandler () |
char * | getName () |
virtual | ~DimCommand () |
Public Member Functions inherited from DimCommandHandler | |
DimCommand * | getCommand () |
virtual | ~DimCommandHandler () |
Private Attributes | |
DimDescriptionService * | fDescription |
Additional Inherited Members | |
Public Attributes inherited from DimCommand | |
DimCommandHandler * | itsCommandHandler |
void * | itsData |
int | itsSize |
int | secs |
int | millisecs |
Public Attributes inherited from DimCommandHandler | |
DimCommand * | itsCommand |
Concerete implementation of an EventImp as a DimCommand.
Implementation of an EventImp as a DimStampedInfo.
This is the implementation of an event which can be posted to a state machine via the DIM network.
This is the implementation of an event which can be posted to a state machine via the DIM network.
Definition at line 24 of file EventDim.h.