FACT++  1.0
EventDim Class Reference

Concerete implementation of an EventImp as a DimCommand. More...

#include <EventDim.h>

+ Inheritance diagram for EventDim:
+ Collaboration diagram for EventDim:

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 ()
 
EventImpAssignFunction (const std::function< int(const EventImp &)> &func=std::function< int(const EventImp &)>())
 
bool HasFunc () const
 
int ExecFunc () const
 
EventImpoperator() (const std::function< int(const EventImp &)> &func)
 
EventImpoperator() (const std::string str)
 
EventImpoperator() (const char *str)
 
EventImpoperator() (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 >
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
DimCommandgetCommand ()
 
virtual ~DimCommandHandler ()
 

Private Attributes

DimDescriptionServicefDescription
 

Additional Inherited Members

- Public Attributes inherited from DimCommand
DimCommandHandleritsCommandHandler
 
void * itsData
 
int itsSize
 
int secs
 
int millisecs
 
- Public Attributes inherited from DimCommandHandler
DimCommanditsCommand
 

Detailed Description

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.

Todo:
  • Add reference to DIM docu
  • improve docu

This is the implementation of an event which can be posted to a state machine via the DIM network.

Todo:
  • Add reference to DIM docu
  • improve docu

Definition at line 24 of file EventDim.h.


The documentation for this class was generated from the following file: