git-svn-id: svn://db.shs.com.ru/pip@619 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -11,15 +11,14 @@ public:
|
||||
explicit PICAN(const PIString & path = PIString(), PIIODevice::DeviceMode mode = PIIODevice::ReadWrite);
|
||||
~PICAN() {}
|
||||
|
||||
void setCANID(int id);
|
||||
int CANID() const;
|
||||
|
||||
protected:
|
||||
bool openDevice();
|
||||
bool closeDevice();
|
||||
int readDevice(void * read_to, int max_size);
|
||||
int writeDevice(const void * data, int max_size);
|
||||
|
||||
void setCANID(int id);
|
||||
int CANID() const;
|
||||
|
||||
PIString fullPathPrefix() const {return PIStringAscii("can");}
|
||||
PIString constructFullPathDevice() const;
|
||||
void configureFromFullPathDevice(const PIString & full_path);
|
||||
|
||||
Reference in New Issue
Block a user