DataDirector API
Public Member Functions | List of all members
XplaneProducer Class Reference
Inheritance diagram for XplaneProducer:
ChunkProducer DDD_AttributeContainer DDD_Base DDD_AttributeObserver DDD_LogFacade

Public Member Functions

 XplaneProducer ()
 
virtual void ProcessMessage (unsigned char *msgBuf, unsigned int receivedLength)
 
- Public Member Functions inherited from ChunkProducer
 ChunkProducer ()
 
 ~ChunkProducer ()
 
virtual int BuildMessage (unsigned char *msgBuf, unsigned int maxMessageLength, unsigned int chunkNumber)
 
ChunkAttributeFindAttributeByName (std::string &name)
 
ChunkDescriptionFindChunkDescriptionByName (std::string &name)
 
void SetDebugMode (unsigned int debugMode)
 
void SetCheckForChangeBeforeUpdate (const bool value)
 
virtual void Start ()
 
- Public Member Functions inherited from DDD_Base
 DDD_Base ()
 
virtual ~DDD_Base ()
 
const char * GetInstanceName () const
 
virtual void SetInstanceName (const char *name)
 
virtual void SetParams (const DDD_AttributeList &params)
 
virtual DDD_AttributeListGetParams ()
 

Additional Inherited Members

- Static Public Member Functions inherited from ChunkProducer
static void Swap2 (unsigned char *val)
 
static void Swap4 (unsigned char *val)
 
static void Swap8 (unsigned char *val)
 
- Static Public Member Functions inherited from DDD_LogFacade
static void LogDebug (const char *format,...)
 
static void LogInfo (const char *format,...)
 
static void LogWarning (const char *format,...)
 
static void LogError (const char *format,...)
 
- Protected Member Functions inherited from ChunkProducer
void ReadBitfield (ChunkAttribute *attr, unsigned char *msgBuf)
 
void ReadInt (ChunkAttribute *attr, unsigned char *msgBuf)
 
void ReadUInt (ChunkAttribute *attr, unsigned char *msgBuf)
 
void ReadDouble (ChunkAttribute *attr, unsigned char *msgBuf)
 
void ReadBoolean (ChunkAttribute *attr, unsigned char *msgBuf)
 
void ReadString (ChunkAttribute *attr, unsigned char *msgBuf)
 
void ReadChunk (ChunkDescription *chunk, unsigned char *msgBuf, unsigned int receivedLen)
 
int WriteBitfield (ChunkAttribute *attr, unsigned char *msgBuf)
 
int WriteInt (ChunkAttribute *attr, unsigned char *msgBuf)
 
int WriteUInt (ChunkAttribute *attr, unsigned char *msgBuf)
 
int WriteDouble (ChunkAttribute *attr, unsigned char *msgBuf)
 
int WriteBoolean (ChunkAttribute *attr, unsigned char *msgBuf)
 
int WriteString (ChunkAttribute *attr, unsigned char *msgBuf)
 
int WriteChunk (ChunkDescription *chunk, unsigned char *msgBuf, unsigned int maxLen)
 
void PrintDebugInfo (unsigned char *msgBuf, unsigned int receivedLength)
 
virtual void OnAttributeChanged (DDD_AttributeBase *attribute)
 
- Protected Attributes inherited from ChunkProducer
unsigned int _packetCount
 
unsigned int _debugMode
 
bool _checkForChangeBeforeUpdate
 
- Protected Attributes inherited from DDD_Base
std::string _instanceName
 
DDD_AttributeList _params
 

Constructor & Destructor Documentation

Constructor

Member Function Documentation

virtual void ProcessMessage ( unsigned char *  msgBuf,
unsigned int  receivedLength 
)
virtual

Processes an inbound message, classifying it into chunks and then updating their associated attributes.

Parameters
msgBufA buffer containing a message
receivedLengthThe length of the received message

Reimplemented from ChunkProducer.


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