Fix missing entry in vtables
This commit is contained in:
parent
0326e1e36e
commit
259e74a658
2 changed files with 17 additions and 5 deletions
|
@ -16,12 +16,12 @@ int Communicator::getBufferSize()
|
|||
return this->bufferSize;
|
||||
}
|
||||
|
||||
int Communicator::calculateMessageOutSize(int numberOfValues)
|
||||
__SIZE_TYPE__ Communicator::calculateMessageOutSize(__SIZE_TYPE__ numberOfValues)
|
||||
{
|
||||
return numberOfValues + (numberOfValues - 1) + 1;
|
||||
}
|
||||
|
||||
void Communicator::parseIDs(int *values, int numberOfValues, char *output)
|
||||
void Communicator::parseIDs(int *values, __SIZE_TYPE__ numberOfValues, char *output)
|
||||
{
|
||||
__SIZE_TYPE__ outputSize = calculateMessageOutSize(numberOfValues);
|
||||
__SIZE_TYPE__ outputCharPointer = 0;
|
||||
|
@ -34,3 +34,15 @@ void Communicator::parseIDs(int *values, int numberOfValues, char *output)
|
|||
output[outputCharPointer++] = ',';
|
||||
}
|
||||
}
|
||||
|
||||
void Communicator::sendMessage(int *values, __SIZE_TYPE__ numberOfValues)
|
||||
{
|
||||
}
|
||||
void Communicator::sendMessage(char *message)
|
||||
{
|
||||
}
|
||||
|
||||
char *Communicator::receiveMessage()
|
||||
{
|
||||
return "";
|
||||
}
|
|
@ -6,11 +6,11 @@ private:
|
|||
|
||||
public:
|
||||
Communicator(__SIZE_TYPE__ bufferSize);
|
||||
virtual void sendMessage(int *values, int numberOfValues);
|
||||
virtual void sendMessage(int *values, __SIZE_TYPE__ numberOfValues);
|
||||
virtual void sendMessage(char *message);
|
||||
virtual char *receiveMessage();
|
||||
char *getBuffer();
|
||||
int getBufferSize();
|
||||
void parseIDs(int *values, int numberOfValues, char *out);
|
||||
int calculateMessageOutSize(int numberOfValues);
|
||||
void parseIDs(int *values, __SIZE_TYPE__ numberOfValues, char *out);
|
||||
__SIZE_TYPE__ calculateMessageOutSize(__SIZE_TYPE__ numberOfValues);
|
||||
};
|
Reference in a new issue