Changeset 10921


Ignore:
Timestamp:
06/07/11 22:16:51 (13 years ago)
Author:
tbretz
Message:
Added SendCommand taking a pointer and the size as argument.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/Dim.h

    r10712 r10921  
    5656        return DimClient::sendCommand(command.c_str(), (void*)&t, sizeof(t));
    5757    }
     58
     59    inline bool SendCommand(const std::string &command, const void *d, size_t s)
     60    {
     61        return DimClient::sendCommand(command.c_str(), const_cast<void*>(d), s);
     62    }
    5863}
    5964
Note: See TracChangeset for help on using the changeset viewer.